Suppose that you have an ACL/E program that executes in an application session called CUSTOMER. This program calls three other ACL/E programs to query different customer databases. To suspend the calling ACL/E program until it receives notification from all three other programs, you would include the following statement in the calling program:
SUSPEND 3
To tell each of the three called ACL/E programs to report back to the calling ACL/E in the CUSTOMER session, you would include the following statement in each called program:
NOTIFY CUSTOMER
When the calling program receives the number of notifications specified in the SUSPEND statement, it continues by executing the next statement.
|
Copyright © 2013 CA.
All rights reserved.
|
|