# Editing and resubmitting jobs

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

Before you begin
You perform the Show JCL 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.
About this task
The Show JCL 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:

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. 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 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 * displays on the edit session tab to indicate that the JCL has been changed.
4. To resubmit the job, type `submit` on the command line of the LPEX editor and press Enter.
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.

Parent topic: z/OS Integrated Development Environment (zIDE)