Eight system variables that provide the results of up to eight LOOKUP statements.
The screening table LOOKUP statement allows setting of eight result values. Each is set to YES or NO, indicating the success or failure of a LOOKUP.
The system variables &AOMLRSL1 to &AOMLRSL8 each contains NO or YES, indicating whether a particular LOOKUP succeeded or failed (or was not done).
Example: &AOMLRS
& IF .&AOMLRSL3 = .YES &THEN &GOTO L3WORKED
Note: If several LOOKUP results need to be checked, see the &AOMLRSLT system variable.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |