Use the Show JCL (SJ) action to
edit and resubmit the JCL for a specific job ID.
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 need to have submitted a job and obtained a job ID.
The
Show JCL (SJ) action opens the
JCL used to submit a job in an LPEX 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 change the JCL in the edit session, you
cannot save it to the original data set member, but you can save it
to a local file.
To edit and resubmit JCL for a job ID, do these
steps:
- From the Remote Systems view or the Remote Systems Details
view, expand or drill down into JES > My Jobs.
- Select a job ID and then click Show JCL (SJ). The JCL used to submit the job opens in the LPEX editor.
The edit tab shows the job ID. If an edit session is already open
for a job's JCL, Show JCL (SJ) does
not open a new session, but brings focus to the open session.
- Edit the JCL as necessary. When you edit
the JCL, an * displays on the edit session
tab to indicate that the JCL has been changed.
- To resubmit the job, type submit on
the command line of the LPEX editor and press Enter.
- 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.