Introduction to the new mainframe Chapter 10 Topics in z/OS system programming © Copyright IBM Corp., 2006. All rights reserved. py g p , g
Introduction to the new mainframe Objectives In this chapter you will learn to: • Discuss the responsibilities of a z/OS system programmer • Explain system libraries their use and methods for managing • Explain system libraries, their use, and methods for managing their content • Configure consoles • IPL a system © Copyright IBM Corp., 2006. All rights reserved. 2
Introduction to the new mainframe Key terms HCD PROCLIB • HCD • IODF • SYSRES • PROCLIB • system • symbols • SMP/E • LNKLST • IPL y • PSA • LPA • nucleus • IPL • WTOR • PARMLIB • nucleus • LOADPARM • SQA © Copyright IBM Corp., 2006. All rights reserved. 3
Introduction to the new mainframe Considerations for a new application b h li i h d l • New batch applications to scheduler • New JCL procedures to procedure library • Document operational procedures Document operational procedures • Security privileges • Add load libraries to system • Automation • Reload system (if required) © Copyright IBM Corp., 2006. All rights reserved. 4
Introduction to the new mainframe What is systems programming? A systems programmer installs, customizes and maintains th ti t the operating system To do this they need knowledge of Hard are • Hardware o Storage o Processor • Software o System libraries and data sets C t t i ti • Current customization © Copyright IBM Corp., 2006. All rights reserved. 5
Introduction to the new mainframe System programming overview System performance and workload management SYSTEM PROGRAMMING Security, Availability and Integrity System parameters and system libraries management Controlling operating activities and functions z/OS new features iodfxx iodfxx © Copyright IBM Corp., 2006. All rights reserved. 6 z/OS new features implementation and z/OS system maintenance Hardware I/O configuration iodfxx iodfxx
Introduction to the new mainframe z/OS operational system administration is: • Software installation and maintenance • Customize parameters • Customize parameters • System libraries for software • System data sets y • z/OS system address spaces and subsystems • Real and virtual storage © Copyright IBM Corp., 2006. All rights reserved. 7
Introduction to the new mainframe z/OS Workload Manager • Workload manager (WLM) is an address space which manages the tasks running on the system the tasks running on the system • Uses an installation-defined policy to determine relative priority of competing workloads • WLM can also be used to manage hardware resources © Copyright IBM Corp., 2006. All rights reserved. 8
Introduction to the new mainframe System performance • System tuning is constant and iterative • Only a real problem when resources are constrained • Only a real problem when resources are constrained • WLM is one component • Can only manage what is set up y g p • Initial set up of initiators and other resources plays a great part © Copyright IBM Corp., 2006. All rights reserved. 9
Introduction to the new mainframe Job flow • Job entry subsystem (JES) controls job flow • Receives jobs into system • Receives jobs into system • Initiates the job • Controls initial output processing p p g © Copyright IBM Corp., 2006. All rights reserved. 10
Introduction to the new mainframe I/O device management • Input/output device configuration must be defined to both hardware and software hardware and software • HCD is used to build an I/O definition file • This definition can be activated to both software and hardware dynamically • Sometimes major changes require an IPL of software or POR of hardware hardware © Copyright IBM Corp., 2006. All rights reserved. 11
Introduction to the new mainframe Security • Protection of data against unauthorized disclosure, transfer, modification or destruction modification or destruction • Systems programmer installs and maintains the security system © Copyright IBM Corp., 2006. All rights reserved. 12
Introduction to the new mainframe Integrity • Designed, implemented and maintained to protect against unauthorized access unauthorized access • Unauthorized software must not be able to access authorized states • Unauthorized software must not be able to bypass system security such as RACF © Copyright IBM Corp., 2006. All rights reserved. 13
Introduction to the new mainframe Availability • System availability is designed to be very high • Many systems require 24 hour 7 day operation • Many systems require 24 hour 7 day operation © Copyright IBM Corp., 2006. All rights reserved. 14
Introduction to the new mainframe Change control I/T organizations achieve their goals through disciplined h t d li f t change management processes and policy enforcement Th l i l d These goals include: • High service availability • Increased security • Increased security • Audit readiness • Cost savings g © Copyright IBM Corp., 2006. All rights reserved. 15
Introduction to the new mainframe z/OS operation • This is the day to day management of the operating environment both software and hardware both software and hardware • Operator interaction is message and command based • Automated processing of the messages and commands is available and operators now manage by exception © Copyright IBM Corp., 2006. All rights reserved. 16
Introduction to the new mainframe z/OS Production Control • Build batch schedules • Promote programs to production • Promote programs to production • Investigate batch failures © Copyright IBM Corp., 2006. All rights reserved. 17
Introduction to the new mainframe z/OS system libraries z/OS software Customization data Non-z/OS (CICS, DB2) Non z/OS (CICS, DB2) User defined exits Mainframe Non-IBM software User data © Copyright IBM Corp., 2006. All rights reserved. 18
Introduction to the new mainframe Types of data • z/OS software on SYSRES volumes • Non z/OS software e g CICS • Non-z/OS software e.g. CICS • Non-IBM software • Customization data – parmlib, IODF p , • User exits • User data – often the largest pool of volumes © Copyright IBM Corp., 2006. All rights reserved. 19
Introduction to the new mainframe z/OS system libraries These are the most important system libraries • SYS1.LINKLIB prime system software library • SYS1.LPALIB system subroutines • SYS1 NUCLEUS basic supervisor modules • SYS1.NUCLEUS basic supervisor modules • SYS1.PROCLIB system procedure JCL • SYS1.PARMLIB control parameters © Copyright IBM Corp., 2006. All rights reserved. 20
Introduction to the new mainframe SYS1.LINKLIB • SYS1.LINKLIB is the main software library • LNKLST concatenation is a group of system and user defined • LNKLST concatenation is a group of system and user-defined libraries which form part of the system search order for load modules • Not all on one volume © Copyright IBM Corp., 2006. All rights reserved. 21
Introduction to the new mainframe System search order for programs • Programs (load modules) must be in central storage and therefore in the virtual storage of the address space before they therefore in the virtual storage of the address space before they can run • System has a defined search order for a newly requested program © Copyright IBM Corp., 2006. All rights reserved. 22
Introduction to the new mainframe Search order for programs • STEPLIB if present • JOBLIB if present and no STEPLIB • JOBLIB if present and no STEPLIB • Link Pack Area (LPA) o Dynamic LPA modules y o Fixed LPA o Modified LPA o Pageable LPA o Pageable LPA • Linklist © Copyright IBM Corp., 2006. All rights reserved. 23
Introduction to the new mainframe Overview of LNKLST System Data Sets LNKLST SET SYS1.LINKLIB SYS1 MIGLIB Search order SYS1.MIGLIB SYS1.CSSLIB © Copyright IBM Corp., 2006. All rights reserved. 24 Other Load Libraries
Introduction to the new mainframe Using PROGxx to define LNKLST • A LNKLST set is an ordered list of datasets for processing as the LNKLST concatenation LNKLST concatenation • The PROGxx member may be used to define other lists as well as the linklist • The linklist must be: o Defined o Have libraries added o Have libraries added o Activated © Copyright IBM Corp., 2006. All rights reserved. 25
Introduction to the new mainframe Example linklist definition: LNKLST DEFINE NAME(LNKSYSA) COPYFROM(CURRENT) LNKLST ADD NAME(LNKSYSA) DSNAME(SYS1 PROD LOADLIB) DSNAME(SYS1.PROD.LOADLIB) LNKLST ADD NAME(LNKSYSA) DSNAME(SYS1 TEST LOADLIB) DSNAME(SYS1.TEST.LOADLIB) LNKLST ACTIVATE NAME(LNKSYSA) © Copyright IBM Corp., 2006. All rights reserved. 26
Introduction to the new mainframe LLA and VLF • Library LookAside is an address space which maintains a copy of the directories of selected libraries to improve performance of the directories of selected libraries to improve performance • By default, LLA always caches the linklist directories • Virtual Lookaside Facility is another address space which caches the most popular modules which reduces fetch time • VLF can also cache other data objects such as RACF tables to improve response improve response © Copyright IBM Corp., 2006. All rights reserved. 27
Introduction to the new mainframe Libraries and members at IPL time An number of libraries must be present for the system to l d t IPL ti load at IPL time • SYS1.PARMLIB contains the required definitions • SYSn IPLPARM searched for LOADxx • SYSn.IPLPARM searched for LOADxx • SYS1.LPALIB • SYS1.PROCLIB • SYS1.NUCLEUS © Copyright IBM Corp., 2006. All rights reserved. 28
Introduction to the new mainframe LOADxx LOADPARM defines the address of the IODF and the suffix f th LOAD b of the LOADxx member At IPL th t h f LOAD i At IPL the system searches for LOADxx in: • SYS0.IPLPARM – SYS9.IPLPARM on IODF volume • SYS1 PARMLIB on the IODF volume • SYS1.PARMLIB on the IODF volume • SYS1.PARMLIB on the IPL volume © Copyright IBM Corp., 2006. All rights reserved. 29
Introduction to the new mainframe LOADxx The LOADxx member specifies: • The IODF data set name • The master catalog name and volume • The parmlib concatenation • The parmlib concatenation • The IEASYSxx member to use © Copyright IBM Corp., 2006. All rights reserved. 30
Introduction to the new mainframe Defining a logical parmlib Loadxx IODF 00 SYS6 MOEMVSP1 01 Y SYSCAT MPAT1113CATALOG.MCAT.VMPCAT1 HWNAME P201 LPARNAME A1 LPARNAME A1 PARMLIB SYS0.IPLPARM PARMLIB SYS1.OS390R7.PARMLIB PARMLIB SYSPROG.SYS1.PARMLIB Parmlib concatenation SYS0.IPLPARM SYS1.OS390R7.PARMLIB SYSPROG.SYS1.PARMLIB Search order © Copyright IBM Corp., 2006. All rights reserved. 31 SYS1.PARMLIB
Introduction to the new mainframe IEASYSxx • This is the main parameter member for z/OS • IEASYS00 is used by default • IEASYS00 is used by default • If essential parameters are not specified then the operator will be prompted • Normally all parameters are specified to avoid inconsistent operator response © Copyright IBM Corp., 2006. All rights reserved. 32
Introduction to the new mainframe Parmlib commands • The parmlib concatenation can be displayed using D PARMLIB • The parameters used at IPL can be displayed using D IPLINFO • The parameters used at IPL can be displayed using D IPLINFO • The parmlib concatenation can be modified dynamically using SETLOAD xx,PARMLIB © Copyright IBM Corp., 2006. All rights reserved. 33
Introduction to the new mainframe Commands to DISPLAY PARMLIB D PARMLIB IEE251I 17.12.07 PARMLIB DISPLAY 377 PARMLIB DATA SETS SPECIFIED PARMLIB DATA SETS SPECIFIED AT IPL ENTRY FLAGS VOLUME DATA SET 1 S TOTSY1 SYS1.SYSPROG.PARMLIB 2 D TOTSY1 SYS1.PARMLIB 3 S Z04CAT CPAC.PARMLIB 4 S Z04RE1 SYS1.IBM.PARMLIB D IPLINFO IEE254I 17 15 29 IPLINFO DISPLAY 379 IEE254I 17.15.29 IPLINFO DISPLAY 379 SYSTEM IPLED AT 09.28.14 ON 07/23/2004 RELEASE z/OS 01.04.00 LICENSE = z/OS USED LOADR2 IN SYS0.IPLPARM ON 3800 ARCHLVL = 2 MTLSHARE = N IEASYM LIST XX IEASYM LIST = XX IEASYS LIST = (R3,04) (OP) IODF DEVICE 3800 IPL DEVICE 8038 VOLUME Z04RE1 © Copyright IBM Corp., 2006. All rights reserved. 34
Introduction to the new mainframe SYS1.LPALIB • The Link Pack Area (LPA) is built at IPL time from the modules defined in the LPALSTxx member of parmlib defined in the LPALSTxx member of parmlib. • SYS1.LPALIB is always the first library used unless overridden by a SYSLIB statement • Modules are loaded into common storage at IPL time and so are available to all address spaces © Copyright IBM Corp., 2006. All rights reserved. 35
Introduction to the new mainframe SYS1.LPALIB • Fixed LPA comprises those modules defined in IEAFIXxx that are fixed in central storage are fixed in central storage • Pageable LPA comprises most other modules whose pages are eligible to be stolen • Modified LPA has modules which are temporary replacements for PLPA modules and is searched first. © Copyright IBM Corp., 2006. All rights reserved. 36
Introduction to the new mainframe Example of LPALST member File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------- EDIT SYS1.PARMLIB(LPALST5B) - 01.01 Columns EDIT SYS1.PARMLIB(LPALST5B) 01.01 Columns 00001 00072 Command ===>_____________________________________ Scroll ===> CSR ******** ***************************** Top of Data ************** 000001 SYS2.LPALIB, 000002 SYS1.LPALIB, 000002 SYS1.LPALIB, 000003 SYS1.SERBLPA, 000004 SDF2.V1R4M0.SDGILPA, 000005 SYS1.SIATLPA, 000006 ING.SINGMOD3, 000007 NETVIEW.SCNMLPA1, 000007 NETVIEW.SCNMLPA1, 000008 REXX.V1R3M0.SEAGLPA, 000009 ISF.SISFLPA, 000010 EOY.SEOYLPA, 000011 SYS1.SBDTLPA, 000012 CEE SCEELPA 000012 CEE.SCEELPA, ****** **************************** Bottom of Data ************** © Copyright IBM Corp., 2006. All rights reserved. 37
Introduction to the new mainframe IEAFIX member File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------ EDIT SYS1.PARMLIB(IEAFIX01) - 01.01 Columns EDIT SYS1.PARMLIB(IEAFIX01) 01.01 Columns 00001 00072 Command ===>_____________________________________ Scroll ===> CSR ******** ***************************** Top of Data ********************** 000001 INCLUDE LIBRARY(SYS1.LPALIB) 000002 MODULES (IEAVAR00, /* 7K RCT INIT/TERM */ 000003 IEAVAR06, /* RCT INIT/TERM ALIAS */ , / / / 000004 IGC001G, /* 456 RESTORE(SVC17) */ 000005 ICHRFC00, /* RACF IMS/CICS */ 000006 ICHRFR00) /* RACF IMS/CICS */ 000007 INCLUDE LIBRARY(SYS1.SVCLIB) MODULES(IGC09302) ************************************** Bottom of Data ******************* © Copyright IBM Corp., 2006. All rights reserved. 38
Introduction to the new mainframe SYS1.PROCLIB • When the system is first IPL’d either the MSTJCL00 load module or MSTJCLxx in SYS1 PARMLIB is used to provide the JCL for or MSTJCLxx in SYS1.PARMLIB is used to provide the JCL for the master scheduler • This JCL at a minimum points to SYS1.PROCLIB to provide the JCL d f h i d k h JCL procedures for the required tasks to run the system © Copyright IBM Corp., 2006. All rights reserved. 39
Introduction to the new mainframe Sample master JCL //MSTJCL05 JOB MSGLEVEL=(1,1),TIME=1440 //EXEC PGM=IEEMB860 //EXEC PGM=IEEMB860 //STCINRDR DD SYSOUT=(A,INTRDR) //TSOINRDR DD SYSOUT=(A,INTRDR) ( , ) //IEFPDSI DD DSN=SYS1.PROCLIB,DISP=SHR //IEFPARM DD DSN=SYS1.PARMLIB,DISP=SHR // //SYSUADS DD DSN=SYS1.UADS,DISP=SHR //SYSLBC DD DSN=SYS1.BRODCAST,DISP=SHR © Copyright IBM Corp., 2006. All rights reserved. 40
Introduction to the new mainframe A job’s procedure library • The JES cataloged procedure in SYS1.PARMLIB contains lists of procedure libraries to be searched for JCL procedures procedure libraries to be searched for JCL procedures • JCLLIB may also be used to specify a private library to be searched first © Copyright IBM Corp., 2006. All rights reserved. 41
Introduction to the new mainframe Procedure library //PROC00 DD DSN=SYS1.PROCLIB,DISP=SHR //PROC00 DD DSN SYS1.PROCLIB,DISP SHR // DD DSN=SYS3.PROD.PROCLIB,DISP=SHR //PROC01 DD DSN=SYS1.PROC2,DISP=SHR ... //PROCnn DD DSN=SYS1.LASTPROC,DISP=SHR ... //MYJOB JOB //MYLIBS JCLLIB ORDER=(MY PROCLIB JCL SECOND PROCLIB JCL) ORDER=(MY.PROCLIB.JCL,SECOND.PROCLIB.JCL) //S1 EXEC PROC=MYPROC1 ... © Copyright IBM Corp., 2006. All rights reserved. 42
Introduction to the new mainframe System symbols • System symbols allow the use of a shared parmlib by two or more systems more systems • Each symbol has a name which can be used in various places and then substituted at IPL time • Major uses are indirect cataloging and substituting system specific datasets such as the page data sets © Copyright IBM Corp., 2006. All rights reserved. 43
Introduction to the new mainframe System symbols SYSDEF HWNAME(SCZP801) LPARNAME(A08) SYSNAME(SC04) SYSPARM(R3,04) SYMDEF(&CPCNAME='P801') SYMDEF(&CPCNAME= P801 ) SYMDEF(&DFHSMHST='ON') SYMDEF(&SYSR2=’ZXYSY2’) ( ) SYMDEF(&SYSR3=’&SYSR1(1:5).3’) © Copyright IBM Corp., 2006. All rights reserved. 44
Introduction to the new mainframe Use of system symbols PAGE=(PAGE.&SYSNAME..&PLPADSN1., PAGE &SYSNAME &COMMDSN1 PAGE.&SYSNAME..&COMMDSN1., PAGE.&SYSNAME..LOCAL1, PAGE &SYSNAME LOCAL2,L) PAGE.&SYSNAME..LOCAL2,L) © Copyright IBM Corp., 2006. All rights reserved. 45
Introduction to the new mainframe Summary The role of the system programmer is to install, customize and maintain the operating system and must be aware and maintain the operating system and must be aware of: • z/OS operational system administration • Workload management • System performance • Job flow Job flow • I/O device management • Security/integrity/availability / i • z/OS Operation • Change management © Copyright IBM Corp., 2006. All rights reserved. 46

