abcs of z/os system programming volume 13 · ibm.com/redbooks front cover abcs of z/os system...

1038
ibm.com/redbooks Front cover ABCs of z/OS System Programming Volume 13 Paul Rogers Juha Vainikainen JES3 internals and externals JES3 initialization statements, JES3 SDSF JES3 operator commands

Upload: trinhkien

Post on 30-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • ibm.com/redbooks

    Front cover

    ABCs of z/OS SystemProgrammingVolume 13

    Paul RogersJuha Vainikainen

    JES3 internals and externals

    JES3 initialization statements, JES3 SDSF

    JES3 operator commands

    http://www.redbooks.ibm.com/ http://www.redbooks.ibm.com/

  • International Technical Support Organization

    ABCs of z/OS System Programming Volume 13

    January 2012

    SG24-7717-01

  • Copyright International Business Machines Corporation 2009, 2012. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Corp.

    Second Edition (January 2012)

    This edition applies to version 1 release 13 modification 0 of IBM z/OS (product number 5694-A01) and to allsubsequent releases and modifications until otherwise indicated in new editions.

    Note: Before using this information and the product it supports, read the information in Notices on page xv.

  • Contents

    Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvTrademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi

    Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiThe team who wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiNow you can become a published author, too! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiiComments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiiStay connected to IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii

    Chapter 1. Job entry subsystem (JES3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1 What is a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2 JES3 LPAR sysplex - MULTISYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.3 Multiprocessor JES3 sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51.4 How JES fits into the MVS system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.5 Subsystems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91.6 JES3 as the primary subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.7 Defining subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.8 Subsystem interface - SSI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151.9 SSI control blocks and routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171.10 Example: SSI request to master subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191.11 JES3 complex - sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201.12 JES3 global benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221.13 JES and JESXCF communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241.14 JES3 and JESXCF initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261.15 JESXCF communication flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271.16 JESXCF status monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291.17 JESXCF macro services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301.18 JESXCF user exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321.19 XCF signalling paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341.20 JES3 SSI communication implementation - user to JES3. . . . . . . . . . . . . . . . . . . . . . 361.21 SSI communication implementation - Global / Local. . . . . . . . . . . . . . . . . . . . . . . . . . 391.22 JES3 SSI functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401.23 SSISERV function codes and JES3 destination queue . . . . . . . . . . . . . . . . . . . . . . . 411.24 JES3 destination queue - IATYDSQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431.25 Function control table - FCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441.26 JES3 FCT dispatching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451.27 FCT chaining. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471.28 Resident FCT chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481.29 Resident FCT Chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491.30 FCT dispatching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501.31 Example - MFM dispatch of WTR FCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511.32 JES3 TCB structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531.33 Posting JES3 IATNUC ECB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551.34 Major JES3 control blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561.35 JES3 DSP dictionary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581.36 JCT control block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591.37 Job queue element - JQE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601.38 JQE table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611.39 RESQUEUE control block - RQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

    Copyright IBM Corp. 2009, 2012. All rights reserved. iii

  • 1.40 RESQUEUE types and sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641.41 RQ control blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651.42 JES3 naming conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

    Chapter 2. Spool data sets and checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692.1 Spool data sets and checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702.2 JES3JCT - JES3 job control table on spool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712.3 JCT data Set allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722.4 JCT spool record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742.5 JCT dataspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752.6 Access to dataspace JCT entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772.7 IATXJCT - JCT access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782.8 IATXJCT macro. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792.9 JCT utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 802.10 IATUTJCT utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 812.11 Using IATUTJCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822.12 IATUTJCT JCL DD statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842.13 Running IATUTJCT utility considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852.14 JES3 Checkpoint data set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 872.15 JES3 spool data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892.16 Formatting spool data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

    Chapter 3. JES3 job flow and scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933.1 JES3 jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943.2 Scheduler elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953.3 JES3 JCT and job number range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 973.4 JES3 job flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993.5 JES3 MVS job flow - schedular elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1023.6 JES3 standard job JCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1033.7 Jobs JES3 control blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1043.8 JES3 non-standard job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063.9 JES3 operator callable DSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073.10 DSP dictionary and scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1103.11 Callable DSP processing - DC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1123.12 DC DSP job structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143.13 JSS scheduling - DC DSP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1153.14 RESQUEUE chaining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163.15 Scheduler element active - DC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173.16 DC DSP console commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1183.17 FCT chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1203.18 Converter/Interpreter processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1213.19 Converter/Intepreter processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1223.20 CI scheduler element processing FCTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1233.21 Main scheduler element processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1243.22 Main device scheduling - MDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1253.23 Generalized main scheduling - GMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1273.24 OUTSERV scheduler element processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1293.25 Output service processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1313.26 Purge processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1333.27 JES3 JECL statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1353.28 JES3 global failure options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373.29 JES3 inquiry (*i) commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1383.30 Modify (*F) commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139

    iv ABCs of z/OS System Programming Volume 13

  • 3.31 JES3 commands for DSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

    Chapter 4. JES3 spool data management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1434.1 JES3 spool I/O overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444.2 JES3 spool environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1464.3 Spool volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1474.4 Defining spool space allocation units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1494.5 Operator command for buffer usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1514.6 Selecting GRPSZ value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1524.7 GRPSZ selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1544.8 Single track table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1554.9 Single track table allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1574.10 Spool data management access methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1584.11 JES3 spool access method - JSAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1604.12 File description block (FDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1624.13 Spool record address - M.R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1634.14 Spool space allocation - JBT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1644.15 JBT description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1664.16 Creating spool files - SRFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1674.17 Creating a SRF control block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1684.18 Chained single record files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1704.19 Accessing job control blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1724.20 JDS control block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1734.21 Reading spool control blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1754.22 Reading spool files (one FCT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1764.23 Contention accessing JES3 spool files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1774.24 Creating multi-record files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1784.25 Reading multi-record files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1804.26 Multi-record file buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1814.27 DATCC field information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1834.28 Updating a MRF files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1844.29 JES3 SYSOUT data set names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185

    Chapter 5. JES3 initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1875.1 Initialization stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1885.2 JES3 initialization statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1895.3 JES3 initialization statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1915.4 Segmented initialization streams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975.5 Segmented initialization stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1995.6 Initialization stream checker (IATUTIS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2005.7 INTDEBUG initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2025.8 JES3 start procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2045.9 JES3 start types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2065.10 JES3 hot start with refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2085.11 Hot start with refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2105.12 Hot start with refresh considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2115.13 Serialization of JES3 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2125.14 JES3 configuration serialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2145.15 JES3 hot start with analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2155.16 *S JSS - start job scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2165.17 Automatic start - no *S JSS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2175.18 MONITOR DSP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2185.19 DSI processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220

    Contents v

  • 5.20 DSI processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2225.21 Special JES3 commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2235.22 OPTIONS initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2255.23 OPTIONS statement - WANTDUMP parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2265.24 JES3 abends and DM codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2285.25 JES3 initialization task - IATINTK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2295.26 JES3 checkpoint data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2315.27 Checkpoint records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2335.28 IATYCKP data mapping macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2355.29 Checkpoint problems at initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2375.30 Creating JES3 job zero . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2385.31 JES3 job zero . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2395.32 Job zero structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2405.33 *F CONFIG - dynamically changing JES3 configuration. . . . . . . . . . . . . . . . . . . . . . 2415.34 *F CONFIG command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2425.35 *F CONFIG command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2435.36 P= parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2445.37 LOG= parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2455.38 Add a SNARJP workstation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246

    Chapter 6. JES3 input service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2476.1 Jobs entering a JES3 system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2486.2 JES3 input service - two phases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2496.3 INTRDR Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2516.4 Controlling the INTRDR DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2536.5 DSP dictionary and INTRDR inquiries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2546.6 Disk reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2556.7 Disk reader (DR) job submission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2576.8 Disk reader processing DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2586.9 ISDRVR job processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2596.10 JES3 standard job created by ISDRVR DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2616.11 Input service driver job control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2626.12 Jobs can enter system in hold status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2636.13 JES3 job control statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2646.14 Facilities for debugging JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2666.15 Job using CBPRNT and DEBUG=ALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2686.16 Input service modules and exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2706.17 Input service exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2716.18 Input service exit flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2736.19 Security request overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2746.20 JES3 job validation objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2766.21 JES3 security verification at input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2776.22 Job validation and propagation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2796.23 JES3 security call and exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2816.24 RACF classes used to protect JES3 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2826.25 Writing user exits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2846.26 JES3 exit register conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2856.27 *I A command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2876.28 *I A command examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2886.29 *I B command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289

    Chapter 7. Converter/interpreter processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2917.1 Job active at CI scheduler element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292

    vi ABCs of z/OS System Programming Volume 13

  • 7.2 Interpreter service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2947.3 Interpreter parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2967.4 C/I parameters and managing proclibs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2987.5 CI initialization definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3007.6 Where does CI processing take place . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3027.7 Initialization Parameters for CI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3047.8 Jobs entering CI processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3067.9 Converter/Interpreter service phases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3087.10 CI global processing overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3117.11 POSTSCAN phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3147.12 Converter/interpreter exits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3167.13 C/I FSS address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3187.14 C/I FSS TCB structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3197.15 C/I initialization statement - FSSDEF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3207.16 Starting a C/I FSS address space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3227.17 C/I FSS communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3247.18 C/I FSS FCTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3267.19 C/I FSS FSI CONNECT to global . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3277.20 Schedule a Job for C/I FSS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3297.21 Operator control of CI subtasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3307.22 Display CI processing status of a job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3317.23 Change CI status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3337.24 INQUIRY/MODIFY POSTSCAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3357.25 JES3 proclib update facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3367.26 UPDATE job scheduler elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3387.27 Update job processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3397.28 PROCLIB operator command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

    Chapter 8. Main device scheduling (MDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3418.1 Main device scheduling features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3428.2 MDS benefits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3448.3 Job active in main scheduler element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3468.4 MDS processing phases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3488.5 SETPARAM statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3518.6 MDS processing queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3558.7 JES3/DFSMS communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3578.8 JSS scheduling of MAIN SE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3608.9 RESQUEUE chaining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3628.10 Job chains in MDS processing queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3648.11 A jobs MAIN scheduler element status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3668.12 MDS operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3688.13 MDS commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3708.14 JES3 device concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3718.15 JES3 task structure for MDS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3738.16 JES3 MDS initialization statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3748.17 DEVICE initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3768.18 Defining tape devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3788.19 Defining DASD devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3798.20 Generic and esoteric I/O device names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3818.21 Grouping I/O devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3838.22 Using *ALL in XUNIT and JUNIT definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3858.23 Defining a range of devices - NUMDEV parameter. . . . . . . . . . . . . . . . . . . . . . . . . . 3868.24 JES3 device tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388

    Contents vii

  • 8.25 SETNAME initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3908.26 HWSNAME initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3928.27 MDS initialization parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3948.28 MDS setup options - JOB versus THWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3978.29 MDS allocation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3988.30 Tape fetch processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3998.31 Volume mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4008.32 MDS mount messages and commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4018.33 Device mount status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4028.34 Inquiry command for devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4038.35 MDS volume and data set control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4048.36 Managing JES3 device online/offline status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4068.37 Data awareness in a JES3 complex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4088.38 IBM 3495 automated tape library data server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4118.39 MVS UNITNAMEs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4148.40 Coding ATLDS SETNAME statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4158.41 ATLDS DEVICE and SETNAME statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4168.42 ATLDS HWSNAME statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4188.43 Virtual tape server (VTS) tape libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4208.44 DEVICE statements for VTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4228.45 SETNAME statements for VTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4238.46 HWSNAME statements for VTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4248.47 Operator control of jobs in MDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4258.48 Operator control of jobs in MDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4268.49 MVS dynamic I/O reconfiguration and JES3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4278.50 Move a DASD volume to a new address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429

    Chapter 9. JES3 job scheduling - GMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4319.1 Generalized main scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4339.2 MAIN FCTs for processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4349.3 Job active in main scheduler element - GMS phase. . . . . . . . . . . . . . . . . . . . . . . . . . 4369.4 GMS scheduling algorithms - JES3-managed initiators . . . . . . . . . . . . . . . . . . . . . . . 4379.5 JES3 main definition - MAINPROC statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4409.6 GMS scheduling defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4429.7 Job selection mode - SELECT statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4439.8 MDS job setup selection - GMS SELECT statement . . . . . . . . . . . . . . . . . . . . . . . . . 4469.9 SELECT mode commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4489.10 Job-class group definition - GROUP statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4499.11 JES3 job class definition - CLASS statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4529.12 Operator commands for CLASS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4569.13 GMS internal data areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4579.14 JES3 GMS initiator management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4609.15 Which system a job executes on. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4619.16 GMS job selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4629.17 New jobs to SELECT queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4649.18 IAT8674 message - response to *I J command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4659.19 JES3 XCF group name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4669.20 XCF group and JES3 node display commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4689.21 Job in execution - SYSOUT data set processing . . . . . . . . . . . . . . . . . . . . . . . . . . . 4699.22 Working with executing jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4719.23 Inquiry active command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4739.24 WLM scheduling environment example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4759.25 Why use scheduling environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477

    viii ABCs of z/OS System Programming Volume 13

  • 9.26 JES3 and scheduling environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4789.27 Operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4799.28 Defining a DJC network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4819.29 DJC network processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4859.30 DJC network execution flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4879.31 DJCUPDAT FCT processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4899.32 Status of DJC jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490

    Chapter 10. WLM batch initiator management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49310.1 WLM batch initiator management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49510.2 WLM and JES3 interactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49710.3 Comparison of JES3/WLM job initiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49910.4 Classifying jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50110.5 JES3 batch job flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50310.6 JES3 job selection queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50410.7 Reclassifying jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50510.8 Change Service Class of Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50710.9 WLM Services used by JES3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50810.10 Registering service class queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51010.11 Batch job delays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51210.12 Pre-execution job delays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51410.13 Job response time goal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51510.14 Controlling batch job selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51610.15 Batch initiator job selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51710.16 Initiator startup and job select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51910.17 WLM initiators and sampling data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52110.18 Make a job run now. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52310.19 Make job run now considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52410.20 Make job run example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52510.21 WLM-managed initiator starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52610.22 WLM policy changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52810.23 Defining WLM service classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530

    Chapter 11. JES3 output processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53311.1 Output service processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53511.2 Processing output data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53711.3 Output service processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53911.4 Output service initialization statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54011.5 SYSOUT initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54111.6 SYSOUT order of overrides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54211.7 OUTPUT JCL order of override. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54411.8 Sample job for OSE construction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54611.9 Control blocks at OSE create . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54811.10 OSE construction steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55011.11 OSE construction - 1/3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55211.12 OSE Construction - 2/3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55311.13 OSE construction - 3/3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55411.14 In-storage MOSE/OSS chains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55511.15 OSE chained SRFs - long running job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55711.16 Defining output devices to JES3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55811.17 Printer DEVICE statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56011.18 Writer selection parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56211.19 Data set processing to writers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563

    Contents ix

  • 11.20 Scheduling OSEs to writers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56511.21 Output Operators Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56711.22 Output queues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56911.23 Writer hold classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57111.24 Output service writers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57211.25 Output writer operator commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57411.26 Controlling hot writers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57511.27 Query writer status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57611.28 Printer checkpoints and notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57711.29 Restarting printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57811.30 Checkpoints and notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58011.31 Repositioning output on printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58111.32 Operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58311.33 Operator commands for spool data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58411.34 Printing large data sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58611.35 THRESHLD specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58711.36 Scheduling THRESHOLD OSEs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58811.37 DSISO specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58911.38 External writers, PSO interface, and SAPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59111.39 Process SYSOUT (PSO) interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59311.40 SAPI overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59411.41 SSI function code 79 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59511.42 Multiple requests per address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59711.43 Using the SAPI interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59811.44 SAPI enhanced functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60011.45 Wildcard supported Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60111.46 Output functional subsystem (FSS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60211.47 FSS address space implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60411.48 Functional subsystem interface - FSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60511.49 WTR FSS communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60611.50 WTR FSSDEF statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60811.51 Sample PSF procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61011.52 Starting an FSS writer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61111.53 Starting an FSS writer address space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61211.54 Starting an FSS writer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61411.55 Read data set and release data set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61511.56 WTR FSS TCB structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61611.57 Query FSS writers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61811.58 Writer output multitasking facility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61911.59 Defining output multitasking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62011.60 WTR multitasking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621

    Chapter 12. JES3 and multisystem consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62312.1 Multisystem consoles in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62412.2 System symbols overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62612.3 JES3 system symbols support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62812.4 JES3 system symbols support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62912.5 Consoles in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63012.6 Message flow in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63212.7 CONSOLxx - CONSOLE statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63412.8 Command flow in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63612.9 Command routing in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63812.10 MVS ROUTE command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639

    x ABCs of z/OS System Programming Volume 13

  • 12.11 Defining system groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64112.12 ROUTE by groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64212.13 CMDSYS definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64312.14 Extended MCS consoles (EMCS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64512.15 Activating WRAP mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64712.16 CONSOLxx - CONSOLE statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64812.17 JES3 CONSTD initialization statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64912.18 Command prefixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65112.19 Multiple JES3 complexes in the same sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65312.20 Display command prefixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65512.21 System name as a command prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65612.22 Global MPF processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65712.23 JES3 message processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65812.24 JES3 console dynamic exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66012.25 Installing dynamic exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66112.26 JES3 macro processing considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66312.27 DSP console appendage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66512.28 DSP Processing Examples for CNDBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66612.29 JES3 command processing flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66712.30 Command processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66912.31 Command and message considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67012.32 Command processing exit IATUX18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67112.33 Displaying JES3 action messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67212.34 Displaying action messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67412.35 Sysplex-Wide WTOR Replies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675

    Chapter 13. MVS System Logger/JES3 DLOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67713.1 MVS System Logger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67813.2 MVS System Logger services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68013.3 MVS operations log (OPERLOG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68113.4 JES3 DLOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68213.5 JES3 DLOG function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68313.6 JES3 related address spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68413.7 MVS OPERLOG and DLOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685

    Chapter 14. RJP and NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68714.1 Defining BSC remote job processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68914.2 Defining SNA remote job processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69014.3 Controlling RJP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69114.4 Remote job processing (RJP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69314.5 RJP/NJE console support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69414.6 RJP console support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69614.7 Defining RJP consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69714.8 RJP console commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69814.9 Displaying RJP consoles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70014.10 NJE functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70114.11 NJE units of work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70314.12 Transport protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70414.13 BSC initialization statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70514.14 BSC line or CTC DEVICE statement for NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70614.15 NJERMT statement for NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70714.16 BSC - NJE commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70914.17 NJE command and message flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710

    Contents xi

  • 14.18 Dynamic SNA NJE node definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71214.19 Symbols in commands in exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71314.20 BSC NJE commands to Other Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71414.21 z/OS Bulk Data Transfer (BDT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71514.22 z/OS BDT options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71714.23 BDT SNA NJE processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71814.24 BDT - SYSOUT received at destination node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71914.25 BDT transmission streams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72014.26 XMIT JCL statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72114.27 Using XMIT statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72214.28 XMIT JCL statement rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72314.29 NJE JOB received at originating node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72414.30 JES3/BDT NJE outbound job processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72514.31 SNA NJE job received at execution node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72614.32 JES3 processing for a received NJE job. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72714.33 OUTSERV for NJE job at execution node. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72814.34 Output received at originating node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72914.35 Output processing at originating node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73014.36 JES3/BDT SNA NJE transmission summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73214.37 z/OS BDT network streams and BDT group identifier. . . . . . . . . . . . . . . . . . . . . . . 73314.38 Using JES3 DSISO for SNA NJE output data sets . . . . . . . . . . . . . . . . . . . . . . . . . 73414.39 Using DSISO for SNA NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73514.40 BDT initialization definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73614.41 BDT VLU usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73814.42 SNA NJE commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73914.43 JES3 networking over TCP/IP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74014.44 Networking over TCP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74214.45 Address spaces for JES3 TCP/IP/NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74314.46 Defining JES3 TCP/IP/NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74414.47 JES3 TCP/IP/NJE compared with BSC and SNA . . . . . . . . . . . . . . . . . . . . . . . . . . 74614.48 JES3/TCP/IP/NJE transmission summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74814.49 Defining TCP/IP/NJE NETSERV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74914.50 Netserv address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75114.51 NJERMT statement (node) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75314.52 Define TCP/IP SOCKET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75414.53 *X TCP - How It's Done. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75614.54 TCP/IP/NJE example environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75714.55 Example - on WTSCPLX9 start TCP/IP/NJE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75814.56 Example - on WTSCPLX9 convert networking protocol . . . . . . . . . . . . . . . . . . . . . 75914.57 Example - on WTSCPLX9 reroute network jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . 76014.58 Example - WTSCPLX4 messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76214.59 Summary of JES3 TCP/IP/NJE commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76314.60 Secure signon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76414.61 Secure signon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76514.62 Coexistence considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76614.63 Coexistence messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768

    Chapter 15. JES3 dynamic support programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76915.1 Scheduling and DSP dictionary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77015.2 Writing DSPs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77215.3 Steps for scheduling DSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77315.4 Writing a user DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77515.5 DSP initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776

    xii ABCs of z/OS System Programming Volume 13

  • 15.6 DSP initialization processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77715.7 DSP housekeeping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77815.8 Operator communication with DSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78015.9 DSP initialization and messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78115.10 Use of subtasking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78215.11 Dump job DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78315.12 Dump job DSP - (spool offload) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78415.13 Dump job reset option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78515.14 Dump job server mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78615.15 DJ server mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78715.16 DJ server mode tape drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78815.17 Using DJ server mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79015.18 DJ server mode examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79115.19 DJ server mode command examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79215.20 DJ operator messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79315.21 DJ server mode commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79415.22 DJ log data set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79515.23 Restore jobs in server mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79615.24 Creating JESNEWS data set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79815.25 JESNEWS DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79915.26 Dump core DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80015.27 JCT dataspace problem determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80115.28 JCT problem determination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80315.29 Job related information DSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 804

    Chapter 16. Spool partitioning and spool recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . 80716.1 Spool partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80816.2 Spool partitioning concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81016.3 Spool partitioning commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81216.4 Spool partitioning commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81316.5 Spool partitioning commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81416.6 Spool recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81516.7 Spool recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81616.8 Spool recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81716.9 Spool recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81916.10 Spool recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82116.11 Restart without a spool volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82216.12 Replace spool volume at restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82316.13 Spool operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82416.14 Spool operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82516.15 BADTRACK statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 826

    Chapter 17. JES3 Monitoring Facility (JMF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82917.1 JMF analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83017.2 JMF analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83117.3 JMF analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83217.4 Using JMF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83317.5 JMF parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83417.6 JMF reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83517.7 JMF reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83617.8 JMF overhead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83817.9 IATNUC posted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83917.10 System report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840

    Contents xiii

  • 17.11 Reports ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842

    Chapter 18. System Display and Search Facility (SDSF) in the JES3 environment . 84318.1 JES3 SDSF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84418.2 SDSF functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84518.3 USING JES3 SDSF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84618.4 SDSF tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85718.5 SDSF panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85818.6 SDSF help panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86418.7 SDSF server address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87618.8 SDSF security and ISFPARMS overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87718.9 Working with JES3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883

    18.9.1 Filtering display data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88718.9.2 View alternate form of a tabular SDSF panel fields . . . . . . . . . . . . . . . . . . . . . 892

    18.10 Input queue (I) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89318.11 Output queue (O) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89918.12 Held output queue (H) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90218.13 Status (ST) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90618.14 Job zero (J0) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90918.15 Viewing jobs spool data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91118.16 JESPlex (JP) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91918.17 Job class (JC) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92218.18 Initiator (INIT) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92318.19 Printers (PR) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92618.20 Punches (PUN) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93118.21 Readers (RDR) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93518.22 Lines (LI) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93718.23 Nodes (NO) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93918.24 Network servers (NS) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94118.25 Network Connection (NC) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94318.26 Spool volumes (SP) panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94618.27 User Session Log (ULOG) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94918.28 Hardcopy log panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95118.29 Working with MVS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96218.30 System Requests (SR) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96718.31 Scheduling environment (SE) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97018.32 Resources (RES) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97218.33 Enclaves (ENC) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97318.34 Processes (PS) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97718.35 Health Checker (CK) panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98018.36 SDSF REXX and SDSF in batch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98518.37 SDSF REXX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 985

    Appendix A. SDSF ISFPARMS default definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 991

    Appendix B. SDSF REXX and SDSF in batch examples . . . . . . . . . . . . . . . . . . . . . . . 999SDSF REXX - Show jobs in the JES3 MDS queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1000

    Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1011IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1011Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1011How to get IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1012Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1012

    xiv ABCs of z/OS System Programming Volume 13

  • Notices

    This information was developed for products and services offered in the U.S.A.

    IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service.

    IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.

    The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you.

    This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.

    Any references in this information to non-IBM websites are provided for convenience only and do not in any manner serve as an endorsement of those websites. The materials at those websites are not part of the materials for this IBM product and use of those websites is at your own risk.

    IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you.

    Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.

    This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental.

    COPYRIGHT LICENSE:

    This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.

    Copyright IBM Corp. 2009, 2012. All rights reserved. xv

  • Trademarks

    IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. These and other IBM trademarked terms are marked on their first occurrence in this information with the appropriate symbol ( or ), indicating US registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at http://www.ibm.com/legal/copytrade.shtml

    The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both:

    AS/400BookManagerCICSDB2ESCONFICONGDDMIBMIMSIMS/ESA

    MVSNetViewOS/390PR/SMPrint Services FacilityPrintWayRACFRedbooksRedbooks (logo) Resource Measurement Facility

    RETAINRMFSysplex TimerSystem StorageTivoliTotalStorageVTAMWebSpherez/Architecturez/OS

    The following terms are trademarks of other companies:

    PostScript, the Adobe logo, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.

    Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.

    Snapshot, and the NetApp logo are trademarks or registered trademarks of NetApp, Inc. in the U.S. and other countries.

    Java, and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.

    UNIX is a registered trademark of The Open Group in the United States and other countries.

    Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

    Other company, product, or service names may be trademarks or service marks of others.

    xvi ABCs of z/OS System Programming Volume 13

    http://www.ibm.com/legal/copytrade.shtml

  • Preface

    A major goal of operating systems is to process jobs while making the best use of system resources. Thus, one way of viewing operating systems is as resource managers. Before job processing, operating systems reserve input and output resources for jobs. During job processing, operating systems manage resources such as processors and storage. After job processing, operating systems free all resources used by the completed jobs, making the resources available to other jobs. This process is called resource management.

    There is more to the processing of jobs than the managing of resources needed by the jobs. At any instant, a number of jobs can be in various stages of preparation, processing, and post-processing activity. To use resources efficiently, operating systems divide jobs into parts. They distribute the parts of jobs to queues to wait for needed resources. Keeping track of where things are and routing work from queue to queue is called workflow management, and is a major function of any operating system.

    JES3 considers job priorities, device and processor alternatives, and installation-specified preferences in preparing jobs for processing job output. Features of the JES3 design include:

    Single-system image Workload balancing Availability Control flexibility Physical planning flexibility

    This IBM Redbooks publication describes a JES3 environment that includes the following:

    Job entry subsystem (JES3) Spool data sets and checkpoint JES3 job flow and scheduling JES3 spool data management JES3 initialization JES3 input service Converter/interpreter processing Main device scheduling (MDS) JES3 job scheduling - GMS WLM batch initiator management JES3 output processing JES3 and multisystem consoles MVS System Logger/JES3 DLOG RJP and NJE JES3 dynamic support programs Spool partitioning and spool recovery JES3 Monitoring Facility (JMF)

    This book will help you install, tailor and configure a JES3 system.

    The team who wrote this book

    This book was produced by a team of specialists from around the world working at the International Technical Support Organization, Poughkeepsie Center.

    Copyright IBM Corp. 2009, 2012. All rights reserved. xvii

  • Paul Rogers is a Consulting IT Specialist at the International Technical Support Organization, Poughkeepsie Center. He writes extensively and teaches IBM classes worldwide on various aspects of z/OS, z/OS UNIX, JES3, and Infoprint Server. Before joining the ITSO 20 years ago, Paul worked in the IBM Installation Support Center (ISC) in Greenford, England for eight years providing OS/390 and JES support for IBM EMEA and also in the Washington Systems Center for three years. He has worked for IBM for 44 1/2 years.

    Juha VainikainenJuha Vainkainen is a Senior I/T Specialist in IBM Finland. He has extensive knowledge of all aspects of OS/390 and z/OS and all related subsystems. He has worked with Infoprint Server extensively since OS/390 Release 5. Juha is now retired from IBM and was temporarily rehired to work on this book.

    Now you can become a published author, too!

    Here's an opportunity to spotlight your skills, grow your career, and become a published authorall at the same time! Join an ITSO residency project and help write a book in your area of expertise, while honing your experience using leading-edge technologies. Your efforts will help to increase product acceptance and customer satisfaction, as you expand your network of technical contacts and relationships. Residencies run from two to six weeks in length, and you can participate either in person or as a remote resident working from your home base.

    Find out more about the residency program, browse the residency index, and apply online at:

    ibm.com/redbooks/residencies.html

    Comments welcome

    Your comments are important to us!

    We want our books to be as helpful as possible. Send us your comments about this book or other IBM Redbooks publications in one of the following ways:

    Use the online Contact us review Redbooks form found at:

    ibm.com/redbooks

    Send your comments in an email to:

    [email protected]

    Mail your comments to:

    IBM Corporation, International Technical Support OrganizationDept. HYTF Mail Station P0992455 South RoadPoughkeepsie, NY 12601-5400

    Stay connected to IBM Redbooks

    Find us on Facebook:

    http://www.facebook.com/IBMRedbooks

    xviii ABCs of z/OS System Programming Volume 13

    http://www.redbooks.ibm.com/residencies.htmlhttp://www.redbooks.ibm.com/residencies.htmlhttp://www.redbooks.ibm.com/http://www.redbooks.ibm.com/http://www.redbooks.ibm.com/contacts.htmlhttp://www.facebook.com/IBMRedbooks

  • Follow us on Twitter:

    http://twitter.com/ibmredbooks

    Look for us on LinkedIn:

    http://www.linkedin.com/groups?home=&gid=2130806

    Explore new Redbooks publications, residencies, and workshops with the IBM Redbooks weekly newsletter:

    https://www.redbooks.ibm.com/Redbooks.nsf/subscribe?OpenForm

    Stay current on recent Redbooks publications with RSS Feeds:

    http://www.redbooks.ibm.com/rss.html

    Preface xix

    http://twitter.com/ibmredbookshttp://www.linkedin.com/groups?home=&gid=2130806https://www.redbooks.ibm.com/Redbooks.nsf/subscribe?OpenFormhttps://www.redbooks.ibm.com/Redbooks.nsf/subscribe?OpenFormhttp://www.redbooks.ibm.com/rss.html

  • xx ABCs of z/OS System Programming Volume 13

  • Chapter 1. Job entry subsystem (JES3)

    IBM's z/OS operating systems use a job entry subsystem (JES) to receive jobs into the operating system, schedule them for processing by MVS or z/OS, and to control their output processing.

    There are two versions of the job entry subsystem concept, JES3 and JES2. Some principle differences between the two JES systems include:

    JES3 provides resource management, dependent job control, and deadline scheduling for users of the system, while JES2 in the same system would require its users to manage these activities through other means.

    In cases where multiple z/OS systems are clustered (a sysplex), JES3 exercises centralized control over its processing functions through a single global JES3 processor. The global processor provides all job selection, scheduling, and device allocation functions for all of the other JES3 systems in the sysplex. JES2 is that component of MVS that only provides the necessary functions to get jobs into, and output out of, the MVS system. JES2 is designed to provide spooling, scheduling, and management facilities for the z/OS systems in a sysplex.

    With the z/OS MVS JES3 system, resource management and workflow management are shared between MVS and its Job Entry Subsystem 3 (JES3) component. Generally speaking, JES3 does resource management and workflow management before and after job execution, while MVS does resource and workflow management during job execution.

    JES3 considers job priorities, device and processor alternatives, and installation-specified preferences in preparing jobs for processing job output. Features of the JES3 design include:

    Single-system image

    Workload balancing

    Availability

    Control flexibility

    Physical planning flexibility

    1

    Copyright IBM Corp. 2009, 2012. All rights reserved. 1

  • 1.1 What is a sysplex

    What is a sysplexA sysplex is a collection