search cancel

Problem Cobol V5.2 compilation

book

Article ID: 35449

calendar_today

Updated On:

Products

Datacom DATACOM - AD CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services CA ECOMETER SERVER COMPONENT FOC EASYTRIEVE REPORT GENERATOR FOR COMMON SERVICES INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware

Issue/Introduction

Question:

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.

 

Answer:

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. 

 

Environment

Release:
Component: DB