home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!emory!redriverad-emh1.army.mil!Cheryl
- From: Cheryl@redriverad-emh1.army.mil
- Newsgroups: comp.databases.informix
- Subject: Conversion from 2.10 SE Informix to 4.1 and ESQLC
- Message-ID: <9442@emory.mathcs.emory.edu>
- Date: 1 Sep 92 23:03:06 GMT
- Sender: walt@mathcs.emory.edu
- Reply-To: Cheryl@redriverad-emh1.army.mil
- Lines: 54
- X-Informix-List-ID: <list.1419>
-
- We are having some problems with converting some ESQL/C programs from
- our old Informix to the new 4.1 version.
-
- We were using 2.10 SE Informix on the PLEXUS Unix 5.2 Systems and
- our code ran fine. Now we are attempting to convert to a 600G AT&T
- running Unix 5.3 and 4.1 SE Informix.
-
- We are having some problems with defined variables.
-
- Here is a piece of our code:
-
- $ select pres_rmks2 into $p_rmks2_in from new_stkno where
- n_stkno = $stkno_input;
-
- The variable $p_rmks2_in is defined above main.
- as:
- $ p_rmks2_in[71];
-
- (This works in 2.1 on the Plexus Unix 5.2 system)
-
- Yet when trying to compile we get this error.
-
- esqlc: file program.ec, line ????: Host object 'p_rmks2_in' not declared
-
- If the program compiles the program will run, acts like nothing is wrong
- but will not put the data in the form or database as the .ec program did
- on the old system.
-
- We are using .per's with calls to the ESQL/C functions and pf_getval
- and pf_putval. Can't we still do this in 4.1? Please don't tell us
- to use 4GL. We have so many programs and so few people and time that
- we must LIVE with what we have (at least we thing we do) until we can
- learn to SPEAK 4GL fluently.
-
- Has anyone experienced anything like this? What are we doing wrong?
- We have A LOT of programs with this type of code (2.10 running good) on
- our old systems. We are in a conversion to the new systems and must
- migrate SOON.
-
- We have called informix Case # 181835 and haven't heard back from them
- yet. Hopefully if NO one out there has an answer Informix will have it
- in the morning.
-
- Would appreciate any information.
-
- Thanks in advance,
-
- Cheryl Gross
- Red River Army Depot
- Texarkana, Texas
- (903) 334-3518
- 334-3822
-
-
-