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:
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:
Indicates a CONTROL line.
Indicates a CONTROL plus END line.
Indicates a LABEL line.
Indicates a LABEL plus END line.
Indicates a DATA line.
Indicates an END line.
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.
| Copyright © 2009 CA. All rights reserved. |
|