Microsoft PowerPoint - Chapter16 System programming slides.ppt [Compatibility Mode] - Chapter10_System_programming_slides.pdf

  • 1.
    Introduction to thenew mainframe Chapter 10 Topics in z/OS system programming © Copyright IBM Corp., 2006. All rights reserved. py g p , g
  • 2.
    Introduction to thenew mainframe Objectives In this chapter you will learn to: • Discuss the responsibilities of a z/OS system programmer • Explain system libraries their use and methods for managing • Explain system libraries, their use, and methods for managing their content • Configure consoles • IPL a system © Copyright IBM Corp., 2006. All rights reserved. 2
  • 3.
    Introduction to thenew mainframe Key terms HCD PROCLIB • HCD • IODF • SYSRES • PROCLIB • system • symbols • SMP/E • LNKLST • IPL y • PSA • LPA • nucleus • IPL • WTOR • PARMLIB • nucleus • LOADPARM • SQA © Copyright IBM Corp., 2006. All rights reserved. 3
  • 4.
    Introduction to thenew mainframe Considerations for a new application b h li i h d l • New batch applications to scheduler • New JCL procedures to procedure library • Document operational procedures Document operational procedures • Security privileges • Add load libraries to system • Automation • Reload system (if required) © Copyright IBM Corp., 2006. All rights reserved. 4
  • 5.
    Introduction to thenew mainframe What is systems programming? A systems programmer installs, customizes and maintains th ti t the operating system To do this they need knowledge of Hard are • Hardware o Storage o Processor • Software o System libraries and data sets C t t i ti • Current customization © Copyright IBM Corp., 2006. All rights reserved. 5
  • 6.
    Introduction to thenew mainframe System programming overview System performance and workload management SYSTEM PROGRAMMING Security, Availability and Integrity System parameters and system libraries management Controlling operating activities and functions z/OS new features iodfxx iodfxx © Copyright IBM Corp., 2006. All rights reserved. 6 z/OS new features implementation and z/OS system maintenance Hardware I/O configuration iodfxx iodfxx
  • 7.
    Introduction to thenew mainframe z/OS operational system administration is: • Software installation and maintenance • Customize parameters • Customize parameters • System libraries for software • System data sets y • z/OS system address spaces and subsystems • Real and virtual storage © Copyright IBM Corp., 2006. All rights reserved. 7
  • 8.
    Introduction to thenew mainframe z/OS Workload Manager • Workload manager (WLM) is an address space which manages the tasks running on the system the tasks running on the system • Uses an installation-defined policy to determine relative priority of competing workloads • WLM can also be used to manage hardware resources © Copyright IBM Corp., 2006. All rights reserved. 8
  • 9.
    Introduction to thenew mainframe System performance • System tuning is constant and iterative • Only a real problem when resources are constrained • Only a real problem when resources are constrained • WLM is one component • Can only manage what is set up y g p • Initial set up of initiators and other resources plays a great part © Copyright IBM Corp., 2006. All rights reserved. 9
  • 10.
    Introduction to thenew mainframe Job flow • Job entry subsystem (JES) controls job flow • Receives jobs into system • Receives jobs into system • Initiates the job • Controls initial output processing p p g © Copyright IBM Corp., 2006. All rights reserved. 10
  • 11.
    Introduction to thenew mainframe I/O device management • Input/output device configuration must be defined to both hardware and software hardware and software • HCD is used to build an I/O definition file • This definition can be activated to both software and hardware dynamically • Sometimes major changes require an IPL of software or POR of hardware hardware © Copyright IBM Corp., 2006. All rights reserved. 11
  • 12.
    Introduction to thenew mainframe Security • Protection of data against unauthorized disclosure, transfer, modification or destruction modification or destruction • Systems programmer installs and maintains the security system © Copyright IBM Corp., 2006. All rights reserved. 12
  • 13.
    Introduction to thenew mainframe Integrity • Designed, implemented and maintained to protect against unauthorized access unauthorized access • Unauthorized software must not be able to access authorized states • Unauthorized software must not be able to bypass system security such as RACF © Copyright IBM Corp., 2006. All rights reserved. 13
  • 14.
    Introduction to thenew mainframe Availability • System availability is designed to be very high • Many systems require 24 hour 7 day operation • Many systems require 24 hour 7 day operation © Copyright IBM Corp., 2006. All rights reserved. 14
  • 15.
    Introduction to thenew mainframe Change control I/T organizations achieve their goals through disciplined h t d li f t change management processes and policy enforcement Th l i l d These goals include: • High service availability • Increased security • Increased security • Audit readiness • Cost savings g © Copyright IBM Corp., 2006. All rights reserved. 15
  • 16.
    Introduction to thenew mainframe z/OS operation • This is the day to day management of the operating environment both software and hardware both software and hardware • Operator interaction is message and command based • Automated processing of the messages and commands is available and operators now manage by exception © Copyright IBM Corp., 2006. All rights reserved. 16
  • 17.
    Introduction to thenew mainframe z/OS Production Control • Build batch schedules • Promote programs to production • Promote programs to production • Investigate batch failures © Copyright IBM Corp., 2006. All rights reserved. 17
  • 18.
    Introduction to thenew mainframe z/OS system libraries z/OS software Customization data Non-z/OS (CICS, DB2) Non z/OS (CICS, DB2) User defined exits Mainframe Non-IBM software User data © Copyright IBM Corp., 2006. All rights reserved. 18
  • 19.
    Introduction to thenew mainframe Types of data • z/OS software on SYSRES volumes • Non z/OS software e g CICS • Non-z/OS software e.g. CICS • Non-IBM software • Customization data – parmlib, IODF p , • User exits • User data – often the largest pool of volumes © Copyright IBM Corp., 2006. All rights reserved. 19
  • 20.
    Introduction to thenew mainframe z/OS system libraries These are the most important system libraries • SYS1.LINKLIB prime system software library • SYS1.LPALIB system subroutines • SYS1 NUCLEUS basic supervisor modules • SYS1.NUCLEUS basic supervisor modules • SYS1.PROCLIB system procedure JCL • SYS1.PARMLIB control parameters © Copyright IBM Corp., 2006. All rights reserved. 20
  • 21.
    Introduction to thenew mainframe SYS1.LINKLIB • SYS1.LINKLIB is the main software library • LNKLST concatenation is a group of system and user defined • LNKLST concatenation is a group of system and user-defined libraries which form part of the system search order for load modules • Not all on one volume © Copyright IBM Corp., 2006. All rights reserved. 21
  • 22.
    Introduction to thenew mainframe System search order for programs • Programs (load modules) must be in central storage and therefore in the virtual storage of the address space before they therefore in the virtual storage of the address space before they can run • System has a defined search order for a newly requested program © Copyright IBM Corp., 2006. All rights reserved. 22
  • 23.
    Introduction to thenew mainframe Search order for programs • STEPLIB if present • JOBLIB if present and no STEPLIB • JOBLIB if present and no STEPLIB • Link Pack Area (LPA) o Dynamic LPA modules y o Fixed LPA o Modified LPA o Pageable LPA o Pageable LPA • Linklist © Copyright IBM Corp., 2006. All rights reserved. 23
  • 24.
    Introduction to thenew mainframe Overview of LNKLST System Data Sets LNKLST SET SYS1.LINKLIB SYS1 MIGLIB Search order SYS1.MIGLIB SYS1.CSSLIB © Copyright IBM Corp., 2006. All rights reserved. 24 Other Load Libraries
  • 25.
    Introduction to thenew mainframe Using PROGxx to define LNKLST • A LNKLST set is an ordered list of datasets for processing as the LNKLST concatenation LNKLST concatenation • The PROGxx member may be used to define other lists as well as the linklist • The linklist must be: o Defined o Have libraries added o Have libraries added o Activated © Copyright IBM Corp., 2006. All rights reserved. 25
  • 26.
    Introduction to thenew mainframe Example linklist definition: LNKLST DEFINE NAME(LNKSYSA) COPYFROM(CURRENT) LNKLST ADD NAME(LNKSYSA) DSNAME(SYS1 PROD LOADLIB) DSNAME(SYS1.PROD.LOADLIB) LNKLST ADD NAME(LNKSYSA) DSNAME(SYS1 TEST LOADLIB) DSNAME(SYS1.TEST.LOADLIB) LNKLST ACTIVATE NAME(LNKSYSA) © Copyright IBM Corp., 2006. All rights reserved. 26
  • 27.
    Introduction to thenew mainframe LLA and VLF • Library LookAside is an address space which maintains a copy of the directories of selected libraries to improve performance of the directories of selected libraries to improve performance • By default, LLA always caches the linklist directories • Virtual Lookaside Facility is another address space which caches the most popular modules which reduces fetch time • VLF can also cache other data objects such as RACF tables to improve response improve response © Copyright IBM Corp., 2006. All rights reserved. 27
  • 28.
    Introduction to thenew mainframe Libraries and members at IPL time An number of libraries must be present for the system to l d t IPL ti load at IPL time • SYS1.PARMLIB contains the required definitions • SYSn IPLPARM searched for LOADxx • SYSn.IPLPARM searched for LOADxx • SYS1.LPALIB • SYS1.PROCLIB • SYS1.NUCLEUS © Copyright IBM Corp., 2006. All rights reserved. 28
  • 29.
    Introduction to thenew mainframe LOADxx LOADPARM defines the address of the IODF and the suffix f th LOAD b of the LOADxx member At IPL th t h f LOAD i At IPL the system searches for LOADxx in: • SYS0.IPLPARM – SYS9.IPLPARM on IODF volume • SYS1 PARMLIB on the IODF volume • SYS1.PARMLIB on the IODF volume • SYS1.PARMLIB on the IPL volume © Copyright IBM Corp., 2006. All rights reserved. 29
  • 30.
    Introduction to thenew mainframe LOADxx The LOADxx member specifies: • The IODF data set name • The master catalog name and volume • The parmlib concatenation • The parmlib concatenation • The IEASYSxx member to use © Copyright IBM Corp., 2006. All rights reserved. 30
  • 31.
    Introduction to thenew mainframe Defining a logical parmlib Loadxx IODF 00 SYS6 MOEMVSP1 01 Y SYSCAT MPAT1113CATALOG.MCAT.VMPCAT1 HWNAME P201 LPARNAME A1 LPARNAME A1 PARMLIB SYS0.IPLPARM PARMLIB SYS1.OS390R7.PARMLIB PARMLIB SYSPROG.SYS1.PARMLIB Parmlib concatenation SYS0.IPLPARM SYS1.OS390R7.PARMLIB SYSPROG.SYS1.PARMLIB Search order © Copyright IBM Corp., 2006. All rights reserved. 31 SYS1.PARMLIB
  • 32.
    Introduction to thenew mainframe IEASYSxx • This is the main parameter member for z/OS • IEASYS00 is used by default • IEASYS00 is used by default • If essential parameters are not specified then the operator will be prompted • Normally all parameters are specified to avoid inconsistent operator response © Copyright IBM Corp., 2006. All rights reserved. 32
  • 33.
    Introduction to thenew mainframe Parmlib commands • The parmlib concatenation can be displayed using D PARMLIB • The parameters used at IPL can be displayed using D IPLINFO • The parameters used at IPL can be displayed using D IPLINFO • The parmlib concatenation can be modified dynamically using SETLOAD xx,PARMLIB © Copyright IBM Corp., 2006. All rights reserved. 33
  • 34.
    Introduction to thenew mainframe Commands to DISPLAY PARMLIB D PARMLIB IEE251I 17.12.07 PARMLIB DISPLAY 377 PARMLIB DATA SETS SPECIFIED PARMLIB DATA SETS SPECIFIED AT IPL ENTRY FLAGS VOLUME DATA SET 1 S TOTSY1 SYS1.SYSPROG.PARMLIB 2 D TOTSY1 SYS1.PARMLIB 3 S Z04CAT CPAC.PARMLIB 4 S Z04RE1 SYS1.IBM.PARMLIB D IPLINFO IEE254I 17 15 29 IPLINFO DISPLAY 379 IEE254I 17.15.29 IPLINFO DISPLAY 379 SYSTEM IPLED AT 09.28.14 ON 07/23/2004 RELEASE z/OS 01.04.00 LICENSE = z/OS USED LOADR2 IN SYS0.IPLPARM ON 3800 ARCHLVL = 2 MTLSHARE = N IEASYM LIST XX IEASYM LIST = XX IEASYS LIST = (R3,04) (OP) IODF DEVICE 3800 IPL DEVICE 8038 VOLUME Z04RE1 © Copyright IBM Corp., 2006. All rights reserved. 34
  • 35.
    Introduction to thenew mainframe SYS1.LPALIB • The Link Pack Area (LPA) is built at IPL time from the modules defined in the LPALSTxx member of parmlib defined in the LPALSTxx member of parmlib. • SYS1.LPALIB is always the first library used unless overridden by a SYSLIB statement • Modules are loaded into common storage at IPL time and so are available to all address spaces © Copyright IBM Corp., 2006. All rights reserved. 35
  • 36.
    Introduction to thenew mainframe SYS1.LPALIB • Fixed LPA comprises those modules defined in IEAFIXxx that are fixed in central storage are fixed in central storage • Pageable LPA comprises most other modules whose pages are eligible to be stolen • Modified LPA has modules which are temporary replacements for PLPA modules and is searched first. © Copyright IBM Corp., 2006. All rights reserved. 36
  • 37.
    Introduction to thenew mainframe Example of LPALST member File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------- EDIT SYS1.PARMLIB(LPALST5B) - 01.01 Columns EDIT SYS1.PARMLIB(LPALST5B) 01.01 Columns 00001 00072 Command ===>_____________________________________ Scroll ===> CSR ******** ***************************** Top of Data ************** 000001 SYS2.LPALIB, 000002 SYS1.LPALIB, 000002 SYS1.LPALIB, 000003 SYS1.SERBLPA, 000004 SDF2.V1R4M0.SDGILPA, 000005 SYS1.SIATLPA, 000006 ING.SINGMOD3, 000007 NETVIEW.SCNMLPA1, 000007 NETVIEW.SCNMLPA1, 000008 REXX.V1R3M0.SEAGLPA, 000009 ISF.SISFLPA, 000010 EOY.SEOYLPA, 000011 SYS1.SBDTLPA, 000012 CEE SCEELPA 000012 CEE.SCEELPA, ****** **************************** Bottom of Data ************** © Copyright IBM Corp., 2006. All rights reserved. 37
  • 38.
    Introduction to thenew mainframe IEAFIX member File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------ EDIT SYS1.PARMLIB(IEAFIX01) - 01.01 Columns EDIT SYS1.PARMLIB(IEAFIX01) 01.01 Columns 00001 00072 Command ===>_____________________________________ Scroll ===> CSR ******** ***************************** Top of Data ********************** 000001 INCLUDE LIBRARY(SYS1.LPALIB) 000002 MODULES (IEAVAR00, /* 7K RCT INIT/TERM */ 000003 IEAVAR06, /* RCT INIT/TERM ALIAS */ , / / / 000004 IGC001G, /* 456 RESTORE(SVC17) */ 000005 ICHRFC00, /* RACF IMS/CICS */ 000006 ICHRFR00) /* RACF IMS/CICS */ 000007 INCLUDE LIBRARY(SYS1.SVCLIB) MODULES(IGC09302) ************************************** Bottom of Data ******************* © Copyright IBM Corp., 2006. All rights reserved. 38
  • 39.
    Introduction to thenew mainframe SYS1.PROCLIB • When the system is first IPL’d either the MSTJCL00 load module or MSTJCLxx in SYS1 PARMLIB is used to provide the JCL for or MSTJCLxx in SYS1.PARMLIB is used to provide the JCL for the master scheduler • This JCL at a minimum points to SYS1.PROCLIB to provide the JCL d f h i d k h JCL procedures for the required tasks to run the system © Copyright IBM Corp., 2006. All rights reserved. 39
  • 40.
    Introduction to thenew mainframe Sample master JCL //MSTJCL05 JOB MSGLEVEL=(1,1),TIME=1440 //EXEC PGM=IEEMB860 //EXEC PGM=IEEMB860 //STCINRDR DD SYSOUT=(A,INTRDR) //TSOINRDR DD SYSOUT=(A,INTRDR) ( , ) //IEFPDSI DD DSN=SYS1.PROCLIB,DISP=SHR //IEFPARM DD DSN=SYS1.PARMLIB,DISP=SHR // //SYSUADS DD DSN=SYS1.UADS,DISP=SHR //SYSLBC DD DSN=SYS1.BRODCAST,DISP=SHR © Copyright IBM Corp., 2006. All rights reserved. 40
  • 41.
    Introduction to thenew mainframe A job’s procedure library • The JES cataloged procedure in SYS1.PARMLIB contains lists of procedure libraries to be searched for JCL procedures procedure libraries to be searched for JCL procedures • JCLLIB may also be used to specify a private library to be searched first © Copyright IBM Corp., 2006. All rights reserved. 41
  • 42.
    Introduction to thenew mainframe Procedure library //PROC00 DD DSN=SYS1.PROCLIB,DISP=SHR //PROC00 DD DSN SYS1.PROCLIB,DISP SHR // DD DSN=SYS3.PROD.PROCLIB,DISP=SHR //PROC01 DD DSN=SYS1.PROC2,DISP=SHR ... //PROCnn DD DSN=SYS1.LASTPROC,DISP=SHR ... //MYJOB JOB //MYLIBS JCLLIB ORDER=(MY PROCLIB JCL SECOND PROCLIB JCL) ORDER=(MY.PROCLIB.JCL,SECOND.PROCLIB.JCL) //S1 EXEC PROC=MYPROC1 ... © Copyright IBM Corp., 2006. All rights reserved. 42
  • 43.
    Introduction to thenew mainframe System symbols • System symbols allow the use of a shared parmlib by two or more systems more systems • Each symbol has a name which can be used in various places and then substituted at IPL time • Major uses are indirect cataloging and substituting system specific datasets such as the page data sets © Copyright IBM Corp., 2006. All rights reserved. 43
  • 44.
    Introduction to thenew mainframe System symbols SYSDEF HWNAME(SCZP801) LPARNAME(A08) SYSNAME(SC04) SYSPARM(R3,04) SYMDEF(&CPCNAME='P801') SYMDEF(&CPCNAME= P801 ) SYMDEF(&DFHSMHST='ON') SYMDEF(&SYSR2=’ZXYSY2’) ( ) SYMDEF(&SYSR3=’&SYSR1(1:5).3’) © Copyright IBM Corp., 2006. All rights reserved. 44
  • 45.
    Introduction to thenew mainframe Use of system symbols PAGE=(PAGE.&SYSNAME..&PLPADSN1., PAGE &SYSNAME &COMMDSN1 PAGE.&SYSNAME..&COMMDSN1., PAGE.&SYSNAME..LOCAL1, PAGE &SYSNAME LOCAL2,L) PAGE.&SYSNAME..LOCAL2,L) © Copyright IBM Corp., 2006. All rights reserved. 45
  • 46.
    Introduction to thenew mainframe Summary The role of the system programmer is to install, customize and maintain the operating system and must be aware and maintain the operating system and must be aware of: • z/OS operational system administration • Workload management • System performance • Job flow Job flow • I/O device management • Security/integrity/availability / i • z/OS Operation • Change management © Copyright IBM Corp., 2006. All rights reserved. 46