RUN
COBOL | PL/I | Assembler | C Language |
Description
Use the RUN command in the Batch Connect facility to submit an execution JCL file and automatically connect to the specified job. When the job processes successfully, your source is displayed.
Input
The following is the parameter description for the RUN command:
dsname
The name of the data set to be submitted and connected to the terminal.
Usage Notes
ALL Languages |
- When the RUN command is entered on the Select Job Step screen after specifying the execution mode (Interactive or Unattended) for the job steps, the JCL is automatically converted to process in Code Debug TSO and the job is submitted.
- If the JCL is already converted, the RUN command with a dsname can be specified on any screen, causing the named data set to be submitted and connected to the terminal.
- When the RUN command is entered on the Select Job Step or Edit screens, the dsname parameter is optional and, if omitted, the current JCL is used.
If the job is a long-running job, the job status is displayed on the Connect Status screen. The status of the named job is displayed and includes:
OUTPUT = Output queue
EXECUTING = Running
WAITING = Input queue- A job remains connected while it is in the system (WAITING or EXECUTING) but not yet terminated (OUTPUT or NOT FOUND).
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*