The &AOMMINLN built-in function returns the current value of the specified minor line, when processing a multiline WTO message in an AOMPROC.
This built-in function has the following format:
&variable = &AOMMINLN n
Operand:
Specifies the minor line number.
0 returns the text of the major line. 1 to the value in the &AOMNMIN system variable returns that minor line. A greater value returns a null value.
Note: &AOMMINLN 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 text is accessed.
The returned value is the text of the specified minor line. An index of 0 returns the text of the major line.
Only an AOMPROC can use &AOMMINLN. If the current message is not a multiline WTO, a null value is returned.
Examples: &AOMMINLN
.IEC995I -* indicative dump mlwto &MAJ = &AOMMINLN 0 -* get major line &MIN1 = &AOMMINLN 1 -* get minor line 1 &MIN2 = &AOMMINLN 2 -* get minor line 2 &MIN3 = &AOMMINLN 3 -* get minor line 3
| Copyright © 2009 CA. All rights reserved. |
|