Working with jobs
Working with jobs
Viewing job spool output
-
Expand the JOBS tree in the Side Bar.
-
Click on the Search icon next to a profile and enter search criteria.
Search results display under the profile in the Side Bar.
-
Expand a job to view its spool files.
Viewing job contents
-
Expand the JOBS tree in the Side Bar.
-
Click on the Search icon next to a profile and enter search criteria.
Search results display under the profile in the Side Bar.
-
Right-click on the job you want to view, and select the Get JCL option.
Job contents display in an Editor.
noteTo edit the job and run it again, make the changes in the Editor, right click the Editor, and select the Submit as JCL option. For instructions, see Step 3 in Submitting a local file as JCL.
Downloading spool content
Downloading spool files from a job
-
Expand the JOBS tree in the Side Bar.
-
Click on the Search icon next to a profile and enter search criteria.
Search results display under the profile in the Side Bar.
-
Right-click on the desired job and select either:
- Download All to download all the spool files to a folder on your local disk.
- Download All (Binary) to download all the spool files in binary format on your local disk.
The selected files are saved in a folder that is the job name in the specified location.
Downloading a single spool file
-
Expand the JOBS tree in the Side Bar.
-
Click on the Search icon next to a profile and enter search criteria.
Search results display under the profile in the Side Bar.
-
Expand the job containing the desired spool file.
-
Right-click on the spool file and select either:
- Download All to download all the spool file contents to a folder on your local disk.
- Download All (Binary) to download all the spool file contents in binary format on your local disk.
The selected file is saved in the specified location.
Sorting jobs
-
Expand JOBS in the Side Bar.
-
Click on the Sort icon to the right of a profile.
-
In the Quick Pick, select the Sort Direction option and select either Ascending or Descending.
-
Select a sort type from the list of available options:
- Job ID (default)
- Date Submitted
- Date Completed
- Job Name
- Return Code
Polling a spool file
Users can periodically refresh a spool file during long-running jobs to get the latest job outputs. This avoids having to close and reopen a spool file to get the latest job outputs.
There are two ways to poll a spool file: automatically at set intervals or manually on demand.
Defining a default interval for polling spool files
- Click on the Manage icon on the Activity Bar and select Settings.
- In either the User or Workspace tab, click on the Extensions option to open the menu.
- Select Zowe Explorer.
- In the Jobs: Poll Interval field, enter a valid time interval, in milliseconds.
- Value must be greater than or equal to 1000 ms (or 1 second).
- Press the
Enter
key to start the polling action.