Editing and resubmitting jobs

Use the Show JCL (SJ) action to edit and resubmit the JCL for a specific job ID.

Before you begin

You perform the Show JCL (SJ) action on a specific job ID in the JES subsystem of the Remote Systems view or the Remote Systems Details view. Before you can perform this action, you must submit a job and obtain a job ID.

About this task

The Show JCL (SJ) action opens the JCL used to submit a job in an editor session. From this edit session, you can modify the JCL and resubmit the job. The action obtains the JCL from JES; it does not open the data set member that contains the submitted JCL. If you edit the JCL, you cannot save it to the original data set member, but you can save it to a local file.

Procedure

To edit and resubmit JCL for a job ID, do these steps:

  1. From the Remote Systems view or the Remote Systems Details view, expand or drill down into JES > My Jobs.
  2. Select a job ID and then click Show JCL (SJ).
    The JCL used to submit the job opens in the editor. The edit tab shows the job ID. If an edit session is already open for the JCL, Show JCL (SJ) does not open a new session, but brings focus to the open session.
  3. Edit the JCL as necessary.
    When you edit the JCL, an * is displayed on the edit session tab to indicate that the JCL is changed.
  4. To resubmit the job, select the Submit command again.
  5. To save the edited JCL to a local file, click File > Save as and enter the file path where you want to save the JCL.