S0C2 and S0C4 abends upgrading to z/OS Enterprise COBOL for z/OS version 5
search cancel

S0C2 and S0C4 abends upgrading to z/OS Enterprise COBOL for z/OS version 5

book

Article ID: 30408

calendar_today

Updated On:

Products

Datacom DATACOM - AD Datacom/AD Datacom/DB

Issue/Introduction

A COBOL batch program doing Datacom calls fails with S0C2 or S0C4 abends after upgrading to z/OS Enterprise COBOL for z/OS version 5.

Cause

z/OS Enterprise COBOL for z/OS version 5 requires that the program load module be linked using AMODE=31.

Resolution

Re-link the COBOL program with AMODE(31) and  RMODE(ANY)

In addition, since the program load module has to be AMODE=31, the Datacom URT also needs to have AMODE=31.

To do this, in the URT source, code the following in the DBUREND macro then re-assemble and link the URT:

DBUREND SYSTEM=OS,USRINFO=...,AMODE=31,RMODE=ANY