At times you might want an ACL/E program to determine whether the screen contains any data at all before proceeding to the next step. To do this, use the SEARCH command with the ANY operand. For example, the following statements use the SEARCH command to determine if the screen contains any non-null or non-blank data and prints a message if it is blank.
SEARCH ANY
BRANCH NE,BLANK
STOP
BLANK KEY 'This screen is blank'
STOP
|
Copyright © 2013 CA.
All rights reserved.
|
|