Understanding the Other JES
Total Page:16
File Type:pdf, Size:1020Kb
Understanding The Other JES Greg Thompson IBM System Test March 13, 2014 Session Number 15094 JES3 Spool Management 11 Trademarks • The following are trademarks of the International Business Machines Corporation in the United States and/or other countries. • IBM® • MVS • JES2 • JES3 • RACF® • z/OS® • zSeries® • The following are trademarks or registered trademarks of other companies. • * Registered trademarks of IBM Corporation • * All other products may be trademarks or registered trademarks of their respective companies. • Java and all Java-related trademarks and logos are trademarks of Sun Microsystems, Inc., in the United States and other countries. • Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. • Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation. • UNIX is a registered trademark of The Open Group in the United States and other countries. • SET and Secure Electronic Transaction are trademarks owned by SET Secure Electronic Transaction LLC. • Notes : • Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will • vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can • be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here. • IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply. • All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual • environmental costs and performance characteristics will vary depending on individual customer configurations and conditions. • This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. • Consult your local IBM business contact for information on the product or services available in your area. • All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. • Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the 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. 2 JES3 Spool Management 2 What does JES do? • Manages SPOOL space to store JCL, SYSIN, SYSOUT • Manages jobs (started tasks, TSO users, BATCH) • Does input processing for job • Manages conversion processing • Manages JES mode initiators • Selects jobs for execution • Processes SYSOUT • Provides execution services and enquiry services • Does remote processing (NJE/RJE/RJP) • Performs these functions across multiple z/OS images • Integrates images into a single system to process work 3 The IBM 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. JES3 Spool Management 3 JES2 • Common set of work queues stored in its checkpoint • Member adds to or selects work from this common queue • Checkpoint is time sliced among members • Simple mechanisms for managing work • Resource management done by MVS • Depend on MVS (scheduling environment, etc) to determine eligibility to select jobs for execution • Jobs sit in initiators waiting for resources • Peer to Peer relationship between members • Members select work that it can process • Little regard to other members • No single point of control • No critical member • Primary communication via JES2 checkpoint data set 4 JES3 Spool Management 4 JES2 MAS SPOOL CKPT Member Devices Member SYSA SYSC All members perform: • Input processing Member • Spool Management SYSB • Job Scheduling • SYSOUT scheduling • SSI processing • NJE/RJE 5 JES3 Spool Management 5 JES3 • JES3 does resource and workflow management before and after job execution. • MVS does resource and workflow management during job execution. • JES3 exercises centralized control through the global processor. • Global performs job selection, scheduling, and device allocation functions for the local processors. • Provides increased job scheduling control, deadline scheduling capabilities, and increased control with JES3 device allocation. 6 JES3 Spool Management 6 JES3 Global and Local Function SPOOL Devices Local Local Processor Processor Global Functions: Local Functions: • Input processing Global • C/I and WTR Functional • Spool Management Processor Subsystems (FSS) • Job setup • Netserv and BDT • Job scheduling • Some SSI processing • SYSOUT scheduling • SSI processing • C/I and WTR Functional Subsystems (FSS) • Netserv and BDT 7 JES3 Spool Management 7 JES3 Global • Introduces all jobs into the system • Handles scheduling of JCL Conversion/Interpretation (C/I) • Pre-execution setup of JES3 managed devices • Schedules jobs to all main processors (locals) • Has awareness of all jobs in execution • Handles scheduling of SYSOUT data sets for writers • Manages space on the shared-spool devices • Any Local can become a Global with a Dynamic System Interchange (DSI) 8 JES3 Spool Management 8 JES Structure • JES address space • Main task • Sub-dispatched (shared) with multiple processes • Subtasks to perform tasks that must MVS wait • Auxiliary address space to own processes/objects • Allows JES address space to fail yet JES functions continue • JESXCF services • Provide XCF communications between address spaces • Primary communication between JES3 global and locals • Mainly used for enquiry/posting function for JES2 • Manages status of JES address spaces • Notifies other members of a JES failure 9 JES3 Spool Management 9 JES2 Conversion Processing • Converts JCL into internal format needed to run job • JES2 calls MVS converter in the JES2 address space • PCE selects job and sets up environment • Subtask used to call z/OS converter • JCL interpretation occurs when job executes in target address space • Certain JCL error not detected until job is in execution • Converter parms (defaults) based on JOBCLASS • Journal, BLP, SMF exits, PROCLIB, region, SWA ABOVE, etc • TYPERUN=SCAN just performs conversion processing • Errors discovered during interpretation not detected 10 JES3 Spool Management 10 JES3 Converter/Interpreter (C/I) • C/I takes place in the JES3 global address space (C/I DSP) or can be offloaded to C/I FSSes. • JES3 C/I invokes the MVS C/I function to process the JCL. • JCL interpretation is done immediately after conversion. • In the C/I DSP or FSS rather than after job selection in an initiator. • Can provide quicker feedback of JCL errors. • Converter parms (defaults) set from CIPARM statement based upon the input device. • Journal, BLP, SMF exits, PROCLIB, region, SWA ABOVE, etc • TYPRUN=SCAN will also invoke the MVS interpreter. • Parameter and specification errors can be detected and corrected before a job is submitted for execution. 11 JES3 Spool Management 11 Functional Subsystems (FSS) Writers • Interface to offload function to separate address spaces • Reduces workload on JES main task • Original use for printer/writer support • Removes printer “driver” knowledge from JES and associates them with FSS software • JES managed interface • Controlled by JES commands 12 A functional subsystem (FSS) is a collection of programs residing in an address space separate from JES that communicates with JES to provide a JES-related function, such as print processing and converter/interpreter (C/I) processing for JES3. An FSS extends the scope of JES processing. Because an FSS operates in its own address space, it functions independently of JES in several areas. An FSS is responsible for: • The management of storage resources that it needs during data set processing including print buffers. • Its own recovery and serviceability. • Its performance and accounting measurements. • The security of its own resources. JES and the FSS communicate through the functional subsystem interface (FSI) and SSI. The FSI is a one level interface which provides two way communication. The FSI