Hi,
I have a situation that, I need to expose COBOL CICS program which has both DFHCOMMAREA and additional 01 level at Linkage section. Find below example.
LINKAGE SECTION.
*****************
01 DFHCOMMAREA.
COPY LINKCPY.
01 RETURN-AREA PIC X(32000).
In this scenario, the actual response is written to RETURN-AREA any idea how do we include additional variables in API service descriptor?
I cannot include RETURN-AREA in the existing DFHCOMMAREA as it will impact the program behavior and also exceeds the maximum capacity of Commarea i.e.32K.
Please note, copybook LINKCPY has couple of pointer definition, I don't think zOS supports pointers. So i replaced pointers with with dummy variables (to match commarea exact length), unfortunately program is failing with ASRA error i.e. S0C4 error.
How do I handle above explained scenarios (Pointers in Copybook and Additional 01 level at Linkage section) ?
I have included sample Copybook screen capture.
We are running zoS connect 2.0.
------------------------------
Tamilarasan Pushparaj
------------------------------