Introduction to the new mainframe Chapter 10 Topics in z/os system programming



Similar documents
Session 2826 February Stop those Unnecessary IPLS: The Dynamic OS/390 Functions

CA Auditor for z/os. System Review Checklist. r12. Second Edition

Stu Henderson s Clear Explanation of Effective z/os Security Auditing

Utility Mainframe System Administration Training Curriculum

z/os Basics: z/os UNIX Shared File System environment and how it works

Introduction to the new mainframe Chapter 7: Batch processing and the Job Entry Subsystem (JES)

So You still Have a Mainframe? Edward Napoleon, CISSP, CISM. ISACA March 17, 2016

Agenda. z/os Ethical Hacking Vulnerability Scanning & Pen Testing. Mark Wilson RSM Partners. Session Number: l Disclaimer.

CA Auditor for z/os. Technical Reference. r12. Second Edition

Mark Wilson Session Details: The Introduction

z/os Performance Monitoring Tools Shoot-Out: ASG, BMC, CA, Rocket

IBM i Version 7.2. Security Service Tools

z/os VULNERABILITY SCANNING AND MANAGEMENT Key Resources, Inc. (312) KRI

CA JCLCheck Workload Automation

z/os Basics: z/os UNIX Shared File System environment and how it works

Setting Up and Using an SMS-Managed Manual Tape Library (MTL) Session Steve Pryor

Introduction to the new mainframe Chapter 4: Interactive facilities of z/os: TSO/E, ISPF, and UNIX

Disaster Recovery Cookbook for Linux Part 1: Before the Storm

CA Datacom Task Storage Options. User Key ECSA and Data Space

Performance Management for

CA Integrated Agent Services

Cloning for z/os UNIX Service in a Shared File System Environment

Security Service tools user IDs and passwords

Program Directory for IBM Tivoli License Compliance Manager for z/os V Program Number 5698-A80 FMID HAUD320.

ITG Software Engineering

ImageNow Report Library Catalog

Getting Started with Tuning SQL Statements in IBM Data Studio and IBM Data Studio (stand-alone), Version 2.2.1

21 Things You Didn t Used to Know About RACF

JD Edwards World. Database Audit Manager Release A9.3 E

Version 5.0. MIMIX ha1 and MIMIX ha Lite for IBM i5/os. Using MIMIX. Published: May 2008 level Copyrights, Trademarks, and Notices

RACF PERFORMANCE TUNING

Unit Testing with zunit

Unit 4 i5/os Work Management

DB Audit Expert 3.1. Performance Auditing Add-on Version 1.1 for Microsoft SQL Server 2000 & 2005

The Flash Express Feature on IBM zenterprise EC12 and z/os exploitation of flash storage

Unicenter CA-Spool Print Management

Rational Developer for IBM i (RDi) Introduction to RDi

CA Workload Automation Restart Option for z/os Schedulers r11

SAP Performance Review/System Health Check

Lab Creating a Logical Network Diagram

PREPARED BY: AUDIT PROGRAM Author: Lance M. Turcato. APPROVED BY: Logical Security Operating Systems - Generic. Audit Date:

H211L Bulk File Transfer (BFX)

CA Log Analyzer for DB2 for z/os

IBM DB2 Data Archive Expert for z/os:

ERserver. iseries. Work management

CA Gener/OL r7.1. Overview. Business value

DASD Backup Automation

PRACTICAL TIPS FOR Z/OS VULNERABILITY SCANNING & PROACTIVE SECURITY MANAGEMENT

Program Directory for Backup and Restore Manager for z/vm. version 1 release 2.0. Program Number 5697-J06

Universal Data Mover. User Guide. Indesca / Infitran. Version udm-user-4101

Distributed File Service SMB Administration

This manual assumes you already have Precurio installed and configured appropriately.

IBM InfoSphere Guardium S-TAP for VSAM on z/os V8.2 Version 8 Release 2. User's Guide SC

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

BCPii for Dummies: Start to finish installation, setup and usage

Using the Cisco IOS Command Line Interface

REPRINT. Release Reference Manual. IBM iseries (AS/400) Developed and Distributed by

CA Telon Application Generator

REPRINT. Release User s Guide. iseries (AS/400) Developed and Distributed by

Calculator Notes for the TI-Nspire and TI-Nspire CAS

ESM s management across multi-platforms eliminates the need for various account managers.

CA Workload Automation EE r11.3 Report Server. Fred Brisard

Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis

Overview. Business value

Information Systems. Capacity Planning Monthly Report

IBM VisualAge for Java,Version3.5. Remote Access to Tool API

i5/os and related software Distributing software

Application Backup and Restore using Fast Replication Services. Ron Ratcliffe March 13, 2012 Session Number 10973

