Re: I4GL ERROR...
Posted in 2000
Wolfgang hit it. The problem is that in your old 4GL version the cursors were global, in newer 4Gl versions, including 7.20, cursor names have file scope. To accomplish this explicit and implicit cursor names have the file name appended to them. Sometimes this causes the names to become too long. You have two options, as Wolfgang said, compile with -globcurs or manually shorten the cursor names or source file names. If the flagged names are not explicit cursor or statement names you may be compiling intermediate .ec and .c files created during an older compile session. Try removing all .ec and .c source files that have a corresponding .4gl source file and compile again. Art S. Kagel Sandip Samanta wrote: > > This is a multi-part message in MIME format. > --------------67CF98EB421E1848C2207681 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Hi Guru, > > I am facing a strange problem in one of my old program. The program was > copiled in I4GL 6.20 version. Now when I am trying to recompile it in > I4GL 7.20 version then I am getting below error. Pls let me know what is > the actual problem. I had tried to compile it from i4gl menu. My source > code programe total line is 1673. But the below error is showing more > line. > > |esqlc: "test.ec", line 2476: Warning -33065: Cursor/statement id > 'I00014CB0_08F > 67262' is too long when prefixed by module name. > |esqlc: "test.ec", line 2533: Warning -33065: Cursor/statement id > 'I00014CB0_08F > 67262' is too long when prefixed by module name. > |esqlc: "test.ec", line 2543: Warning -33065: Cursor/statement id > 'I00014CB0_08F > 67262' is too long when prefixed by module name. > |esqlc: "test.ec", line 2626: Warning -33065: Cursor/statement id > 'I00014CB0_08F > 67262' is too long when prefixed by module name. > |esqlc: "test.ec", line 2655: Error -33066: Cursor/statement ids > 'I00014CB0_08F6 > 7D62' and 'I00014CB0_08F67262' are not unique in first 128 characters > when p > |refixed by module name. > > Our Informix 4GL version is 7.20.UE1. Informix Dynamic Server version is > 7.30.UC8 and all are running HP-UX 10.20 platform. > > Regards. > > Sandip Samanta. > > --------------67CF98EB421E1848C2207681 > Content-Type: text/x-vcard; charset=us-ascii; > name="ssamanta.vcf" > Content-Transfer-Encoding: 7bit > Content-Description: Card for Sandip Samanta > Content-Disposition: attachment; > filename="ssamanta.vcf" > > begin:vcard > n:Samanta;Sandip > tel;pager:9610-614981 > tel;home:(91)-(033)-5851517/5858603 > tel;work:(91)-(033)-2824536 > x-mozilla-html:FALSE > org:DHL WORLDWIDE EXPRESS;DHL IT - EAST INDIA > version:2.1 > email;internet:ssamnata@in.dhl.com > title:System Administrator > adr;quoted-printable:;;8 CAMAC STREET,=0D=0ASantiniketan Building.=0D=0ACalcutta.;Calcutta;West Bengal;7000017;India > fn:Sandip Samanta > end:vcard > > --------------67CF98EB421E1848C2207681--