Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

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

la46 (Programmer) (OP)
6 Jun 06 12:52
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.
olded (Programmer)
6 Jun 06 15:35
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?
la46 (Programmer) (OP)
8 Jun 06 6:14
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.
la46 (Programmer) (OP)
15 Jun 06 13:32
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
.
mishradd (Programmer)
21 Jun 06 0:03
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
la46 (Programmer) (OP)
26 Jun 06 11:51
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!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close