Previous Topic: AOF Variables

Next Topic: Dynamic Variables

Environmental (Event-related) Variables

AOF environmental (event-related) variables provide detailed information about the system event that AOF is evaluating. Each AOF event rule type (MSG, CMD, EOM, and so on) provides a set of unique environmental variables. For example, in a MSG rule type, you have access to various MSG.xxxx variables such as the following:

MSG.TEXT

Contains the complete text of the current message.

MSG.JOBNAME

Contains the name of the job or address space that issued the message.

MSG.REPLYID

Contains the reply for WTOR messages.

In a CMD rule type, you have access to various CMD.xxxx variables such as the following:

CMD.TEXT

Contains the complete text of the current command.

CMD.JOBNAME

Contains the name of the job or address space that issued the command.

CMD.CONSNAME

Contains the name of the console from which the command was issued.

Review the following additional facts about environmental (event-related) variables:

More information:

Coding Each AOF Rule Type