chandrababun wrote:The SQL statement EXECUTE IMMEDIATE causes an SQL statement to prepare and execute, dynamically, at run time. The EXECUTE IMMEDIATE statement must be placed in the PROCEDURE DIVISION.
Unless, of course, one is using PL/I, Rexx, C/370, Java, or some language other than COBOL.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day