Previous Topic: &AOMNMIN

Next Topic: &AOMODID


&AOMNRD

A system variable that indicates whether or not the current message is to be displayed as a non-roll-delete message on OCS consoles.

&AOMNRD is set to YES or OPER for a non-roll-delete message, otherwise NO.

A non-roll-delete message is a message that remains on the OCS screen until some action is performed that enables the message to be deleted. For example, a tape mount message rolls off the screen when the tape is mounted.

Example: &AOMNRD

.LOOP 
&AOMREAD SET 
&IF .&AOMNRD = .YES &THEN &GOTO .NRDMSG
 .
 .
 . 
-* Change all NRDs to roll-delete.
.NRDMSG 
&AOMCONT NRD=NO
 .
 .
 .
 &GOTO .LOOP

Notes:

For every NRD=YES message, there is an associated Delete-Operator-Message ID (DOMID), which is a correlation number generated with the message. A DOM is issued against the NRD message to mark it as deletable when the required action has been performed or when the job or step terminates.

NRD=OPER messages do not have associated DOMIDs. When an OCS user deletes the message from the screen, it is not recallable; the system retains no memory of the message.

More information:

&AOMDOM

&AOMDOMID