Error codes for dynamic allocation

The return code contains the dynamic allocation error reason code in the high two bytes, and the information reason code in the low two bytes.

You can use the high four hexadecimal digits to look up the error code in the dynamic allocation error reason codes table found in the z/OS MVS Programming: Authorized Assembler Services Guide.

Note: For the returned decimal codes (>0, or -1610612737 to -2147483648), convert them to hexadecimal codes before determining the value for the high and low two bytes.