Previous Topic: &ZMAOMRCX

Next Topic: &ZMAOMSYN


&ZMAOMSOS

Identifies the operating system type from which the current AOM message came.

A message that is originated by AOM can come from either a VM or MVS system. This system variable indicates the source of the message, for messages containing AOM data. It contains OS (meaning z/OS, MSP, or VOS3) or VM.

Example: &ZMAOMSOS

&MSGREAD SET 
&GOTO .&ZMAOMSOS
 .
 .
 .
.VM -* process VM-sourced msg.
 .
 .
 .
.OS -* process MVS-sourced msg.
 .
 .
 .

Notes:

If the message has no AOM data, &ZMAOMSOS is set to null.

The value in this system variable indicates which of the operating-system-specific system variables will contain meaningful data. If MVS, then &ZMAOMJI and &ZMAOMJN are available. If VM, then &ZMAOMUI and &ZMAOMUN are available. In each case, the other variables are null.

More information:

&ZMAOMUI

&ZMAOMUN

&ZMAOMJI

&ZMAOMJN

&ZMAOMSYN