Easytrieve S0C4 abend in module EZTPDTCM
search cancel

Easytrieve S0C4 abend in module EZTPDTCM

book

Article ID: 143905

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Running an Easytrieve program under release 11.5/11.6 in compatibility mode when executing jobtrac module GJTREZCS, a S0C4 abend in the EZTPDTCM module occurs.

Environment

Easytrieve Report Generator, releases 11.5 and 11.6 in compatibility mode

Resolution

The abend is occurring in the EZTPDTCM module, which really is a 6.4 module.  The 11.5/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.5/11.6 program.
Once the correct macros from release 11.5/11.6 were picked up, then the S0C4 abend should be resolved.

Release 11.5-C/11.6-C needs to ensure that EZTPDTCM is being picked up in the correct version of DBREQ3 as being called.