MVS JCL User's Guide

MVS JCL User's Guide

z/OS Version 2 Release 3 MVS JCL User's Guide IBM SA23-1386-30 Note Before using this information and the product it supports, read the information in “Notices” on page 261. This edition applies to Version 2 Release 3 of z/OS (5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions. Last updated: 2019-02-16 © Copyright International Business Machines Corporation 1988, 2017. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents List of Figures....................................................................................................... xi List of Tables.......................................................................................................xiii About this document............................................................................................xv Who should use this document..................................................................................................................xv Where to find more information................................................................................................................. xv How to send your comments to IBM.................................................................... xvii If you have a technical problem............................................................................................................... xvii Summary of changes......................................................................................... xviii Summary of changes............................................................................................................................... xviii Summary of changes............................................................................................................................... xviii z/OS Version 2 Release 1 summary of changes......................................................................................xviii Part 1. Introduction............................................................................................... 1 Chapter 1. Introduction - job control statements.......................................................................................3 JCL statements.......................................................................................................................................3 JECL statements.....................................................................................................................................4 Chapter 2. Introduction - job control language (JCL)................................................................................ 7 Understanding JCL................................................................................................................................. 7 “Chez MVS”....................................................................................................................................... 7 How this relates to JCL..................................................................................................................... 7 Job control statements.....................................................................................................................8 Required control statements............................................................................................................ 9 Exercise: creating and entering a job.....................................................................................................9 Before you begin............................................................................................................................... 9 Step 1. allocate a data set to contain your JCL..............................................................................10 Step 2. edit the JCL data set and add the necessary JCL..............................................................10 Step 3. submit the JCL to the system as a job............................................................................... 11 Step 4. view and understand the output from the job...................................................................13 Step 5. make changes to your JCL................................................................................................. 14 Step 6. view and understand your final output..............................................................................14 More complex jobs............................................................................................................................... 16 In-stream and cataloged procedures............................................................................................ 16 Input streams..................................................................................................................................17 Additional information......................................................................................................................... 18 Installation conventions worksheet...............................................................................................18 Using ISPF to allocate and edit a data set..................................................................................... 19 Using SDSF to view output from a job............................................................................................ 20 Helpful utilities................................................................................................................................21 Chapter 3. Job Control Tasks.....................................................................................................................23 Entering Jobs........................................................................................................................................23 Processing jobs.....................................................................................................................................24 Requesting Resources..........................................................................................................................24 Task charts............................................................................................................................................24 Part 2. Tasks for entering jobs ............................................................................. 31 iii Chapter 4. Entering jobs - identification ..................................................................................................33 Identification of job.............................................................................................................................. 33 Identification of step............................................................................................................................ 34 Identification of procedure.................................................................................................................. 34 Identification of INCLUDE group..........................................................................................................35 Identification of account...................................................................................................................... 35 For local execution..........................................................................................................................35 For remote execution......................................................................................................................36 Identification of programmer...............................................................................................................36 Chapter 5. Entering jobs - execution ........................................................................................................ 37 Execution of program........................................................................................................................... 37 Execution of procedure........................................................................................................................ 38 Execution when restarting and with checkpointing (non-APPC) ....................................................... 38 Restarting after abnormal termination...........................................................................................38 Restarting when the system failed in a JES2 system ................................................................... 39 Restarting when the system failed in a JES3 system ................................................................... 39 Deadline or periodic execution in a JES3 system................................................................................39 Use of deadline scheduling............................................................................................................ 40 Use of periodic scheduling............................................................................................................. 40 Execution when dependent on other jobs in a JES3 system ............................................................. 40 Execution at remote node (non-APPC)................................................................................................42 Considerations when submitting a remote job.............................................................................. 43 Chapter 6. Entering jobs - job input control............................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    296 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us