GETCHR Processing

Overview of Messages

ZGC0001 | ZGC0002

ZGC0001 Invalid area or length specified in GETCHR function
Explanation:

This message is associated with the GETCHR function.

It indicates that one or more of the following conditions prevented successful completion of the GETCHR function:

  1. The area specified was not within the area available to the application program.

  2. The location specified to contain the length was not within the area available to the application program.

  3. The value specified for the length was negative.

  4. When added to the location specified for the area, the length specified resulted in a location that was not within the area available to the application program.

System action:

The user program is abnormally terminated. A Com-plete online dump is produced.

Terminal operator info:

Seek the assistance of the application programmer responsible for the program being used when the error occurred.

Appl. programmer info:

R1 in the dump contains the location of the GETCHR parameter list. The first word in the list contains the location of the area parameter. The second word contains the location of the length parameter.


ZGC0002 Invalid terminal id specified in GETCHR function
Explanation:

This message is associated with the GETCHR function.

It indicates that one of the following conditions prevented the successful completion of the GETCHR function:

  1. The location specified for the TID parameter was not within the area available to the user program.

  2. A negative value was specified for the TID parameter.

System action:

The user program is abnormally terminated. A Com-plete online dump is produced.

Terminal operator info:

Contact the application programmer responsible for the program being used when the error occurred.

Appl. programmer info:

R1 in the dump contains the location of the GETCHR parameter list. The third word in the list contains the location of the TID parameter.