Command interpreter
The command interpreter demonstrates to the application programmer the syntax of CICS® commands and the effects of their execution. It can also be used to perform simple one-off tasks whose nature does not justify the writing of a permanent application.
Design overview
The command interpreter is invoked by the CECI transaction and is an interactive, display-oriented tool that checks the syntax of CICS commands and executes them. Another transaction, CECS, performs only syntax checking.
The user enters a command that is analyzed in the same way as it would be by the command translator, which processes it as if it were part of an application program. The results of this analysis, including any messages, an indication of defaults assumed, and the entire syntax of the command, are then displayed.
When the command is syntactically valid, the user can request its execution. The interpreter calls DFHEIP, passing a parameter list precisely as would be passed during the execution of a program that contained the command.
The interpreter does all this using the same command-language tables as are used by the command translator. These tables contain data that define the syntax of CICS commands and the contents of the parameter lists required by DFHEIP to execute them.
Modules
| Module | Function |
|---|---|
| DFHECIP | Invoked by CECI. Checks that the terminal is suitable. Obtains and initializes working storage. Loads the language tables. Links to DFHECID. |
| DFHECSP | Same as DFHECIP, but invoked by CECS. |
| DFHECID | Receives data from the terminal and sends back a display. Analyzes commands. Constructs parameter lists for DFHEIP, which it calls. Deals with PF keys. |
| DFHEITAB | Command-language table (application programmer commands). |
| DFHEITBS | Command-language table (system programmer commands). |
Exits
No global user exit points are provided for this function.
Trace
No trace points are provided for this function.