Previous Topic: &AOMLTEND

Next Topic: &AOMMAJOR

&AOMLTLAB

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

A label line can occur as the first line of a multi-line WTO message if there is no control line, or must immediately follow the control line or another label line. It normally contains message heading information.

&AOMLTLAB is set to YES if the current line is a label line or NO if it is not a label line.

Example: &AOMLTLAB

.LOOP 
&AOMREAD SET MINOR=YES 
&IF &AOMLTLAB = YES &THEN &GOTO .LABLINE
 .
 .
 .

Notes:

Multi-line messages can contain a control line which is usually the message title line. Label lines are often used as headings for the data lines.

A label line is optional, but if it occurs must be no more than 70 characters in length.

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

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

More information:

&AOMLTCTL

&AOMLTDAT

&AOMLTEND

&AOMMINLT