CA ADS control commands are used to pass control during the execution of an application. The execution of a control command terminates the execution of the process that issues the command. A control command can pass control to:
Summary of Control Commands
Control commands are listed in the table below. Each command is presented in alphabetical order after General Considerations.
|
Command |
Purpose |
|---|---|
|
CONTINUE |
Terminates the current process, executes the dialog's premap process, and writes a message |
|
DISPLAY |
Displays a dialog's map, reexecutes a dialog's premap process, or specifies a message that appears in a map's message field |
|
EXECUTE NEXT FUNCTION |
Passes control to the application function associated with a response by means of the control command specified for the response during application compilation |
|
INVOKE |
Initiates execution of a lower level dialog in the application thread |
|
LEAVE |
Terminates the current application or terminates the current CA ADS session |
|
LINK |
Initiates execution of a lower level dialog, creating a nested application structure, or initiates execution of a user program |
|
READ TRANSACTION |
Terminates the current process, performs a mapin operation, and selects the next application function or response to be executed (batch only) |
|
RETURN |
Initiates execution of a higher level dialog |
|
TRANSFER |
Initiates execution of a dialog at the same level as the dialog passing control |
|
WRITE TRANSACTION |
Terminates a current process, performs a mapout operation, and passes control within an application (batch only) |
|
Copyright © 2014 CA.
All rights reserved.
|
|