The R Command
This topic describes the R command, the syntax, and parameters.
Use the R command to specify a message that ATAM is to automatically respond to and the reply that is to be issued. The R operator command is similar to the W operator command, but does not require a unit name or device ID. See also The W Command.
| Item | Description |
|---|---|
| Syntax | |
| Parameters | msgid This parameter is the message number that you wish to monitor. The maximum number of characters allowed for the "msgid" is 11. This parameter is the exact reply that ATAM is to issue. The reply text must match what is in the message being acted upon (quotes do not count as part of the reply text). The maximum number of characters allowed for the reply is 11. This parameter is the location (offset), starting with the first character in the message ID, where ATAM can find the matching reply text. The offset number must be in the range of 1 - 127. For the "R" command, the location does not have to be exact. ATAM will begin scanning at the specified offset and continue until the end of the message to try and match the text. The offset to the matching string in the message is required so that ATAM will not issue invalid responses. An example is provided in the next section. Optionally, add this parameter to assign response behavior to a specific job name. This is useful for situations where different jobs require different responses to a WTOR. For example, relative to ATAM processing, HSM may need a CANCEL response to the IEF238D WTOR, while all other jobs need a WAIT response. Without the "J" parameter, the MSGID response applies to all jobs. |
The next table contains additional parameters for this command.
| Item | Description |
|---|---|
| Parameters (continued) | Use the "I" parameter to inactivate a specific
MSGID from ATAM WTOR scanning. When the MSGID is inactivated, ATAM
continues to detect the WTOR, but ATAM either no longer responds to
it or suspends ATAM VARY processing (e.g. ATH085I message) while the
WTOR is outstanding. The nnn variable is the three-digit number
assigned to the MSGID when added to ATAM. The number can be found
by displaying the active MSGID list using the following command: You must specify the MSGID and ID number when you specify the "R" command with the "I" parameter. For example, to inactivate ATH101D, which has an ID of 003, you would enter the following command: A=nnnUse the "A" parameter
to activate a specific MSGID that has previously been inactivated.
The nnn variable is the three-digit number (ID) assigned to
the MSGID when added to ATAM. The ID number can be found by displaying
the active MSGID list using the following command: You must specify the MSGID and ID number when you specify the "R" command with the "A" parameter. For example, to re-activate ATH101D, which has an ID of 003, you would enter the following command: |
Refer to Example #1 for a sample of how to use the "R" command with its parameters.