Supplying input in lieu of interactive users
When an application is running in batch, there is no user to respond to panel input operations. Therefore, the primary requirement for running interactive applications in batch is to supply expected input data by an alternate means. For example, panel variables can be given values by dialog function statements or by the processing specified in the panel's executable sections. This processing is begun in the batch environment as though a user had pressed Enter. In the absence of an alternative action on the dialog's part, ISPF assumes an ENTER condition following a panel display.
A dialog can override the ENTER condition and establish an END
condition by performing any of these actions:
- Using the .RESP control variable
- Setting the panel command field to END
- Issuing a CONTROL NONDISPL END before the display operation