It's possible to cause the Ventyx pre compiler (dfora8tran) to fail by using
EXEC CICS LINK PROGRAM (PGM-NAME)
COMMAREA(DATE-COMMAREA)
END-EXEC
Specific case occured with program containing
EXEC SQL SET :TIME-STAMP-DB2 = CURRENT TIMESTAMP END-EXEC.
Program was compiled in an environment using the Oracle database and the Ventyx pre compiler that changes DB2 SQL to Oracle SQL failed to properly replace the code. After a lengthly debugging process it was found that the EXEC CICS LINK PROGRAM was the culprit even though it was in a different COBOL paragraph.
Cause Ventyx pre compiler to fail
It's possible to cause the Ventyx pre compiler (dfora8tran) to fail by using
EXEC CICS LINK PROGRAM (PGM-NAME)
COMMAREA(DATE-COMMAREA)
END-EXEC
Specific case occured with program containing
EXEC SQL SET :TIME-STAMP-DB2 = CURRENT TIMESTAMP END-EXEC.
Program was compiled in an environment using the Oracle database and the Ventyx pre compiler that changes DB2 SQL to Oracle SQL failed to properly replace the code. After a lengthly debugging process it was found that the EXEC CICS LINK PROGRAM was the culprit even though it was in a different COBOL paragraph.