A system variable that contains the eight LOOKUP results from screening, in &MASKCHK format.
The screening table LOOKUP statement allows setting of eight result values. Each is set to YES or NO, indicating success or failure of a LOOKUP.
For a WTO, WTOR, or MSG, &AOMLRSLT will contain the eight lookup results, formatted as a string of 8 Y or N characters. For example, if a LOOKUP statement sets result 5 true, and another sets result 8 true, then &AOMLRSLT is formatted as:
NNNNYNNY
This format is useful with the &MASKCHK built-in function.
Example: &AOMLRSLT
&CHECK = &MASKCHK ***Y***N &AOMLRSLT
Note: Individual LOOKUP results is checked by using the &AOMLRSLn system variables.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |