Hello J�rg, SAP DB 7.4 does not longer know the 'SELECT DIRECT' command, (see http://www.sapdb.org/7.4/htmhelp/40/1311fd2fa511d3a98100a0c9449261/content.htm ),
whereas the former version 7.3 (also available at www.sapdb.org) has still knowledge of it (see http://www.sapdb.org/htmhelp/40/1312002fa511d3a98100a0c9449261/content.htm ). You might either give version 7.3 a try (although it was released/tested for AIX 4.3.2, I cannot say how/whether it will work under AIX 5.1), or you have to rewrite your statements into normal SELECT INTO statements. Sorry for any inconvenience caused Alexander Schr�der SAP DB, SAP Labs Berlin > -----Original Message----- > From: J�rg Hornstein [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 4:51 PM > To: [EMAIL PROTECTED] > Subject: cpc under AIX 5 (-3014 Invalid end of SQL statement) > > > > hi, > I want to migrate an C-Application from Adabas D V12 to SAPDB 7.4.3.17 > when I use cpc under Linux (Suse 8.2), the cpc-precompiler > runs (nearly) > well > when I do the same under AIX (5.1 in 64Bit-Mode), it looks like all > esql-modules with > <select_ordered_statement>'s are ended with -3014 > Example: > === > EXEC SQL > SELECT DIRECT !tv_men > INTO :tv_men :i_tv_men > FROM GENERAL.tv_men > KEY AUSWAHL = :tv_men.auswahl > ; > --- > *** KERNEL ERROR : -3014 Invalid end of SQL statement > === > > What's wrong? > > Greetings > > J�rg Hornstein > > _______________________________________________ > sapdb.general mailing list > [EMAIL PROTECTED] > http://listserv.sap.com/mailman/listinfo/sapdb.general > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
