REQUEST RPL MSGAREA=MESSGES, MSGLEN=128 x
.
SHOWCB AREA=MSGADDR, x
FIELDS=MSGAREA, x
LENGTH=4, x
RPL=REQUEST
LTR 15,15
BNZ CHECKO
.
CHECKO ... Display failed.
.
MESSGES DS CL128 For VSAM to give you a detailed x
message about a physical error.
MSGADDR DS F For displaying the address of the x
message area with SHOWCB.
The RPL macro in this example provides for a message area, MESSGES, of 128 bytes to be used for any physical error message.