Re: Compile Errors with I4GL version 6.05 UD5
Posted in 1998
In article <6tbr3u$k5b$1@news.xmission.com>, Matthew Prokop <Matthew_Prokop@jonesday.com> writes > > > > >We've upgraded from 7.24 UC1 to 7.24 UC5, and it was recommended by >Informix to do the I4GL upgrade from 6.05 UD2 to 6.05 UD5 so that it would >work properly with the engine. Since doing so, source code isn't working >correctly as described in the following examples. Basically, the double >"||" pipe symbols aren't correctly appearing in the code's output. The >programmer was then told to try compiling on the old version (6.05 UD2) >which did work correctly on 7.24 UC5 of the engine. Does anyone have any >ideas? Also, we occasionally receive errors outlined in number 4 below, >but not always. > >Thanks in advance for any insight! > >Matt Prokop > > >1. EXCERPT FROM STORED PROGRAM SOURCE CODE (sample output lines: all >output lines in program have two pipe delimiters at end of df_xdummy >variable definition) > >WHEN 2 ># same timekeeper/new date combo; print detail only > > IF xdolsave != 0 THEN > LET df_xdummy = datesave USING "MM/DD/YY", "|", tksave CLIPPED, >"|", > hrssave USING "((,((#.&&)", "|", ratesave USING "(((#)", "|", >xdolsave USING "(( > ((,((#.&&)", "|", descsave CLIPPED, "||" > ELSE > LET df_xdummy = datesave USING "MM/DD/YY", "|", tksave CLIPPED, >"|", > hrssave USING "((,((#.&&)", "|", ratesave USING "(((#)", "|", >ydol, "|", descsave CLIPPED, "||" > END IF > I assumme that df_dummy is defined as CHAR(n). Try defining it as CHAR(32000). Maybe the variable is too small. you have compiled with the -anyerr flag haven't you? Have > >2. OUTPUT of stored program using OLD INFORMIX VERSION (CORRECT output >with two "|" delimiters at the end of each output line: > >[LOOP2_STORPROG_CDSDS] >06/08/98|B J SPRINGER| .25 | 275 | 68.75 |Conference with Carls >regard >ing rebuttal and information requested by Examiner.|| ><--------------------------- pipe delimeter correct. >06/10/98|B J SPRINGER| .50 | 275 | 137.50 |Review of draft >testimony an >d summary regarding site remediation; conference with Carls.|| ><--------------------------- pipe delimeter correct. >06/11/98|B J SPRINGER| 3.00 | 275 | 825.00 |Review of draft >rebuttal, su >mmary of site remediation status, material from past cases regarding site >remedi >ation, Griffy testimony and ICC Orders cited by Griffy; preparation of >revised s >ummary; conferences with Carls regarding rebuttal and summary.|| ><--------------------------- pipe delimeter correct. > > >3. OUTPUT of stored prgram using NEW Informix version (certain output >lines do NOT end with two "|" delimiters: > >OUTPUT of stored program using new Informix version: > >[LOOP2_STORPROG_CDSDS] >06/08/98|B J SPRINGER| .25 | 275 | 68.75 |Conference with Carls >regard >ing rebuttal and information requested by Examiner. ><--------------------------- pipe delimeter didn't show up here! >06/10/98|B J SPRINGER| .50 | 275 | 137.50 |Review of draft >testimony an >d summary regarding site remediation; conference with Carls.|| >06/11/98|B J SPRINGER| 3.00 | 275 | 825.00 |Review of draft >rebuttal, su >mmary of site remediation status, material from past cases regarding site >remedi >ation, Griffy testimony and ICC Orders cited by Griffy; preparation of >revised s >ummary; conferences with Carls regarding rebuttal and summary.|| > > >4. COMPILE ERRORS RECEIVED OCCASIONALLY (not consistently) > >hpdev: proforma.link >Compiling ELBS 2.3 for FMS 4.2!!!! >Custom directory for bill/proforma stored programs: /elite/custom >recompiling /elite/custom/bill_cust.4gl >cc: "bill_cust.ec", line 65539: error 1000: Unexpected symbol: "/". Compile with c4gl -keep and look and the resulting .ec file. Make sure you are not running out of space in /tmp or where the .ec file is produced. >cc: "bill_cust.ec", line 65539: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65543: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65543: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65547: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65547: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65551: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65551: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65557: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65557: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65564: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65564: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65571: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65571: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65575: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65575: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65579: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65579: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65583: error 1000: Unexpected symbol: "/". >cc: "bill_cust.ec", line 65583: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65585: error 1000: Unexpected symbol: ";". >cc: "bill_cust.ec", line 65587: error 1004: Unexpected end of line. >cc: "bill_cust.ec", line 65557: error 1521: Incorrect initialization. >cc: "bill_cust.ec", line 65579: error 1549: Modifiable lvalue required for >assig >nment operator. >cc: "bill_cust.ec", line 65583: error 1549: Modifiable lvalue required for >assig >nment operator. >rm: /elite/custom/bill_cust.ec non-existent >rm: /elite/custom/bill_cust.c non-existent >setting FGLLINKER=c4gl -o > > -- David Williams Maintainer of the Informix FAQ Primary site (Beta Version) http://www.smooth1.demon.co.uk Official site http://www.iiug.org/techinfo/faq/faq_top.html I see you standin', Standin' on your own, It's such a lonely place for you, For you to be If you need a shoulder, Or if you need a friend, I'll be here standing, Until the bitter end... So don't chastise me Or think I, I mean you harm... All I ever wanted Was for you To know that I care