A system variable that contains the solicit type of the current message.
This variable is set to NO for all unsolicited messages. Any messages that have been solicited via an operating system command cause &AOMSOLIC to be set to one of the following values:
Solicited by an Automation Services user
Solicited in response to a screening table REPLY or ISSUE statement
Solicited by some other user
Example: &AOMSOLTP
& IF &AOMSOLIC = YES AND &AOMSOLTP = OTHER &THEN +
&GOTO .SOLLOG
Notes:
The screening table must have SOLICIT=YES on the GLOBAL statement for solicited messages to be received by AOMPROC.
If an AOMPROC allows solicited messages to be delivered, then all authorized AOM users receive the messages. The user that issued the command receives the messages twice, since the messages are routed to the AOM console assigned to that OCS screen as well as AOMPROC.
The &AOMSOLIC system variable also indicates whether or not a message is solicited.
| Copyright © 2009 CA. All rights reserved. |
|