Previous Topic: &AOMLTCTL

Next Topic: &AOMLTEND

&AOMLTDAT

A system variable that indicates whether or not the current line of the current message is a data line.

&AOMLTDAT is set to YES for all data lines following a control line of a multi-line message. For control, label, end-only, and single line messages, &AOMLTDAT is set to NO.

The &AOMMINLT built-in function allows access to the line type of any line of a multi-line WTO.

Example: &AOMLTDAT

.LOOP 
&AOMREAD SET MINOR=YES 
&IF &AOMLTDAT = YES &THEN &GOTO .MULTILINE
 .
 . 
&GOTO .LOOP
 .
 .
 .   -* Delete Minor or Data lines from delivery.
.MULTILINE 
&AOMDEL 
&GOTO .LOOP

Notes:

The value of &AOMMINOR is normally set to YES if &AOMLTDAT contains a value of YES.

If not reading minor lines (&AOMREAD MINOR=NO), this system variable is of little use. Use the &AOMMINLT built-in function instead.

A data line can also be an end line.

Note: For more information, see the description of the WTO macro in the appropriate system reference manual.

More information:

&AOMLTCTL

&AOMLTEND

&AOMLTLAB

&AOMMINOR

&AOMMINLT