Previous Topic: &AOMATEXT

Next Topic: &AOMAUTO


&AOMAUTH

A system variable that indicates if the issuer of a WTO/WTOR is authorized.

Any program, either authorized or unauthorized, can issue a WTO or WTOR. It might be necessary to determine if the issuer of a WTO/WTOR is authorized before proceeding with any processing associated with that message.

&AOMAUTH is set to YES if the program issuing the WTO/WTOR is authorized; otherwise it is set to NO.

By examining &AOMAUTH it is possible to effectively ignore a message that was issued from an unauthorized program (for example, a tape mount message), which contains the same text as a critical message.

Examples: &AOMAUTH

&AOMREAD SET
 .
 .
 . 
&IF &AOMAUTH = NO &THEN &AOMDEL

Notes:

In MSGPROC, the system variable &ZMAOMAU contains the same value as &AOMAUTH.

This system variable is null for VM messages and DOM-notifications.