I4GL ERROR...
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
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--
Sandip Samanta <ssamanta@in.dhl.com> 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-- > Maybe compiling with -globcurs will help. It will make cursor-definitions global to Your whole program. Another possibility which maybe help is to change the names of the involved cursors and dynamic SQL-statements. This a solution which worked fine for me. That Your errors occur in lines You don't find in Your sources is, because of a 4GL-Source-Code is compiled in different phases, where one of it changes the orginal source to an embedded SQL-C-code. wolfgang