Previous Topic: &AOMLRSL1-8

Next Topic: &AOMLTDAT

&AOMLTCTL

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

A control line can occur only as the first line of a multi-line WTO message, and it normally contains the message title.

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

&AOMLTCTL is set to YES if the message has been generated as a control line; otherwise, it is set to NO.

The line type of any line of a multi-line WTO is examined using the &AOMMINLT built-in function.

Example: &AOMLTCTL

-* Ensure Control line stands out.
&IF &AOMLTCTL = YES &THEN &AOMCONT HLIGHT=REVERSE
 .
 .
 .

Notes:

&AOMLTCTL is used to isolate control lines. These can then be enhanced to provide a more meaningful message title.

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

The value of &AOMMAJOR is set to YES if this variable contains the value YES.

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

More information:

&AOMLTDAT

&AOMLTEND

&AOMLTLAB

&AOMMAJOR

&AOMMINLT