New Security Options in DB2 for z/os Release 9 and 10

Vadim Computer Managment Group LTD. Next Generation Software Bank Reconcilliation

Housekeeping & Maintenance Work Orders

z/auditing Essentials

Analyzing IBM i Performance Metrics

Audit TM. The Security Auditing Component of. Out-of-the-Box

Delegated Administration Quick Start

Using Process Monitor

Data Warehouse Center Administration Guide

Beyond the Software Life Cycle

SAS Grid Manager Testing and Benchmarking Best Practices for SAS Intelligence Platform

Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit.

Experiences with Using IBM zec12 Flash Memory

CA Chorus for Security and Compliance Management

Snapshot Reports for 800xA User Guide

CHAPTER 15: Operating Systems: An Overview

Oracle Database. User s Guide 10g Release 2 (10.2) for IBM z/os (OS/390) B

CA NetMaster Network Management for TCP/IP

IBM Tivoli Storage Productivity Center (TPC)

SupportPac CB12. General Insurance Application (GENAPP) for IBM CICS Transaction Server

How To Run A Hybrid Batch Processing Job On An Z/Os V1.13 V1 (V1) V1-R13 (V2) V2.1 (R13) V3.1.1

...2. Standard Installation...4. Example Installation Scenarios...5. Network Installation...8. Advanced Settings Product Requirements

Monitoring and Administration with SAP on DB2

Origins of Operating Systems OS/360. Martin Grund HPI

EMC ApplicationXtender Server

The Advantages Of External Security For DB2 And The Migration Towards RACF. Kurt Struyf, infocura

CA Librarian r4.3. Overview. Business value

Group Mail Lists. Group Mailing Lists. Populating a Global Mail Lists 4. The Problem 6. The Solution 8. Scheduling Regular Updates 17

Configuring and Tuning SSH/SFTP on z/os

Transcription:

Chapter 10 Topics in z/os system programming

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 their content Configure consoles IPL a system 2

Key terms HCD IODF SYSRES SMP/E LNKLST IPL WTOR PARMLIB PROCLIB system symbols PSA LPA nucleus LOADPARM SQA 3

Considerations for a new application New batch applications i to scheduler New JCL procedures to procedure library Document operational procedures Security privileges Add load libraries to system Automation Reload system (if required) 4

What is systems programming? A systems programmer installs, customizes and maintains the operating system To do this they need knowledge of Hardwareare o Storage o Processor Software o System libraries and data sets Current customization ti 5

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 implementation and z/os system maintenance iodfxx Hardware I/O configuration 6

z/os operational system administration is: Software installation and maintenance Customize parameters System libraries for software System data sets z/os system address spaces and subsystems Real and virtual storage 7

z/os Workload Manager Workload manager (WLM) is an address space which manages 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 8

System performance System tuning is constant and iterative Only a real problem when resources are constrained WLM is one component Can only manage what is set up Initial set up of initiators and other resources plays a great part 9

Job flow Job entry subsystem (JES) controls job flow Receives jobs into system Initiates the job Controls initial output processing 10

I/O device management Input/output device configuration must be defined to both 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 11

Security Protection of data against unauthorized disclosure, transfer, modification or destruction Systems programmer installs and maintains the security system 12

Integrity Designed, implemented and maintained to protect against 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 13

Availability System availability is designed to be very high Many systems require 24 hour 7 day operation 14

Change control I/T organizations achieve their goals through disciplined change management processes and policy enforcement These goals include: High service availability Increased security Audit readiness Cost savings 15

z/os operation This is the day to day management of the operating environment 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 16

z/os Production Control Build batch schedules Promote programs to production Investigate batch failures 17

z/os system libraries z/os software Customization data Non-z/OS (CICS, DB2) Mainframe User defined exits Non-IBM software User data 18

Types of data z/os software on SYSRES volumes Non-z/OS software e.g. CICS Non-IBM software Customization data parmlib, IODF User exits User data often the largest pool of volumes 19

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.PROCLIB system procedure JCL SYS1.PARMLIB control parameters 20

SYS1.LINKLIB SYS1.LINKLIB is the main software library 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 21

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 can run System has a defined search order for a newly requested program 22

Search order for programs STEPLIB if present JOBLIB if present and no STEPLIB Link Pack Area (LPA) o Dynamic LPA modules o Fixed LPA o Modified LPA o Pageable LPA Linklist 23

Overview of LNKLST LNKLST SET System Data Sets SYS1.LINKLIB SYS1.MIGLIB SYS1.CSSLIB Search order Other Load Libraries 24

Using PROGxx to define LNKLST A LNKLST set is an ordered list of datasets for processing as the 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 Activated 25

