home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / informix / 1854 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  2.0 KB

  1. Path: sparky!uunet!gatech!emory!redriverad-emh1.army.mil!Cheryl
  2. From: Cheryl@redriverad-emh1.army.mil
  3. Newsgroups: comp.databases.informix
  4. Subject: Conversion from 2.10 SE Informix to 4.1 and ESQLC
  5. Message-ID: <9442@emory.mathcs.emory.edu>
  6. Date: 1 Sep 92 23:03:06 GMT
  7. Sender: walt@mathcs.emory.edu
  8. Reply-To: Cheryl@redriverad-emh1.army.mil
  9. Lines: 54
  10. X-Informix-List-ID: <list.1419>
  11.  
  12. We are having some problems with converting some ESQL/C programs from
  13. our old Informix to the new 4.1 version.
  14.  
  15. We were using 2.10 SE Informix on the PLEXUS Unix 5.2 Systems and
  16. our code ran fine.  Now we are attempting to convert to a 600G AT&T
  17. running Unix 5.3 and 4.1 SE Informix.  
  18.  
  19. We are having some problems with defined variables.
  20.  
  21. Here is a piece of our code:
  22.  
  23. $ select pres_rmks2 into $p_rmks2_in from new_stkno where
  24.    n_stkno = $stkno_input;
  25.  
  26. The variable $p_rmks2_in is defined above main. 
  27. as:
  28. $ p_rmks2_in[71];
  29.  
  30. (This works in 2.1 on the Plexus Unix 5.2 system)
  31.  
  32. Yet when trying to compile we get this error.
  33.  
  34. esqlc: file program.ec, line ????: Host object 'p_rmks2_in' not declared
  35.  
  36. If the program compiles the program will run, acts like nothing is wrong
  37. but will  not put the data in the form or database as the .ec program did
  38. on the old system.
  39.  
  40. We are using .per's with calls to the ESQL/C functions and pf_getval
  41. and pf_putval.  Can't we still do this in 4.1?  Please don't tell us
  42. to use 4GL.  We have so many programs and so few people and time that
  43. we must LIVE with what we have (at least we thing we do) until we can
  44. learn to SPEAK 4GL fluently.
  45.  
  46. Has anyone experienced anything like this?  What are we doing wrong?
  47. We have A LOT of programs with this type of code (2.10 running good) on
  48. our old systems.  We are in a conversion to the new systems and must
  49. migrate SOON.  
  50.  
  51. We have called informix Case # 181835 and haven't heard back from them
  52. yet. Hopefully if NO one out there has an answer Informix will have it 
  53. in the morning.
  54.  
  55. Would appreciate any information.
  56.  
  57. Thanks in advance,
  58.  
  59. Cheryl Gross
  60. Red River Army Depot
  61. Texarkana, Texas
  62. (903) 334-3518
  63.       334-3822
  64.  
  65.  
  66.