CA EZT: S0C4 abend in module EZTPDTCM

book

Article ID: 143905

calendar_today

Updated On:

Products

CA Easytrieve Report Generator

Issue/Introduction

Running a CA Easytrieve program under true release 11.6 and abending with a S0C4 abend in the EZTPDTCM module.

Environment

Release : 11.6

Component : CA Easytrieve Report Generator

Resolution

The abend is occurring in the EZTPDTCM module, which really is a 6.4 module.  The 11.6 module with the same purpose is named ETDTCM.

The listing shows: 

CALL EZTPDTCM USING (USER-INFO       +                                                  -DBREQ3           
ASA01-REQ-AREA + -DBREQ3
ASA01-WORK-AREA + -DBREQ3
ASA01-ELEM-LIST)
So, there is actually a CALL to the 6.4 module coded inside the DBREQ3 module.

Looking at the 11.6 DBREQ3 macro delivered with release 11.6 in the CBAAMAC library, this is the following CALL:
 CALL ETDTCM USING (USER-INFO       +
                     &PRFX.-REQ-STRT +
                     &WA.-WORK-AREA  +
                     &EL.-ELEM-LIST)

The abend is occurring because the 6.4 macros are being picked up for the release 11.6 program.
Once the correct macros from release 11.6 were picked up, then the S0C4 abend was resolved.