Purpose
Passes control in a dialog that is associated with an application function.
Syntax
►►──── EXECute next function ─── . ───────────────────────────────────────────►◄
Usage
EXECUTE NEXT FUNCTION is appropriate for use in applications defined by using the CA ADS application compiler (ADSA).
When the user selects a response that is valid for a dialog function at runtime, the function associated with the response is established as the next function to be executed. The EXECUTE NEXT FUNCTION command initiates execution of that function. Control is passed to the function by means of the control command associated with the application response during application compilation.
Considerations
DC177018 PLEASE SELECT NEXT FUNCTION
Example
In this example, control passes to the next function in the CA ADS application after the end-of-set condition is reached:
WHILE NOT DB-END-OF-SET
REPEAT.
OBTAIN NEXT ORDOR WITHIN CUST-ORDOR.
.
.
.
END.
EXECUTE NEXT FUNCTION.
Because EXECUTE NEXT FUNCTION is used to pass control in this example, the CA ADS runtime system determines which function to execute next.
|
Copyright © 2014 CA.
All rights reserved.
|
|