How to Resolve IGYPS2121-S "ADGADBER-ABEND-CODE" error

Document ID : KB000043990
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

Recompiling with ABNORMALT set to 3 to run above the line, instead of ABNORMALT set to 1, we now experience this compilation error:

         IGYPS2121-S "ADGADBER-ABEND-CODE" was not defined as a data-name.

How may we resolve this error?

 

Environment:  

CA Telon Application Generator

 

Answer: 

The problem is caused by a reference to ADGADBER-ABEND-CODE in your custom code. A declaration for this field is generated for ABNORMALT 1, but not for ABNORMALT 3. If you remove the reference to ADGADBER-ABEND-CODE of your custom code and regenerate and recompile your program, the error will go away.

 

Additional Information:

The ABNORMALT 3 abend routines (ADMAATR for IMS and batch, ADLAATR for CICS) provide much more information about an abend than ABNORMALT 1's ADGADBER (ADGDBER for PL/I).