Previous Topic: PPQWRITE KeywordNext Topic: REXX Keyword


REPLY Keyword

The REPLY keyword specifies the reply for a write-to-operator-with-reply (WTOR) message.

This keyword has the following format:

REPLY(string)
string

Specifies the text of the reply for a WTOR message.

Example:

z/OS issues the following two messages when JES2 cannot start because of an incorrectly defined exit routine:

$HASP857 EXIT013 NOT DEFINED WITHIN CURRENTLY LOADED JES2 MODULES
*00 $HASP441 REPLY 'Y' TO CONTINUE OR 'N' TO TERMINATE

The following two rules automate the reply to message $HASP441, letting other messages fall through to the operator:

MSGID($HASP857),
  SET(&HASP441_REPLY = Y)
MSGID(IEA120A),
  WHEN(&HASP441_REPLY NE ''),
  REPLY(&HASP441_REPLY)
  SET(&HASP441_REPLY = '')