Creating local JCL files
You can create and edit a JCL file in your local workspace from the Resource perspective. When the JCL file is complete, you can submit the job, or copy the file to a partitioned data set using your local procedures.
This task creates a new Job Submission project and a then new JCL file in your local workspace. If you already have a Job Submission project in your workspace, you can go straight to step 3 in the following procedure.
- Right-click anywhere in the Project Explorer view and click z/OS folder and click New Job Submission project. Click Next. . The New Project wizard opens. Expand the
- In the Create a Job Submission project wizard, enter the
name that you want to give your project, and click Finish.
The project appears in the Project Explorer view.
- Right-click the project and click to open the New File wizard. The parent project that you chose is selected but you can select a different project if you want.
- In the File Name field, enter the name of the JCL file to create. The file name must have a suffix of .jcl, for example: terminal.jcl. Click Finish.
- Optional: Enable the autosave feature by clicking Window > Preferences > JCL > Editor > Autosave.
The JCL file is created in the project and opens in the JCL editor. The JCL editor is similar to the supplied data set editor but with the ability to use different colors to identify different text elements in the JCL. You can change the colors in the editor preferences page by right-clicking anywhere in the JCL editor and clicking Preferences. The JCL Editor Preferences page is displayed. You can select an element and change the color and text style.
z/OS® Explorer Version 3.0.1 and later support JCL languages features that are introduced in z/OS V2R1 and V2R2. You can see some highlights and annotations in the JCL editor.