Example linklist definition: LNKLST DEFINE NAME(LNKSYSA) COPYFROM(CURRENT) LNKLST ADD NAME(LNKSYSA) DSNAME(SYS1.PROD.LOADLIB) LNKLST ADD NAME(LNKSYSA) DSNAME(SYS1.TEST.LOADLIB) LNKLST ACTIVATE NAME(LNKSYSA) 26

LLA and VLF Library LookAside is an address space which maintains a copy 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 27

Libraries and members at IPL time An number of libraries must be present for the system to load at IPL time SYS1.PARMLIB contains the required definitions SYSn.IPLPARM searched for LOADxx SYS1.LPALIB SYS1.PROCLIB SYS1.NUCLEUS 28

LOADxx LOADPARM defines the address of the IODF and the suffix of fthe LOADxx member 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 IPL volume 29

LOADxx The LOADxx member specifies: The IODF data set name The master catalog name and volume The parmlib concatenation The IEASYSxx member to use 30

Defining a logical parmlib Loadxx IODF 00 SYS6 MOEMVSP1 01 Y SYSCAT MPAT1113CATALOG.MCAT.VMPCAT1 HWNAME P201 LPARNAME A1 PARMLIB SYS0.IPLPARM PARMLIB SYS1.OS390R7.PARMLIB PARMLIB SYSPROG.SYS1.PARMLIB Parmlib concatenation SYS0.IPLPARM SYS1.OS390R7.PARMLIB SYSPROG.SYS1.PARMLIB SYS1.PARMLIB Search order 31

IEASYSxx This is the main parameter member for z/os 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 32

Parmlib commands The parmlib concatenation can be displayed using D PARMLIB The parameters used at IPL can be displayed using D IPLINFO The parmlib concatenation can be modified dynamically using SETLOAD xx,parmlib 33

Commands to DISPLAY PARMLIB D PARMLIB IEE251I 17.12.07 PARMLIB DISPLAY 377 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.2915 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 IEASYS LIST = (R3,04) (OP) IODF DEVICE 3800 IPL DEVICE 8038 VOLUME Z04RE1 34

SYS1.LPALIB The Link Pack Area (LPA) is built at IPL time from the modules 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 35

SYS1.LPALIB Fixed LPA comprises those modules defined in IEAFIXxx that 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. 36

Example of LPALST member File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------- EDIT SYS1.PARMLIB(LPALST5B) - 01.01 Columns 00001 00072 Command ===> Scroll ===> CSR ******** ***************************** Top of Data ************** 000001 SYS2.LPALIB, 000002 SYS1.LPALIB, 000003 SYS1.SERBLPA, 000004 SDF2.V1R4M0.SDGILPA, 000005 SYS1.SIATLPA, 000006 ING.SINGMOD3, 000007 NETVIEW.SCNMLPA1, 000008 REXX.V1R3M0.SEAGLPA, 000009 ISF.SISFLPA, 000010 EOY.SEOYLPA, 000011 SYS1.SBDTLPA, 000012 CEE.SCEELPA, ****** **************************** Bottom of Data ************** 37

IEAFIX member File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------ 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 ******************* 38

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 the master scheduler This JCL at a minimum points to SYS1.PROCLIB to provide the JCL procedures for the required tasks to run the system 39

Sample master JCL //MSTJCL05 JOB MSGLEVEL=(1,1),TIME=1440 //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 40

A job s procedure library The JES cataloged procedure in SYS1.PARMLIB contains lists of procedure libraries to be searched for JCL procedures JCLLIB may also be used to specify a private library to be searched first 41

Procedure library //PROC00 DD DSN=SYS1.PROCLIB,DISP=SHR 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) JCL) //S1 EXEC PROC=MYPROC1... 42

System symbols System symbols allow the use of a shared parmlib by two or 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 43

System symbols SYSDEF HWNAME(SCZP801) LPARNAME(A08) SYSNAME(SC04) SYSPARM(R3,04) SYMDEF(&CPCNAME='P801') SYMDEF(&DFHSMHST='ON') SYMDEF(&SYSR2= ZXYSY2 ) SYMDEF(&SYSR3= &SYSR1(1:5).3 ) 44

Use of system symbols PAGE=(PAGE.&SYSNAME..&PLPADSN1., PAGE.&SYSNAME..&COMMDSN1., &COMMDSN1 PAGE.&SYSNAME..LOCAL1, PAGE.&SYSNAME..LOCAL2,L) 45

Summary The role of the system programmer is to install, customize and maintain the operating system and must be aware of: z/os operational system administration Workload management System performance Job flow I/O device management Security/integrity/availability z/os Operation Change management 46