Envoyé par Deallyra
Et pourtant, dans la documentation :
Citation:
Each of these SQL statements begins with EXEC SQL and ends with END-EXEC. The SQL statement itself is between the EXEC and END-EXEC. The SQL statements may not be streamed together; each must have its own EXEC and END-EXEC.
Some Cobol systems use a pre-compiler to compile the Cobol with SQL code into plain Cobol code, where the Cobol code may have certain calls out to system functions to perform the SQL operations. Rather than using a separate pre-compiler, PERCobol supports embedded SQL directly, compiling it to support JDBC code.