Previous Topic: &ZMAOMJI

Next Topic: &ZMAOMMID


&ZMAOMJN

Contains the job name of AOM messages sourced from MVS.

If the current message carries AOM data, and came from an MVS job, this system variable contains the MVS job name.

This corresponds to the &AOMJOBNM system variable in AOMPROC.

Example: &ZMAOMJN

.LOOP 
&MSGREAD SET 
&IF .&ZMAOMJN = .PROD005 &THEN &WRITE DATA=PROD005 active.
 .
 .
 .

Note: This variable is null if the message is not carrying AOM data (&ZMAOMDTA is NO).

More information:

&AOMJOBNM

&ZMAOMDTA