KNOWING JCL

Embed Size (px)

Citation preview

  • 8/6/2019 KNOWING JCL

    1/716

    z/OS

    MVS JCL Reference

    SA22-7597-04

  • 8/6/2019 KNOWING JCL

    2/716

  • 8/6/2019 KNOWING JCL

    3/716

    z/OS

    MVS JCL Reference

    SA22-7597-04

  • 8/6/2019 KNOWING JCL

    4/716

    Note

    Before using this information and the product it supports, be sure to read the general information under Notices on

    page B-1.

    Fourth Edition, September 2002

    This is a major revision of SA22-7597-02.

    This edition applies to Version 1 Release 4 of z/OS (5694-A01), Version 1 Release 4 of z/OS.e (5655-G52), and toall subsequent releases and modifications until otherwise indicated in new editions.

    Order documents through your IBM

    representative or the IBM branch office serving your locality. Documents are notstocked at the address below.

    IBM welcomes your comments. A form for readers comments may be provided at the back of this document, or youmay address your comments to the following address:

    International Business Machines CorporationDepartment 55JA, Mail Station P3842455 South RoadPoughkeepsie, NY 12601-5400United States of America

    FAX (United States & Canada): 1+845+432-9405FAX (Other Countries):

    Your International Access Code +1+845+432-9405

    IBMLink (United States customers only): IBMUSM10(MHVRCFS)Internet e-mail: [email protected] Wide Web: http://www.ibm.com/servers/eserver/zseries/zos/webqs.html

    If you would like a reply, be sure to include your name, address, telephone number, or FAX number.

    Make sure to include the following in your comment or note:v Title and order number of this document

    v Page number or topic related to your comment

    When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in anyway it believes appropriate without incurring any obligation to you.

    Copyright International Business Machines Corporation 1988, 2002. All rights reserved.US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

    http://www.ibm.com/servers/eserver/zseries/zos/webqs.htmlhttp://www.ibm.com/servers/eserver/zseries/zos/webqs.html
  • 8/6/2019 KNOWING JCL

    5/716

    Contents

    Figures . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiii

    About this document . . . . . . . . . . . . . . . . . . . . . xxxvWho should use this document . . . . . . . . . . . . . . . . . . xxxv

    Information updates on the web . . . . . . . . . . . . . . . . . . xxxvRelated information . . . . . . . . . . . . . . . . . . . . . . xxxv

    Programs . . . . . . . . . . . . . . . . . . . . . . . . . xxxvHardware . . . . . . . . . . . . . . . . . . . . . . . . . xxxvi

    Accessing z/OS licensed documents on the Internet . . . . . . . . . xxxviUsing LookAt to look up message explanations . . . . . . . . . . . . xxxvi

    Summary of changes . . . . . . . . . . . . . . . . . . . . . xxxix

    Chapter 1. Job Control Statements . . . . . . . . . . . . . . . . 1-1JCL Statements . . . . . . . . . . . . . . . . . . . . . . . . 1-1JECL Statements . . . . . . . . . . . . . . . . . . . . . . . . 1-2

    Chapter 2. Job Control Tasks . . . . . . . . . . . . . . . . . . 2-1Entering Jobs . . . . . . . . . . . . . . . . . . . . . . . . . 2-1Processing Jobs . . . . . . . . . . . . . . . . . . . . . . . . 2-2Requesting Resources . . . . . . . . . . . . . . . . . . . . . . 2-2Task Charts . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2

    Chapter 3. Format of Statements . . . . . . . . . . . . . . . . . 3-1JCL Statement Fields . . . . . . . . . . . . . . . . . . . . . . 3-1

    Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 3-3JES2 Control Statement Fields . . . . . . . . . . . . . . . . . . . 3-4JES3 Control Statement Fields . . . . . . . . . . . . . . . . . . . 3-4Continuing Statements . . . . . . . . . . . . . . . . . . . . . . 3-4

    Continuing JCL Statements . . . . . . . . . . . . . . . . . . . 3-4Examples of Continued Statements . . . . . . . . . . . . . . . . 3-5Continuing JES2 Control Statements . . . . . . . . . . . . . . . 3-6Continuing JES3 Control Statements . . . . . . . . . . . . . . . 3-6

    Chapter 4. Syntax of Parameters . . . . . . . . . . . . . . . . . 4-1Notation Used to Show Syntax . . . . . . . . . . . . . . . . . . . 4-1Character Sets. . . . . . . . . . . . . . . . . . . . . . . . . 4-3Syntax Notes . . . . . . . . . . . . . . . . . . . . . . . . . 4-5Backward References . . . . . . . . . . . . . . . . . . . . . . 4-5

    Examples of Backward References . . . . . . . . . . . . . . . . 4-6

    Chapter 5. Procedures and Symbols . . . . . . . . . . . . . . . . 5-1

    Cataloged and In-Stream Procedures . . . . . . . . . . . . . . . . 5-1In-stream Procedures . . . . . . . . . . . . . . . . . . . . . 5-1Cataloged Procedures . . . . . . . . . . . . . . . . . . . . . 5-1Using a Procedure . . . . . . . . . . . . . . . . . . . . . . 5-2Testing a Procedure . . . . . . . . . . . . . . . . . . . . . . 5-2

    Modifying Procedures . . . . . . . . . . . . . . . . . . . . . . 5-3Explanation . . . . . . . . . . . . . . . . . . . . . . . . . 5-3Examples of Procedures . . . . . . . . . . . . . . . . . . . . 5-7

    Nested Procedures . . . . . . . . . . . . . . . . . . . . . . . 5-9Nesting Procedures . . . . . . . . . . . . . . . . . . . . . . 5-9Modifying Nested Procedures . . . . . . . . . . . . . . . . . . 5-10

    Copyright IBM Corp. 1988, 2002 iii

    ||

  • 8/6/2019 KNOWING JCL

    6/716

    Examples of Modifying Nested Procedures . . . . . . . . . . . . . 5-10Using System Symbols and JCL Symbols . . . . . . . . . . . . . . 5-12

    What are System Symbols? . . . . . . . . . . . . . . . . . . 5-12What are JCL Symbols?. . . . . . . . . . . . . . . . . . . . 5-13Coding Symbols in JCL . . . . . . . . . . . . . . . . . . . . 5-17Determining Equivalent JCL . . . . . . . . . . . . . . . . . . 5-19Examples of Defining and Coding Symbols in JCL . . . . . . . . . . 5-24

    Using Symbols in Nested Procedures . . . . . . . . . . . . . . . 5-26Examples of Coding Symbols in Nested Procedures . . . . . . . . . 5-27

    Chapter 6. Job Control Statements on the Output Listing . . . . . . . 6-1

    Chapter 7. Started Tasks . . . . . . . . . . . . . . . . . . . . 7-1Determining Whether to Use a Started Task . . . . . . . . . . . . . . 7-1Determining the Source JCL for the Started Task . . . . . . . . . . . . 7-1

    START Command Processing when the Member is a Procedure . . . . . 7-2START Command Processing when the Member is a Job . . . . . . . . 7-3Review Current Started Tasks . . . . . . . . . . . . . . . . . . 7-3Convert Procedures to Jobs (Optional) . . . . . . . . . . . . . . . 7-3

    Determining System Services for a Started Task . . . . . . . . . . . . 7-5

    Deciding Under Which Subsystem a Started Task Should Run . . . . . . 7-5Running a Started Task Under a Job Entry Subsystem . . . . . . . . . 7-6Running a Started Task Under the Master Subsystem . . . . . . . . . 7-6Running a Started Task That Uses ICF Catalogs . . . . . . . . . . . 7-7Set Up the Master JCL . . . . . . . . . . . . . . . . . . . . 7-7

    Coding the JCL . . . . . . . . . . . . . . . . . . . . . . . . 7-7Coding the JOB Statement for the Started Task . . . . . . . . . . . 7-7Using Symbols in Started Task JCL . . . . . . . . . . . . . . . . 7-8

    Naming a Started Task (Source JCL is a Job) . . . . . . . . . . . . . 7-11Setting Up Operator Education for Your Started Task . . . . . . . . . . 7-12

    Chapter 8. JCL Command Statement. . . . . . . . . . . . . . . . 8-1Description . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1

    Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 8-1Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 8-2Comments Field . . . . . . . . . . . . . . . . . . . . . . . 8-2Location in the JCL . . . . . . . . . . . . . . . . . . . . . . 8-2Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2Examples of the Command Statement . . . . . . . . . . . . . . . 8-2

    Chapter 9. COMMAND Statement . . . . . . . . . . . . . . . . . 9-1Description . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1

    Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . . 9-2

    Operation Field . . . . . . . . . . . . . . . . . . . . . . . 9-2Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 9-2Comments Field . . . . . . . . . . . . . . . . . . . . . . . 9-2Location in the JCL . . . . . . . . . . . . . . . . . . . . . . 9-2Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2Examples of the COMMAND Statement . . . . . . . . . . . . . . 9-3

    Chapter 10. Comment Statement . . . . . . . . . . . . . . . . . 10-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 10-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1Location in the JCL . . . . . . . . . . . . . . . . . . . . . 10-1

    iv z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    7/716

    Listing of Comments Statements . . . . . . . . . . . . . . . . 10-1Examples of the Comment Statement . . . . . . . . . . . . . . . 10-1

    Chapter 11. CNTL Statement . . . . . . . . . . . . . . . . . . 11-1Description. . . . . . . . . . . . . . . . . . . . . . . . . . 11-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1Label Field. . . . . . . . . . . . . . . . . . . . . . . . . 11-1

    Operation Field . . . . . . . . . . . . . . . . . . . . . . . 11-1Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 11-1Comments Field. . . . . . . . . . . . . . . . . . . . . . . 11-1Location in the JCL . . . . . . . . . . . . . . . . . . . . . 11-2Program Control Statements . . . . . . . . . . . . . . . . . . 11-2Program Control Statements in Procedures. . . . . . . . . . . . . 11-2Example of the CNTL Statement. . . . . . . . . . . . . . . . . 11-2

    Chapter 12. DD Statement . . . . . . . . . . . . . . . . . . . 12-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 12-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 12-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 12-3

    Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 12-3Comments Field . . . . . . . . . . . . . . . . . . . . . . 12-15Location in the JCL . . . . . . . . . . . . . . . . . . . . . 12-15Examples of DD Statements and ddnames . . . . . . . . . . . . 12-18

    * Parameter . . . . . . . . . . . . . . . . . . . . . . . . . 12-18Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-19Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-19Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-19Relationship to Other Control Statements . . . . . . . . . . . . . 12-20Location in the JCL . . . . . . . . . . . . . . . . . . . . . 12-20Unread Records . . . . . . . . . . . . . . . . . . . . . . 12-21Examples of the * Parameter . . . . . . . . . . . . . . . . . 12-21

    ACCODE Parameter . . . . . . . . . . . . . . . . . . . . . 12-22Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-22Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-22Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-22Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-23Example of the ACCODE Parameter . . . . . . . . . . . . . . . 12-23

    AMP Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-23Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-24Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-25Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-30Buffer Requirements. . . . . . . . . . . . . . . . . . . . . 12-30Examples of the AMP Parameter . . . . . . . . . . . . . . . . 12-30

    AVGREC Parameter. . . . . . . . . . . . . . . . . . . . . . 12-31

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-31Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-31Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-32Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-32Examples of the AVGREC Parameter . . . . . . . . . . . . . . 12-32

    BLKSIZE Parameter. . . . . . . . . . . . . . . . . . . . . . 12-32Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-33Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-33Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-33Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-33Relationship to Other Control Statements . . . . . . . . . . . . . 12-33

    Contents v

  • 8/6/2019 KNOWING JCL

    8/716

    Coexistence Considerations . . . . . . . . . . . . . . . . . . 12-34Examples of the BLKSIZE Parameter . . . . . . . . . . . . . . 12-34

    BLKSZLIM Parameter . . . . . . . . . . . . . . . . . . . . . 12-34Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-34Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-34Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-35Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-35

    Example of the BLKSZLIM Parameter . . . . . . . . . . . . . . 12-35BURST Parameter . . . . . . . . . . . . . . . . . . . . . . 12-35

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-36Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-36Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-36Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-36Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-36Relationship to Other Control Statements . . . . . . . . . . . . . 12-36Example of the BURST Parameter . . . . . . . . . . . . . . . 12-36

    CCSID Parameter . . . . . . . . . . . . . . . . . . . . . . 12-37Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-37Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-37Default. . . . . . . . . . . . . . . . . . . . . . . . . . 12-37

    Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-37Examples of the CCSID Parameter . . . . . . . . . . . . . . . 12-38

    CHARS Parameter . . . . . . . . . . . . . . . . . . . . . . 12-39Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-40Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-40Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-40Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-40Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-41Relationship to Other Control Statements . . . . . . . . . . . . . 12-41Requesting a High-Density Dump . . . . . . . . . . . . . . . . 12-41Examples of the CHARS Parameter . . . . . . . . . . . . . . . 12-41

    CHKPT Parameter . . . . . . . . . . . . . . . . . . . . . . 12-41Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-42Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-42Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-42Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-42Relationship to the SYSCKEOV DD Statement . . . . . . . . . . . 12-42Checkpointing Concatenated Data Sets . . . . . . . . . . . . . 12-42Examples of the CHKPT Parameter . . . . . . . . . . . . . . . 12-42

    CNTL Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-43Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-43Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-43Examples of the CNTL Parameter. . . . . . . . . . . . . . . . 12-43

    COPIES Parameter . . . . . . . . . . . . . . . . . . . . . . 12-44Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-44

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-44Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-45Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-45Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-45Relationship to Other Control Statements . . . . . . . . . . . . . 12-46Examples of the COPIES Parameter. . . . . . . . . . . . . . . 12-46

    DATA Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-47Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-47Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-48Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-48Relationship to Other Control Statements . . . . . . . . . . . . . 12-49

    vi z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    9/716

    Location in the JCL . . . . . . . . . . . . . . . . . . . . . 12-49Unread Records . . . . . . . . . . . . . . . . . . . . . . 12-49Examples of the DATA Parameter . . . . . . . . . . . . . . . . 12-49

    DATACLAS Parameter . . . . . . . . . . . . . . . . . . . . . 12-50Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-51Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-51Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-51

    Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-52Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-52Examples of the DATACLAS Parameter . . . . . . . . . . . . . 12-52

    DCB Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-53Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-53Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-54Completing the Data Control Block . . . . . . . . . . . . . . . 12-55Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-56Examples of the DCB Parameter . . . . . . . . . . . . . . . . 12-56DCB Subparameters . . . . . . . . . . . . . . . . . . . . 12-57

    DDNAME Parameter . . . . . . . . . . . . . . . . . . . . . 12-75Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-75Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-75

    Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-75Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-75Location in the JCL . . . . . . . . . . . . . . . . . . . . . 12-75Referenced DD Statement . . . . . . . . . . . . . . . . . . 12-76Backward References . . . . . . . . . . . . . . . . . . . . 12-78Examples of the DDNAME Parameter . . . . . . . . . . . . . . 12-78

    DEST Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-80Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-81Subparameter Definition for JES2 Systems . . . . . . . . . . . . 12-81Subparameter Definition for JES3 Systems . . . . . . . . . . . . 12-82Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-83Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 12-83Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-83Relationship to Other Control Statements . . . . . . . . . . . . . 12-84Example of the DEST Parameter . . . . . . . . . . . . . . . . 12-84

    DISP Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-84Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-85Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-85Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-89Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-90Disposition of QSAM Data Sets . . . . . . . . . . . . . . . . 12-90Disposition of Generation Data Sets . . . . . . . . . . . . . . . 12-90Disposition of Temporary Data Sets . . . . . . . . . . . . . . . 12-90Disposition of Partitioned Data Sets (PDSs and PDSEs) . . . . . . . 12-90Adding a Volume to a Cataloged Data Set . . . . . . . . . . . . 12-91

    DISP=MOD for a Multivolume Data Set. . . . . . . . . . . . . . 12-91Summary of Disposition Processing . . . . . . . . . . . . . . . 12-93Examples of the DISP Parameter . . . . . . . . . . . . . . . . 12-95

    DLM Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-96Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-96Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-97Default. . . . . . . . . . . . . . . . . . . . . . . . . . 12-97Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-97Invalid Delimiters . . . . . . . . . . . . . . . . . . . . . . 12-97Example of the DLM Parameter . . . . . . . . . . . . . . . . 12-97

    DSID Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-97

    Contents vii

  • 8/6/2019 KNOWING JCL

    10/716

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 12-98Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-98Relationship to Other Parameters . . . . . . . . . . . . . . . . 12-98Example of the DSID Parameter . . . . . . . . . . . . . . . . 12-99

    DSNAME Parameter . . . . . . . . . . . . . . . . . . . . . 12-99Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-100Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-101

    Relationship to Other Parameters . . . . . . . . . . . . . . . 12-106Examples of the DSNAME Parameter . . . . . . . . . . . . . . 12-107

    DSNTYPE Parameter . . . . . . . . . . . . . . . . . . . . . 12-108Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-109Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-109Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-109Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-109Relationship to Other Parameters . . . . . . . . . . . . . . . 12-109Examples of the DSNTYPE Parameter . . . . . . . . . . . . . 12-109

    DUMMY Parameter. . . . . . . . . . . . . . . . . . . . . . 12-111Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-111Parameters on DD DUMMY Statements . . . . . . . . . . . . . 12-111Relationship to Other Parameters . . . . . . . . . . . . . . . 12-112

    Relationship to Other Control Statements . . . . . . . . . . . . 12-112Relationship to Access Methods . . . . . . . . . . . . . . . . 12-112Examples of the DUMMY Parameter . . . . . . . . . . . . . . 12-112

    DYNAM Parameter . . . . . . . . . . . . . . . . . . . . . . 12-113Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-113Relationship to Other Parameters . . . . . . . . . . . . . . . 12-114Relationship to Other Control Statements . . . . . . . . . . . . 12-114Example of the DYNAM Parameter . . . . . . . . . . . . . . . 12-114

    EXPDT Parameter . . . . . . . . . . . . . . . . . . . . . . 12-114Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-114Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-115Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-115Relationship to Other Parameters . . . . . . . . . . . . . . . 12-115Deleting a Data Set Before its Expiration Date. . . . . . . . . . . 12-116Examples of the EXPDT Parameter. . . . . . . . . . . . . . . 12-116

    FCB Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-116Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-117Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-117Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-118Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-118Relationship to Other Parameters . . . . . . . . . . . . . . . 12-118Relationship to Other Control Statements . . . . . . . . . . . . 12-118Defining an FCB Image for a Work Station . . . . . . . . . . . . 12-118Requesting a High-Density Dump . . . . . . . . . . . . . . . 12-118Examples of the FCB Parameter . . . . . . . . . . . . . . . . 12-119

    FILEDATA Parameter . . . . . . . . . . . . . . . . . . . . . 12-119Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-120Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-120Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-120Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-120Relationship to Other Parameters . . . . . . . . . . . . . . . 12-120Example of the FILEDATA Parameter . . . . . . . . . . . . . . 12-120

    FLASH Parameter . . . . . . . . . . . . . . . . . . . . . . 12-121Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-121Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-121Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-121

    viii z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    11/716

    Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-121Relationship to Other Parameters . . . . . . . . . . . . . . . 12-122Relationship to Other Control Statements . . . . . . . . . . . . 12-122Verification of Forms Overlay Frame . . . . . . . . . . . . . . 12-122Printing without Flashing. . . . . . . . . . . . . . . . . . . 12-122Example of the FLASH Parameter . . . . . . . . . . . . . . . 12-122

    FREE Parameter . . . . . . . . . . . . . . . . . . . . . . 12-123

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-123Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-123Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-123Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-123Relationship to Other Parameters . . . . . . . . . . . . . . . 12-124Relationship to Other Control Statements . . . . . . . . . . . . 12-124Relationship to the CLOSE Macro Instruction . . . . . . . . . . . 12-124Examples of the FREE Parameter . . . . . . . . . . . . . . . 12-125

    HOLD Parameter . . . . . . . . . . . . . . . . . . . . . . 12-125Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-126Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-126Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-127Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-127

    Relationship to Other Parameters . . . . . . . . . . . . . . . 12-127Relationship to Other Control Statements . . . . . . . . . . . . 12-127Examples of the HOLD Parameter . . . . . . . . . . . . . . . 12-127

    KEYLEN Parameter . . . . . . . . . . . . . . . . . . . . . 12-128Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-128Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-128Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-128Relationship to Other Parameters . . . . . . . . . . . . . . . 12-129Examples of the KEYLEN Parameter . . . . . . . . . . . . . . 12-129

    KEYOFF Parameter . . . . . . . . . . . . . . . . . . . . . 12-129Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-130Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-130Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-130Relationship to Other Parameters . . . . . . . . . . . . . . . 12-130Example of the KEYOFF Parameter . . . . . . . . . . . . . . 12-130

    LABEL Parameter . . . . . . . . . . . . . . . . . . . . . . 12-130Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-131Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-131Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-134Relationship to Other Parameters . . . . . . . . . . . . . . . 12-134Relationship to Other Control Statements . . . . . . . . . . . . 12-135Data Conversion . . . . . . . . . . . . . . . . . . . . . 12-135Examples of the LABEL Parameter . . . . . . . . . . . . . . . 12-135

    LGSTREAM Parameter . . . . . . . . . . . . . . . . . . . . 12-136Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-137

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-137Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-137Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-137Relationship to Other Parameters . . . . . . . . . . . . . . . 12-137Example of the LGSTREAM Parameter . . . . . . . . . . . . . 12-138

    LIKE Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-138Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-139Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-139Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-139Relationship to Other Parameters . . . . . . . . . . . . . . . 12-139Examples of the LIKE Parameter . . . . . . . . . . . . . . . 12-140

    Contents ix

  • 8/6/2019 KNOWING JCL

    12/716

    LRECL Parameter . . . . . . . . . . . . . . . . . . . . . . 12-140Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-140Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-140Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-141Relationship to Other Parameters . . . . . . . . . . . . . . . 12-141Examples of the LRECL Parameter . . . . . . . . . . . . . . . 12-141

    MGMTCLAS Parameter . . . . . . . . . . . . . . . . . . . . 12-141

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-142Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-142Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-142Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-143Relationship to Other Parameters . . . . . . . . . . . . . . . 12-143Example of the MGMTCLAS Parameter . . . . . . . . . . . . . 12-143

    MODIFY Parameter . . . . . . . . . . . . . . . . . . . . . 12-143Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-144Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-144Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-144Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-144Relationship to Other Parameters . . . . . . . . . . . . . . . 12-144Relationship to Other Control Statements . . . . . . . . . . . . 12-145

    Example of the MODIFY Parameter . . . . . . . . . . . . . . 12-145OUTLIM Parameter . . . . . . . . . . . . . . . . . . . . . 12-145

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-145Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-145Default . . . . . . . . . . . . . . . . . . . . . . . . . 12-146Relationship to Other Parameters . . . . . . . . . . . . . . . 12-146Relationship to Other Control Statements . . . . . . . . . . . . 12-146Example of the OUTLIM Parameter . . . . . . . . . . . . . . 12-146

    OUTPUT Parameter . . . . . . . . . . . . . . . . . . . . . 12-146Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-147Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-147Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-147Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-148Relationship to Other Parameters . . . . . . . . . . . . . . . 12-148Location in the JCL . . . . . . . . . . . . . . . . . . . . 12-149No Match for OUTPUT Name . . . . . . . . . . . . . . . . . 12-149Processing Options in Multiple References . . . . . . . . . . . . 12-149Examples of the OUTPUT Parameter . . . . . . . . . . . . . . 12-149

    PATH Parameter . . . . . . . . . . . . . . . . . . . . . . 12-150Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-150Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-151Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-151Relationship to Other Parameters . . . . . . . . . . . . . . . 12-152Relationship to Other Statements . . . . . . . . . . . . . . . 12-153Dummy HFS Files . . . . . . . . . . . . . . . . . . . . . 12-153

    Example of the PATH Parameter. . . . . . . . . . . . . . . . 12-153PATHDISP Parameter. . . . . . . . . . . . . . . . . . . . . 12-154Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-154Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-154Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-154Relationship to Other Parameters . . . . . . . . . . . . . . . 12-155Example of the PATHDISP Parameter . . . . . . . . . . . . . . 12-155

    PATHMODE Parameter . . . . . . . . . . . . . . . . . . . . 12-155Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-156Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-156Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-158

    x z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    13/716

    Relationship to Other Parameters . . . . . . . . . . . . . . . 12-158Example of the PATHMODE Parameter . . . . . . . . . . . . . 12-159

    PATHOPTS Parameter . . . . . . . . . . . . . . . . . . . . 12-159Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-159Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-160Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-161Relationship to Other Parameters . . . . . . . . . . . . . . . 12-161

    File Status . . . . . . . . . . . . . . . . . . . . . . . . 12-162Example of the PATHOPTS Parameter . . . . . . . . . . . . . 12-162

    PROTECT Parameter . . . . . . . . . . . . . . . . . . . . . 12-162Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-163Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-163Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-163Relationship to Other Parameters . . . . . . . . . . . . . . . 12-163Requirements for Protecting a Tape Data Set . . . . . . . . . . . 12-164Requirements for Protecting a Tape Volume . . . . . . . . . . . 12-164Requirements for Protecting a Direct Access Data Set. . . . . . . . 12-164Examples of the PROTECT Parameter . . . . . . . . . . . . . 12-164

    QNAME Parameter . . . . . . . . . . . . . . . . . . . . . 12-165Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-165

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-165Relationship to Other Parameters . . . . . . . . . . . . . . . 12-166Examples of the QNAME Parameter . . . . . . . . . . . . . . 12-166

    RECFM Parameter . . . . . . . . . . . . . . . . . . . . . . 12-166Coding RECFM for BDAM Access Method . . . . . . . . . . . . 12-166Coding RECFM for BPAM Access Method . . . . . . . . . . . . 12-167Coding RECFM for BSAM, EXCP, and QSAM Access Methods . . . . 12-168Coding RECFM for QISAM Access Method . . . . . . . . . . . . 12-169Syntax: QISAM Access Method . . . . . . . . . . . . . . . . 12-169Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-169Relationship to Other Parameters . . . . . . . . . . . . . . . 12-169Examples of the RECFM Parameter . . . . . . . . . . . . . . 12-169

    RECORG Parameter . . . . . . . . . . . . . . . . . . . . . 12-170Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-170Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-170Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-171Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-171Relationship to Other Parameters . . . . . . . . . . . . . . . 12-171Example of the RECORG parameter . . . . . . . . . . . . . . 12-171

    REFDD Parameter . . . . . . . . . . . . . . . . . . . . . . 12-171Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-172Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-172Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-172Relationship to Other Parameters . . . . . . . . . . . . . . . 12-173Examples of the REFDD Parameter . . . . . . . . . . . . . . 12-173

    RETPD Parameter . . . . . . . . . . . . . . . . . . . . . . 12-173Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-174Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-174Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-174Relationship to Other Parameters . . . . . . . . . . . . . . . 12-174Deleting a Data Set Before its Retention Period Passes . . . . . . . 12-174Examples of the RETPD Parameter . . . . . . . . . . . . . . 12-175

    RLS Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-175Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-175Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-175Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-176

    Contents xi

  • 8/6/2019 KNOWING JCL

    14/716

    Relationship to Other Parameters . . . . . . . . . . . . . . . 12-176Examples of the RLS Parameter . . . . . . . . . . . . . . . . 12-176

    SECMODEL Parameter . . . . . . . . . . . . . . . . . . . . 12-176Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-177Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-177Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-177Relationship to Other Parameters . . . . . . . . . . . . . . . 12-178

    Examples of the SECMODEL Parameter . . . . . . . . . . . . . 12-178SEGMENT Parameter . . . . . . . . . . . . . . . . . . . . 12-178

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-178Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-178Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-179Relationship to Other Parameters . . . . . . . . . . . . . . . 12-179Example of the Segment Parameter . . . . . . . . . . . . . . 12-179

    SPACE Parameter . . . . . . . . . . . . . . . . . . . . . . 12-179Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-180Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-181Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-186Relationship to Other Parameters . . . . . . . . . . . . . . . 12-186SPACE for New Data Sets with SMS . . . . . . . . . . . . . . 12-186

    Examples of the SPACE Parameter . . . . . . . . . . . . . . 12-186SPIN Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-188

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-188Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-188Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-188Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-188Relationship to Other Parameters . . . . . . . . . . . . . . . 12-189Examples of the SPIN Parameter . . . . . . . . . . . . . . . 12-189

    STORCLAS Parameter . . . . . . . . . . . . . . . . . . . . 12-189Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-190Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-190Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-190Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-190Relationship to Other Parameters . . . . . . . . . . . . . . . 12-191Examples of the STORCLAS Parameter . . . . . . . . . . . . . 12-191

    SUBSYS Parameter . . . . . . . . . . . . . . . . . . . . . 12-191Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-192Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-192Relationship to Other Parameters . . . . . . . . . . . . . . . 12-193Subsystem Support for JCL Parameters . . . . . . . . . . . . . 12-193Examples of the SUBSYS Parameter . . . . . . . . . . . . . . 12-194

    SYSOUT Parameter . . . . . . . . . . . . . . . . . . . . . 12-194Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-195Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-196Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-197

    Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-197Relationship to Other Parameters . . . . . . . . . . . . . . . 12-197Relationship to Other Control Statements . . . . . . . . . . . . 12-198Starting an External Writer when Requested . . . . . . . . . . . 12-198Held Classes in a JES2 System . . . . . . . . . . . . . . . . 12-198Held Classes in a JES3 System . . . . . . . . . . . . . . . . 12-198Significance of Output Classes . . . . . . . . . . . . . . . . 12-199Examples of the SYSOUT Parameter . . . . . . . . . . . . . . 12-199

    TERM Parameter . . . . . . . . . . . . . . . . . . . . . . 12-200Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-200Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-200

    xii z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    15/716

    Relationship to Other Parameters . . . . . . . . . . . . . . . 12-200Location in the JCL . . . . . . . . . . . . . . . . . . . . 12-201Examples of the TERM Parameter . . . . . . . . . . . . . . . 12-201

    UCS Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-201Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-202Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-202Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 12-203

    Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-203Relationship to Other Parameters . . . . . . . . . . . . . . . 12-204Using Special Character Sets . . . . . . . . . . . . . . . . . 12-204Examples of the UCS Parameter . . . . . . . . . . . . . . . 12-204

    UNIT Parameter . . . . . . . . . . . . . . . . . . . . . . . 12-204Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-205Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-205Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-208Relationship of the UNIT Parameter to Other Parameters . . . . . . 12-209Location in the JCL . . . . . . . . . . . . . . . . . . . . 12-209Examples of the UNIT Parameter . . . . . . . . . . . . . . . 12-209

    VOLUME Parameter . . . . . . . . . . . . . . . . . . . . . 12-211Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 12-212

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 12-213Overrides . . . . . . . . . . . . . . . . . . . . . . . . 12-219Relationship to Other Parameters . . . . . . . . . . . . . . . 12-219VOLUME Parameter in a JES3 System . . . . . . . . . . . . . 12-219VOLUME Parameter for Optical Readers . . . . . . . . . . . . 12-220VOLUME Parameter for Nonspecific Volume Requests . . . . . . . 12-220VOLUME parameter for Specific Multi-Volume Tape Requests . . . . . 12-220Examples of the VOLUME Parameter . . . . . . . . . . . . . . 12-220

    Chapter 13. Special DD Statements . . . . . . . . . . . . . . . . 13-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 13-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1Special ddnames . . . . . . . . . . . . . . . . . . . . . . 13-1

    JOBCAT DD Statement . . . . . . . . . . . . . . . . . . . . . 13-1Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2Parameters on JOBCAT DD Statements . . . . . . . . . . . . . . 13-2Relationship to STEPCAT DD Statement . . . . . . . . . . . . . 13-2Relationship to Other Control Statements . . . . . . . . . . . . . 13-2Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-2Example of the JOBCAT DD Statement . . . . . . . . . . . . . . 13-2

    JOBLIB DD Statement . . . . . . . . . . . . . . . . . . . . . 13-2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3Parameters on JOBLIB DD Statements . . . . . . . . . . . . . . 13-3Relationship to Other Control Statements . . . . . . . . . . . . . 13-4Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-4

    Relationship of a JOBLIB to a STEPLIB . . . . . . . . . . . . . . 13-4Relationship between JOBLIB and Passed Data Sets . . . . . . . . . 13-5Examples of the JOBLIB DD Statement . . . . . . . . . . . . . . 13-6

    STEPCAT DD Statement . . . . . . . . . . . . . . . . . . . . 13-7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-8Parameters on STEPCAT DD Statements . . . . . . . . . . . . . 13-8Relationship to Other Control Statements . . . . . . . . . . . . . 13-8Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-8Example of the STEPCAT DD Statement . . . . . . . . . . . . . 13-8

    STEPLIB DD Statement . . . . . . . . . . . . . . . . . . . . . 13-9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-9

    Contents xiii

    ||

  • 8/6/2019 KNOWING JCL

    16/716

    Parameters on STEPLIB DD Statements . . . . . . . . . . . . . 13-9Relationship to Other Control Statements . . . . . . . . . . . . . 13-10Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-11Relationship of a STEPLIB to a JOBLIB . . . . . . . . . . . . . 13-11Examples of the STEPLIB DD Statement . . . . . . . . . . . . . 13-11

    SYSABEND, SYSMDUMP, and SYSUDUMP DD Statements. . . . . . . 13-12Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-13

    Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-13Storing a Dump . . . . . . . . . . . . . . . . . . . . . . 13-13Printing a Dump . . . . . . . . . . . . . . . . . . . . . . 13-13Overriding Dump DD Statements . . . . . . . . . . . . . . . . 13-14Duplicate Dump Requests . . . . . . . . . . . . . . . . . . 13-14Examples of the SYSABEND, SYSMDUMP, and SYSUDUMP DD

    Statements . . . . . . . . . . . . . . . . . . . . . . . 13-14SYSCHK DD Statement . . . . . . . . . . . . . . . . . . . . 13-15

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-15Parameters on SYSCHK DD Statements . . . . . . . . . . . . . 13-16Relationship to Other Control Statements . . . . . . . . . . . . . 13-17Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-17Examples of the SYSCHK DD Statement . . . . . . . . . . . . . 13-17

    SYSCKEOV DD Statement . . . . . . . . . . . . . . . . . . . 13-17Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-18Parameters on SYSCKEOV DD Statements . . . . . . . . . . . . 13-18Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-18Example of the SYSCKEOV DD Statement . . . . . . . . . . . . 13-18

    SYSIN DD Statement . . . . . . . . . . . . . . . . . . . . . 13-18Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 13-19Parameters on SYSIN DD Statements . . . . . . . . . . . . . . 13-19Location in the JCL . . . . . . . . . . . . . . . . . . . . . 13-19Examples of SYSIN DD Statements . . . . . . . . . . . . . . . 13-19

    Chapter 14. Delimiter Statement . . . . . . . . . . . . . . . . . 14-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 14-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1Comments Field. . . . . . . . . . . . . . . . . . . . . . . 14-1Relationship to the DLM Parameter . . . . . . . . . . . . . . . 14-1Location in the JCL . . . . . . . . . . . . . . . . . . . . . 14-2Examples of the Delimiter Statement . . . . . . . . . . . . . . . 14-2

    Chapter 15. ENDCNTL Statement. . . . . . . . . . . . . . . . . 15-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 15-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 15-1Label Field. . . . . . . . . . . . . . . . . . . . . . . . . 15-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 15-1Comments Field. . . . . . . . . . . . . . . . . . . . . . . 15-1

    Location in the JCL . . . . . . . . . . . . . . . . . . . . . 15-1Example of the ENDCNTL Statement . . . . . . . . . . . . . . . 15-1

    Chapter 16. EXEC Statement . . . . . . . . . . . . . . . . . . 16-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 16-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 16-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 16-2Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 16-2Comments Field. . . . . . . . . . . . . . . . . . . . . . . 16-5Location in the JCL . . . . . . . . . . . . . . . . . . . . . 16-5

    xiv z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    17/716

    Examples of EXEC Statements . . . . . . . . . . . . . . . . . 16-5ACCT Parameter . . . . . . . . . . . . . . . . . . . . . . . 16-6

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-6Subparameter Definition . . . . . . . . . . . . . . . . . . . . 16-7On an EXEC Statement that Calls a Procedure . . . . . . . . . . . 16-7Examples of the ACCT Parameter . . . . . . . . . . . . . . . . 16-7

    ADDRSPC Parameter . . . . . . . . . . . . . . . . . . . . . 16-8

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-8Subparameter Definition . . . . . . . . . . . . . . . . . . . . 16-8Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . 16-8Overrides . . . . . . . . . . . . . . . . . . . . . . . . . 16-8Relationship to the EXEC REGION Parameter . . . . . . . . . . . 16-8On an EXEC Statement that Calls a Procedure . . . . . . . . . . . 16-9Examples of the ADDRSPC Parameter . . . . . . . . . . . . . . 16-9

    CCSID Parameter . . . . . . . . . . . . . . . . . . . . . . . 16-9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-10Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-10Default. . . . . . . . . . . . . . . . . . . . . . . . . . 16-10Relationship to Other Parameters . . . . . . . . . . . . . . . . 16-10Examples of the CCSID Parameter . . . . . . . . . . . . . . . 16-10

    COND Parameter. . . . . . . . . . . . . . . . . . . . . . . 16-10Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-11Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-12Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 16-13Location in the JCL . . . . . . . . . . . . . . . . . . . . . 16-13On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-13Considerations when Using the COND Parameter. . . . . . . . . . 16-13Summary of COND Parameters . . . . . . . . . . . . . . . . 16-15Examples of the COND Parameter . . . . . . . . . . . . . . . 16-16

    DYNAMNBR Parameter . . . . . . . . . . . . . . . . . . . . 16-18Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-18Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-18Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 16-18On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-18Example of the DYNAMNBR Parameter . . . . . . . . . . . . . 16-19

    MEMLIMIT Parameter . . . . . . . . . . . . . . . . . . . . . 16-19Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-19Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-19Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 16-19Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 16-19Example of the MEMLIMIT Parameter . . . . . . . . . . . . . . 16-20

    PARM Parameter . . . . . . . . . . . . . . . . . . . . . . . 16-20Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-20Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-21On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-21

    Examples of the PARM Parameter . . . . . . . . . . . . . . . 16-21PERFORM Parameter . . . . . . . . . . . . . . . . . . . . . 16-21Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-22Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-22Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 16-22Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 16-22On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-23Example of the PERFORM Parameter . . . . . . . . . . . . . . 16-23

    PGM Parameter . . . . . . . . . . . . . . . . . . . . . . . 16-23Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-23Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-23

    Contents xv

  • 8/6/2019 KNOWING JCL

    18/716

    Examples of the PGM Parameter . . . . . . . . . . . . . . . . 16-24PROC and Procedure Name Parameters . . . . . . . . . . . . . . 16-25

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-25Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-25Effect of PROC Parameter on Other Parameters and Following

    Statements . . . . . . . . . . . . . . . . . . . . . . . 16-25Examples of the PROC Parameter . . . . . . . . . . . . . . . 16-26

    RD Parameter . . . . . . . . . . . . . . . . . . . . . . . . 16-26Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-27Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-27Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 16-28Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 16-28Relationship to Other Control Statements . . . . . . . . . . . . . 16-28On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-28Examples of the RD Parameter . . . . . . . . . . . . . . . . 16-28

    REGION Parameter . . . . . . . . . . . . . . . . . . . . . . 16-29Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-29Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-30Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 16-30Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 16-30

    Relationship to the EXEC ADDRSPC Parameter . . . . . . . . . . 16-31On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-31Examples of the REGION Parameter . . . . . . . . . . . . . . 16-31

    TIME Parameter . . . . . . . . . . . . . . . . . . . . . . . 16-31Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 16-32Subparameter Definition . . . . . . . . . . . . . . . . . . . 16-32Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 16-32Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 16-32On an EXEC Statement that Calls a Procedure. . . . . . . . . . . 16-33Examples of the TIME Parameter . . . . . . . . . . . . . . . . 16-33

    Chapter 17. IF/THEN/ELSE/ENDIF Statement Construct . . . . . . . . 17-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 17-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 17-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 17-2Relational-Expression Field . . . . . . . . . . . . . . . . . . 17-2Comments Field. . . . . . . . . . . . . . . . . . . . . . . 17-7Location in the JCL . . . . . . . . . . . . . . . . . . . . . 17-7Relationship to Other Parameters . . . . . . . . . . . . . . . . 17-7THEN and ELSE Clauses . . . . . . . . . . . . . . . . . . . 17-7Considerations when Using the IF/THEN/ELSE/ENDIF Construct. . . . . 17-8Examples of IF/THEN/ELSE/ENDIF Statement Constructs. . . . . . . 17-10

    Chapter 18. INCLUDE Statement . . . . . . . . . . . . . . . . . 18-1

    Description . . . . . . . . . . . . . . . . . . . . . . . . . 18-1Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 18-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 18-1Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 18-1Comments Field. . . . . . . . . . . . . . . . . . . . . . . 18-2Location in the JCL . . . . . . . . . . . . . . . . . . . . . 18-2Considerations for Using INCLUDE Groups . . . . . . . . . . . . 18-2Examples of the INCLUDE Statement: . . . . . . . . . . . . . . 18-2

    Chapter 19. JCLLIB Statement. . . . . . . . . . . . . . . . . . 19-1

    xvi z/OS V1R4.0 MVS JCL Reference

  • 8/6/2019 KNOWING JCL

    19/716

    Description . . . . . . . . . . . . . . . . . . . . . . . . . 19-1Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 19-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 19-2Operation Field . . . . . . . . . . . . . . . . . . . . . . . 19-2Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 19-2Comments Field. . . . . . . . . . . . . . . . . . . . . . . 19-3Location in the JCL . . . . . . . . . . . . . . . . . . . . . 19-3

    Considerations for Using the JCLLIB Statement . . . . . . . . . . . 19-3Examples of the JCLLIB Statement . . . . . . . . . . . . . . . 19-3

    Chapter 20. JOB Statement . . . . . . . . . . . . . . . . . . . 20-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 20-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 20-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 20-2Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 20-2Comments Field. . . . . . . . . . . . . . . . . . . . . . . 20-6Location in the JCL . . . . . . . . . . . . . . . . . . . . . 20-6Examples of JOB Statements . . . . . . . . . . . . . . . . . . 20-6

    Accounting Information Parameter . . . . . . . . . . . . . . . . . 20-6

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-7Subparameter Definition . . . . . . . . . . . . . . . . . . . . 20-7Relationship to Other Control Statements . . . . . . . . . . . . . 20-7JES2 Accounting Information Format . . . . . . . . . . . . . . . 20-8Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-8Examples of the Accounting Information Parameter. . . . . . . . . . 20-9

    ADDRSPC Parameter . . . . . . . . . . . . . . . . . . . . . 20-10Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-10Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-10Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-10Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-10Relationship to the JOB REGION Parameter. . . . . . . . . . . . 20-10Examples of the ADDRSPC Parameter . . . . . . . . . . . . . . 20-11

    BYTES Parameter . . . . . . . . . . . . . . . . . . . . . . 20-11Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-11Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-11Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-12Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-12Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-12Relationship to Other Control Statements . . . . . . . . . . . . . 20-12Examples of the BYTES Parameter . . . . . . . . . . . . . . . 20-12

    CARDS Parameter . . . . . . . . . . . . . . . . . . . . . . 20-13Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-13Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-13Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-14

    Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-14Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-14Relationship to Other Control Statements . . . . . . . . . . . . . 20-14Examples of the CARDS Parameter . . . . . . . . . . . . . . . 20-14

    CCSID Parameter . . . . . . . . . . . . . . . . . . . . . . 20-15Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-15Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-15Default. . . . . . . . . . . . . . . . . . . . . . . . . . 20-15Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-15Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-15Examples of the CCSID Parameter . . . . . . . . . . . . . . . 20-16

    Contents xvii

  • 8/6/2019 KNOWING JCL

    20/716

    CLASS Parameter . . . . . . . . . . . . . . . . . . . . . . 20-16Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-16Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-17Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-17Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-17Relationship to Other Control Statements . . . . . . . . . . . . . 20-17Example of the CLASS Parameter . . . . . . . . . . . . . . . 20-17

    COND Parameter. . . . . . . . . . . . . . . . . . . . . . . 20-17Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-18Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-18Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-18Summary of COND Parameters . . . . . . . . . . . . . . . . 20-19Examples of the COND Parameter . . . . . . . . . . . . . . . 20-19

    GROUP Parameter . . . . . . . . . . . . . . . . . . . . . . 20-19Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-20Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-20Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-20Example of the GROUP Parameter . . . . . . . . . . . . . . . 20-20

    JESLOG Parameter . . . . . . . . . . . . . . . . . . . . . . 20-20Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-21

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-21Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-21Examples of the JESLOG Parameter . . . . . . . . . . . . . . 20-21

    LINES Parameter . . . . . . . . . . . . . . . . . . . . . . . 20-22Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-22Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-22Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-22Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-23Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-23Relationship to Other Control Statements . . . . . . . . . . . . . 20-23Examples of the LINES Parameter . . . . . . . . . . . . . . . 20-23

    MEMLIMIT Parameter . . . . . . . . . . . . . . . . . . . . . 20-23Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-24Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-24Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-24Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-24Examples of the MEMLIMIT Parameter . . . . . . . . . . . . . . 20-24

    MSGCLASS Parameter . . . . . . . . . . . . . . . . . . . . 20-24Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-25Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-25Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-25Significance of Output Classes . . . . . . . . . . . . . . . . . 20-25Examples of the MSGCLASS Parameter . . . . . . . . . . . . . 20-26

    MSGLEVEL Parameter. . . . . . . . . . . . . . . . . . . . . 20-26Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-27

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-27Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-27Examples of the MSGLEVEL Parameter . . . . . . . . . . . . . 20-27

    NOTIFY Parameter . . . . . . . . . . . . . . . . . . . . . . 20-28Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-28Subparameter Definition for JES2 Systems . . . . . . . . . . . . 20-28Subparameter Definition for JES3 Systems . . . . . . . . . . . . 20-29Receiving Notification of Job Completion . . . . . . . . . . . . . 20-29Examples of the NOTIFY Parameter . . . . . . . . . . . . . . . 20-29

    PAGES Parameter . . . . . . . . . . . . . . . . . . . . . . 20-30Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-30

    xviii z/OS V1R4.0 MVS JCL Reference

    ||

    ||

    ||

    ||

    ||

  • 8/6/2019 KNOWING JCL

    21/716

    Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-30Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-30Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-31Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-31Relationship to Other Control Statements . . . . . . . . . . . . . 20-31Examples of the PAGES Parameter . . . . . . . . . . . . . . . 20-31

    PASSWORD Parameter . . . . . . . . . . . . . . . . . . . . 20-31

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-32Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-32Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-33Examples of the PASSWORD Parameter . . . . . . . . . . . . . 20-33

    PERFORM Parameter . . . . . . . . . . . . . . . . . . . . . 20-33Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-34Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-34Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-34Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-34Examples of the PERFORM Parameter. . . . . . . . . . . . . . 20-34

    Programmers Name Parameter . . . . . . . . . . . . . . . . . 20-35Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-35Parameter Definition. . . . . . . . . . . . . . . . . . . . . 20-36

    Examples of the Programmers Name Parameter . . . . . . . . . . 20-36PRTY Parameter . . . . . . . . . . . . . . . . . . . . . . . 20-36

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-37Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-37Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-37Example of the PRTY Parameter . . . . . . . . . . . . . . . . 20-37

    RD Parameter . . . . . . . . . . . . . . . . . . . . . . . . 20-37Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-38Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-39Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-39Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-39Relationship to Other Control Statements . . . . . . . . . . . . . 20-40Examples of the RD Parameter . . . . . . . . . . . . . . . . 20-40

    REGION Parameter . . . . . . . . . . . . . . . . . . . . . . 20-40Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-41Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-41Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-41Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-42Relationship to the JOB ADDRSPC Parameter . . . . . . . . . . . 20-42Examples of the REGION Parameter . . . . . . . . . . . . . . 20-42

    RESTART Parameter . . . . . . . . . . . . . . . . . . . . . 20-42Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-43Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-43Relationship to Other Control Statements . . . . . . . . . . . . . 20-43Cautions when Coding the RESTART Parameter . . . . . . . . . . 20-44

    Generation Data Sets in Restarted Jobs . . . . . . . . . . . . . 20-44Examples of the RESTART Parameter . . . . . . . . . . . . . . 20-44SECLABEL Parameter . . . . . . . . . . . . . . . . . . . . . 20-45

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-45Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-46Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-46Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-46Example of the SECLABEL Parameter . . . . . . . . . . . . . . 20-46

    SCHENV Parameter. . . . . . . . . . . . . . . . . . . . . . 20-46Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-47Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-47

    Contents xix

  • 8/6/2019 KNOWING JCL

    22/716

    Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-47Relationship to Other Control Statements . . . . . . . . . . . . . 20-47Example of the SCHENV Parameter . . . . . . . . . . . . . . . 20-47

    TIME Parameter . . . . . . . . . . . . . . . . . . . . . . . 20-47Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-48Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-48Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-48

    Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 20-49Examples of the TIME Parameter . . . . . . . . . . . . . . . . 20-49Examples of the TIME Parameter on JOB and EXEC Statements . . . . 20-49

    TYPRUN Parameter . . . . . . . . . . . . . . . . . . . . . . 20-50Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-51Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-51Relationship to Other Control Statements . . . . . . . . . . . . . 20-52Example of the TYPRUN Parameter . . . . . . . . . . . . . . . 20-52

    USER Parameter . . . . . . . . . . . . . . . . . . . . . . . 20-52Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 20-53Subparameter Definition . . . . . . . . . . . . . . . . . . . 20-53Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 20-53Relationship to Other Parameters . . . . . . . . . . . . . . . . 20-53

    Example of the USER Parameter . . . . . . . . . . . . . . . . 20-53

    Chapter 21. Null Statement . . . . . . . . . . . . . . . . . . . 21-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 21-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 21-1Location in the JCL . . . . . . . . . . . . . . . . . . . . . 21-1Example of the Null Statement . . . . . . . . . . . . . . . . . 21-1

    Chapter 22. OUTPUT JCL Statement . . . . . . . . . . . . . . . 22-1Description . . . . . . . . . . . . . . . . . . . . . . . . . 22-1

    Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 22-1Name Field . . . . . . . . . . . . . . . . . . . . . . . . 22-1Operation Field . . . . . . . . . . . . . . . . . . . . . . . 22-1Parameter Field . . . . . . . . . . . . . . . . . . . . . . . 22-2Comments Field. . . . . . . . . . . . . . . . . . . . . . . 22-9Location in the JCL . . . . . . . . . . . . . . . . . . . . . 22-9Overrides . . . . . . . . . . . . . . . . . . . . . . . . . 22-11Relationship to Sysout DD Statement . . . . . . . . . . . . . . 22-11Relationship to the JES2 /*OUTPUT Statement . . . . . . . . . . . 22-11Relationship to the JES3 //*FORMAT Statement . . . . . . . . . . 22-11

    ADDRESS Parameter . . . . . . . . . . . . . . . . . . . . . 22-12Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 22-12Subparameter Definition . . . . . . . . . . . . . . . . . . . 22-13Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 22-13Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 22-13

    Examples of the ADDRESS Parameter . . . . . . . . . . . . . . 22-13AFPSTATS Parameter . . . . . . . . . . . . . . . . . . . . . 22-14Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 22-15Parameter Definition. . . . . . . . . . . . . . . . . . . . . 22-15Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 22-15Overrides. . . . . . . . . . . . . . . . . . . . . . . . . 22-15Relationship to Other Control Statements . . . . . . . . . . . . . 22-15Example of the AFPSTATS keyword . . . . . . . . . . . . . . . 22-15

    BUILDING Parameter . . . . . . . . . . . . . . . . . . . . . 22-15Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 22-16Subparameter Definition . . . . . . . . . . . . . . . . . . . 22-16

    xx z/OS V1R4.0 MVS JCL Reference

    ||

    ||

    ||

    ||

    ||

    ||

    ||

  • 8/6/2019 KNOWING JCL

    23/716

    Defaults . . . . . . . . . . . . . . . . . . . . . . . . . 22-16Overrides. . . . . . . . . . . . . .