Previous Topic: &AOMMINLN

Next Topic: &AOMREAD


&AOMMINLT

The &AOMMINLT built-in function returns the line type of the specified minor line, when processing a multiline WTO message in an AOMPROC.

This built-in function has the following format:

&variable = &AOMMINLT n

Operand:

n

Specifies the minor line number. 0 returns the type of the major line. A value between 1 and the value in the &AOMNMIN system variable returns the type of that minor line. A greater value returns a null value.

The returned values are:

C

Indicates a CONTROL line.

CE

Indicates a CONTROL plus END line.

L

Indicates a LABEL line.

LE

Indicates a LABEL plus END line.

D

Indicates a DATA line.

E

Indicates an END line.

DE

Indicates a DATA/END line.

Only an AOMPROC can use &AOMMINLT. If the current message is not a multiline WTO, a null value is returned.

Examples: &AOMMINLT

.IEC995I             -* indicative dump mlwto
&MAJT = &AOMMINLT 0  -* get major line type
&MINT1 = &AOMMINLT 1 -* get minor line 1 type
&MINT2 = &AOMMINLT 2 -* get minor line 2 type
&MINT3 = &AOMMINLT 3 -* get minor line 3 type

Note:

&AOMMINLT is used when any line of the multiline WTO is current in an AOMPROC. This means, if you use &AOMREAD MINOR=YES to read successive minor lines (to access all attributes), any preceding or following line type is accessed.