error compiling ARRAY OF RECORD variables

Eddie <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGJaks=Dj8N16gXS_zMdzcNWsEgcjMNzz2XBoKBWRtEdmprQ8Q@mail.gmail.com>
How can I troubleshoot this:


4glc -c globals.4gl
Error compiling globals.4gl - check globals.err


gives this error



   w_especizm           ARRAY[500] OF RECORD
                        ecodigo LIKE claimsdb@claims_engine_tcp
:especial.ecodigo,
|______________________________________________________________________________^
| Error at line 753, character 80
| claimsdb@claims_engine_tcp:especial.(null).especial does not exist in the
database (ecodigo)
                        edescripcion LIKE claimsdb@claims_engine_tcp
:especial.edescripcion
                        END RECORD,



informix c4gl compiles this without error. I have 2 servers and some
programs run queries across servers/databases. If I comment that ARRAY it
fails in the next ARRAY definition involving fields from the remote server



dbschema -d claimsdb -t especial

DBSCHEMA Schema Utility       INFORMIX-SQL Version 11.70.FC4GE







{ TABLE "root".especial row size = 56 number of columns = 6 index size = 18
}
create table "root".especial
  (
    ecodigo char(2),
    edescripcion char(30),
    ecostof money(10,2),
    ecostoh money(10,2),
    evisita money(10,2),
    svisita money(10,2)
  );

revoke all on "root".especial from "public" as "root";


create unique index "root".ix125_1 on "root".especial (ecodigo)
    using btree ;
create index "root".ix180_3 on "root".especial (ecostof) using
    btree ;

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.