Previous Topic: &ZMAOMSYN

Next Topic: &ZMAOMTYP


&ZMAOMTM

Contains the AOM time stamp of the current message.

&ZMAOMTM is set to the time that the current message was generated, if the current message contains AOM data. This time is in the form hhmmss. If no AOM data is present, &ZMAOMTM is null.

Example: &ZMAOMTM

.LOOP 
&MSGREAD SET &GOTO .&AOMID
 .
 .
 .
&GOTO .LOOP .PRODJOB3 
&IF &ZMAOMTM GT &TIME3 +
   &WRITE NRD=OPER DATA=WARNING JOB &AOMJOBNM IS +
       RUNNING LATE.
 .
 .
 .
&GOTO .LOOP

Note: &ZMAOMTM corresponds to the &AOMTIME system variable available to an AOMPROC.

More information:

&AOMTIME