Previous Topic: &ZMAOMTM

Next Topic: &ZMAOMUFM


&ZMAOMTYP

Indicates the AOM type of a message.

For messages containing AOM data (&ZMAOMDTA=YES), this variable is set to either WTO, WTOR, or MSG, depending on the message type.

Example: &ZMAOMTYP

.LOOP 
&MSGREAD SET 
&GOTO .&ZMAOMTYP
 .
 .
 . 
.WTO
  . 
   process WTO
  . 
. &GOTO .LOOP
.WTOR
 .
 .  process WTOR 
 . 
&GOTO .LOOP
.MSG
 .
 . process VM MSG
 .

Notes:

Using &ZMAOMTYP is one way for an NCL procedure (for example, a MSGPROC) to distinguish WTORs.

The values in this system variable correspond to the &AOMTYPE system variable.

More information:

&AOMTYPE