Previous Topic: &AOMMHEX

Next Topic: &AOMMMASK


&AOMMINOR

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

This variable is set to YES if the current line is the second or subsequent line of a multi-line WTO. It is set to NO if a single line WTO or WTOR is received or if the current line is a major line for a multi-line WTO.

Example: &AOMMINOR

.LOOP
&AOMREAD SET MINOR=YES
&IF &AOMMINOR = YES &THEN &GOTO .DELMINOR
   .
   .
   . -* If minor line received delete from delivery
   . -* to minimize message flow.
   .
.DELMINOR 
&AOMDEL 
&GOTO .LOOP

Notes:

This variable is used, in conjunction with &AOMMAJOR and &AOMSINGL, to perform complex manipulation of multi-line messages.

If using &AOMREAD MINOR=NO, no minor lines are ever presented as the current line. In this case, the &AOMMINLN and &AOMMINLT built-ins are used to access the minor lines.

More information:

&AOMMAJOR

&AOMSINGL