Previous Topic: &AOMTEXT

Next Topic: &AOMTYPE


&AOMTIME

A system variable containing the timestamp of the current message.

&AOMTIME is set to the time that the current message was generated, in the form hhmmss.

Examples: &AOMTIM

.LOOP 
&AOMREAD SET
&GOTO .&AOMID
 .
 .
 .
&GOTO .LOOP

.PRODJOB3
&IF &AOMTIME GT &TIME3 &THEN &WRITE AOM=YES NRD=OPER +
       DATA=WARNING JOB &AOMJOBNM IS RUNNING LATE.
 .
 .
 .
&GOTO .LOOP

Note: &AOMTIME is used to compare the time difference between delivery of a particular non-roll delete message and its associated DOM.