We have installed:
Ca Datacom/DB R14SP0.
CA IDEAL R14SP0
CA IPC R14SP0
CA CICS Services Facility R14SP0
z/OS V1.13
COBOL V5.2
when compiled with COBOL 4.2 and Datacom, the compilation is successful, but when used COBOL v5.2, this ends with CC12.
I´m sending the joblog that have the error, please tell me if you need more information about the problem.
error message received:
IEW2456E 9207 SYMBOL DBNTRY UNRESOLVED.
There is a CALL 'DBCSVPR' after the last GOBACK in the source which should generate an EXTRN in the object module which is picked up by the binder.
It looks like COBOL 5.2 is not generating it. I believe it is because in 5.2 you are using the OPTIMIZE option which removes redundant code. In COBOL 4.2 the default was NOOPTIMIZE but in 5.2 you have a default of OPTIMIZE.
Addition of NOOPTIMIZE option via the PARM in the COBOL 5.2 step resolved the problem.