Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

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

image2021-2-16_14-15-22.png

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

  1. 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.
  2. 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.
  3. 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.
  4. 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
  5. 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*