There is a bug in the V2R2M0 SUBR23R3 message-retrieving subroutine. When you override QUSERMSG to another message file and try to retrieve a message ID that exists, the subroutine works properly and the message text from the overridden file is retrieved. When you try to retrieve a message ID that doesn't exist, the subroutine returns code 5 (Message file QUSERMSG in *LIBL not found) which appears in your job log. If you create an empty QUSERMSG in your library (IBM recommends QGPL), the subroutine returns code 2 (Message ID not found) and no entries are made in your job log. The command would be:
CRTMSGF QGPL/QUSERMSG.
Editor's Note: This bug has been fixed in V2R3.
LATEST COMMENTS
MC Press Online