Previous Topic: &AOMMSGLV

Next Topic: &AOMMVSDL


&AOMMVCON

A system variable that indicates the ID of the system console to which the current message was routed.

&AOMMVCON contains the system console ID of the console to which the current message is being routed. This is a console acquired by your product region for AOM.

The &AOMMVCON value can range from 0 to 255. It is null for VM-sourced messages.

Example: &AOMMVCON

.LOOP 
&AOMREAD SET &IF &AOMMVCON GT 2 &GOTO .PERIPHCONS
 .
 .
 .

Notes:

Messages with a non-zero &AOMMVCON value are always regarded as solicited. The GLOBAL statement in the screening table must specify SOLICIT=YES to allow delivery of solicited messages to AOMPROC.

If using Extended MCS consoles, this variable can contain zero, but the message could still be directed at a console. This is because the target console cannot have a 1-byte ID.

More information:

&AOMNMCON

&AOMCONNM