utils2_ak problem
Posted in 2008
I just went to compile the utils2_ak programs to support the use of
myexport. I got a strange error in the myschema stuff. It seems to be
complaining about the use of the backslash on the quotes around the word
Informix. This is pretty standard stuff. I included both the error, the code
below and the esql error message. The code looks right to me?.
I welcome any thoughts. Thanks...
,,,Tim
INFORMIXC=gcc esql -O3 -c print_procedures.ecesqlc: "print_procedures.ec", line 243: Error -33051: Syntax error on
identifier or symbol '\\\\"informix\\\\"'.
1 error(s) found
make[1]: *** [print_procedures.o] Error 1
make[1]: Leaving directory `/informix/iiug-utils/myschema.d'
cp: cannot access myschema
make: *** [myschema] Error 2
------------------------------------------------------------
FROM print_procedures.ec : line 243: (looks right to me?!)
EXEC SQL PREPARE s_atext FROM
"SELECT *, FROM \\\\"informix\\\\".sysprocbody \\\\
WHERE procid = ? AND datakey = 'A' \\\\
ORDER BY 1,2,3";
--------------------------------------------------------
ESQL message:
-33051 Syntax error on identifier or symbol symbol-name.
An error in syntax was found at or near symbol-name. Check the IBM Informix
Guide to SQL: Syntax for the proper use of identifiers and the
appropriate embedded-language manual for the proper use of other
symbols.
-------------------------------------------------------------
CSDK version 3.00.FC3 (supplied with the Informix download)
Gcc 3.4.6
Gmake 3.81
Informix 11.10.FC2