Opening, browsing, and viewing JCL procedures

You can open a JCL procedure that is referred to in a JCL file in edit, browse, or view mode.

Before you begin

Ensure that the data sets and members are allocated correctly so that members can be located. The editor searches for data set members in the following order:
  1. The data sets in JCLLIB ORDER elements in the selected EXEC statement's JOB statement.

Opening or browsing a JCL procedure

About this task

The Open JCL Procedure action opens a file in edit mode. The Browse JCL Procedure action opens it in read-only mode.

Procedure

To open or browse a JCL procedure from the JCL Editor:

  1. Select a JCL procedure name in a program file open in the editor and right-click.
  2. From the menu, select Open JCL Procedure or Browse JCL Procedure.
    The JCL procedure opens in the editor.

Viewing a JCL procedure

About this task

The View JCL Procedure action opens the JCL procedure in edit mode; however, you cannot save the changes in the same file. You can save the file with a different name.

Procedure

  1. Select a JCL procedure name in a JCL file open in the editor.
  2. Right-click and select View JCL Procedure from the menu.
    The JCL procedure opens in the editor.
  3. If you modify the file, you are prompted to save the file with another name.
    Note: The Save as feature cannot be used to create a member or sequential data set. The file is saved in your local workspace project.