Path: utzoo!utgpu!watserv1!watmath!att!rutgers!uwvax!ai.cs.wisc.edu!beverly From: beverly@ai.cs.wisc.edu (Beverly Seavey (-Kung)) Newsgroups: comp.databases Subject: need help with INGRES ESQLC inquire_ingres stmt Message-ID: <11116@spool.cs.wisc.edu> Date: 31 Aug 90 15:19:14 GMT Sender: news@spool.cs.wisc.edu Organization: U of Wisconsin CS Dept Lines: 21 In an ESLQC (SQL embedded in C) program I was getting an error on a select (control was transferred as a result of a EXEC SQL WHENEVER ERROR GOTO... statement, to a diagnostic statement) so I added a couple of lines: EXEC SQL INQUIRE_INGRES (:error_buf = ERRORTEXT); printf (\nSQL Error:\n %s\n", error_buf); After adding these 2 lines I can no longer preprocess, I get an error msg: Error #19141 : (Syntax) Syntax error on "(". I copied the 2 lines out of version 6 documentation, though we are running some version 5. I have included the SQLCA #include. Any insights as to what is wrong? .