Troubleshooting
Problem
Cause
- The COBOL3 translator option does not use or define the DFHC0080 parameter. Therefore, you receive the IGYPS2121-S message when the COBOL3 translator option is used.
- When the COBOL2 translator option is used, DFHC0080 is included in the Working Storage Section. This is why the IGYPS2121-S message does not appear. However, the contents of DFHC0080 is not valid and probably the reason for the bad screen data.
Diagnosing The Problem
Following is the application code that caused the problem:
9001-CICS-ERROR.
MOVE EIBRCODE TO ST-CICS-EIBRCODE.
MOVE EIBFN TO ST-CICS-EIBFN.
IF EIBRESP EQUAL DFHRESP(PGMIDERR)
MOVE DFHC0080 TO ST-CICS-PROG-ID
ELSE
MOVE EIBDS TO ST-CICS-EIBDS.
MOVE LIT-ERR-CICS TO ST-LCP-CMPL-CODE.
MOVE LIT-MODULE-NAME TO ST-LCP-MODULE-NAME.
EXEC CICS RETURN
END-EXEC.
If the application had a pre-translated copybook that used DFHC0080, the problem would be transparent. In this case, there were no pre-translated copybooks in the application so there was no reason to use DFHC0080 to determine the program name involved in the pgmiderr return code. EIBRSRCE can be used to determine the program name involved in the pgmiderr.
Resolving The Problem
The internal translator parameters were not meant to be used as part of the application interface. Rather than maintaining applications subject to internal changes within CICS, the EIB field is a much better application programming interface (API) and will contain just as much information.
Related Information
Product Synonym
CICS/TS CICS TS CICS Transaction Server
Was this topic helpful?
Document Information
Modified date:
05 January 2026
UID
swg21230226