> I am using IDS 7.30, esqc 7.2x on Solaris 2.5.1.
> I downloaded your programe from iiug.org site. I
> tried to compile dbcopy.ec and myschema.ec both gave
> me syntax errors. I ran
> esql -o dbcopy dbcopy.ec
> Is any thing wrong in my command or something else i
Is it possible that you do not have the Solaris Development Kit
installed? Solaris comes with a brain dead C compiler by default which
is only useful for linking a new kernel. Also if you are using GCC,
which is common since it tends to be better that the Solaris SDK
compiler anyway, know that the esql script uses cc by default. You
either have to change the $INFORMIXDIR/bin/esql script or export the
environment variable INFORMIXC=gcc to make it use gcc. I think that
this is your problem because I just tried it again and had no problems
compiling on Solaris using gcc.
Art S. Kagel