IBM Support

IGYPS2121 DFHEIV0 was not defined as a data-name

Troubleshooting


Problem

When using the CICS Transaction Server for z/OS (CICS TS) translator option 'COBOL3', you receive the following COBOL compile time messages:
 
ERROR MSG IGYPS2121-S "DFHEIV0" WAS NOT DEFINED AS A DATA-NAME.
ERROR MSG IGYPS2121-S "DFHC0080" WAS NOT DEFINED AS A DATA-NAME.
ERROR MSG IGYPS2121-S "DFHDUMMY" WAS NOT DEFINED AS A DATA-NAME.

Cause

When using COPY statements, the compiler (or assembler) reads the translated version of your program as input, not the source code. And, the application program was defined with pre-translated copybooks that were not translated or compiled at the correct level.

Environment

COBOL/370, COBOL for MVS & VM, COBOL for OS390 & VM, or Enterprise COBOL.

Resolving The Problem

Compile and translate the copybooks at the latest level before compiling the program that contains the COPY statements. Afterwards, you should no longer receive IGYPS2121-S messages during the compilation of the program.

[{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"ARM Category":[{"code":"a8m0z00000007d1AAA","label":"Developing applications"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"5.4.0;5.5.0;5.6.0;6.1.0;6.2.0"}]

Product Synonym

CICS/TS CICS TS CICS Transaction Server

Document Information

Modified date:
05 January 2026

UID

swg21026325