Previous Topic: &AOMWRLEN

Next Topic: &AOMWTOR


&AOMWTO

A system variable that indicates whether or not the current message is a Write to Operator (WTO).

For messages generated by a z/OS system, this system variable is set to YES if the current message was generated by the WTO macro; otherwise, it is set to NO. For messages sourced by AOM/VM, &AOMWTO is always YES.

Example: &AOMWTO

&IF &AOMWTO EQ YES &THEN &GOTO .WTOPROCESS
 .
 .
 . 
.WTOPROCESS 
&AOMCONT &GOTO .AOMREAD

More information:

&AOMDOM

&AOMNRD

&AOMRWTOR

&AOMTYPE

&AOMWTOR