Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem when compliling a 4gl code from Informix SE to Informix Online

Status
Not open for further replies.

la46

Programmer
Mar 15, 2004
26
MA
Hi everyBody,
I have an application runing under Informix SE, i want to pass to Informix Online.
When i run my '.mak' file containning all the source i need the compilation succeed and i get my '.4ge'.
But when passing to the prodution server the '.4ge' obtained do not RUN. The ErRor message is:
--------
Program stopped at "main1.4gl", line number 4.
4GL run-time error number -25588.
The appl process cannot connect to Dynamic server cs_01.
--------
I thaught it was because of the number of licences, but i was the only user and i had compilled some runnable modules they work.
I think it 's because of the linking(when i use to file in my '.mak' i do not run)!
Any idea?
Thanks a lot.
 
Here is a description of the error:

Code:
-25588  The appl process cannot connect to the database server server-name.

An error in the application can produce this message. Check your CONNECT statement and the sqlhosts file. A system failure can also produce this message. If you can find no immediate cause for the failure, note the circumstances and contact your database server administrator for assistance.

The shared memory communication subsystem is down or not functioning. Contact the database server administrator to report the problem.

For some reason, you can not connect to the database. I don't mean to elaborate on the obvious, but have you looked at line 4?
 
Hi olded and every Body,
For sure i 've looked there! I found that in the 'globals.4gl' there is many records declared like this:

define rec1 ARRAY[32000] OF RECORD Like table1.*
define rec2 ARRAY[2000] OF RECORD Like table2.*
define rec3 ARRAY[32000] OF RECORD Like table3.*
...

I took the same 'globals.4gl' without all these records but with one another file, It works! But when using that modified 'globals.4gl' with all others files it does not!
Any idea?
( IN the line 4 there the word 'main':
1-globals "globals.4gl"
2-
3-
4-MAIN
...
)

Thanks a lot.
 
HI all,
One another thing is that in the development environment we use IDS 9. But in the production we use 7.3;
Is any thing related to that?
Best regards
.
 
Hi

is your gloabls file having connect statement before declaring these variables.
define rec1 ARRAY[32000] OF RECORD Like table1.*
define rec2 ARRAY[2000] OF RECORD Like table2.*
define rec3 ARRAY[32000] OF RECORD Like table3.*

"DATABASE database_name"

Regards
 
Hi,
My "globals.4gl" is like this:
----------
DATABASE db_name
globals
DEFINE r_organ RECORD LIKE organ.*
define rec1 ARRAY[32000] OF RECORD Like table1.*
define rec2 ARRAY[2000] OF RECORD Like table2.*
define rec3 ARRAY[32000] OF RECORD Like table3.*
...
END GLOBALS
----------
THaNks FOr ANy Help!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top