COMP 3400 Mainframe Administration 1

Similar documents
Uni Hamburg Mainframe Summit z/os The Mainframe Operating. Part 2 TSO, ISPF und Unix Shell. Introduction to the new mainframe

z/os Learning Center: Introduction to ISPF Unit 1: The Basics of ISPF and Data Sets Module 2: The ISPF PDF Primary Options Menu

Enterprise Computing Mainframe

Interactive System Productivity Facility (ISPF)

Chapter 2 TSO COMMANDS. SYS-ED/ Computer Education Techniques, Inc.

IBM. DFSMS Using the Interactive Storage Management Facility. z/os. Version 2 Release 3 SC

ISPF Users Boot Camp - Part 2 of 2

COMP 3400 Mainframe Administration 1

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 6 z/os Concepts

ISPF at EI&O UFIT. UF Information Technology. EI&O Document ID: D0040 Last Updated: 06/28/2002

Dino Explorer. MVS Data Collector for Mainframe Assessment

GC File No. S Systems. MVS/Extended Architecture Overview

Interactive System Productivity Facility (ISPF)

COMP 3400 Mainframe Administration 1

IBM Application Performance Analyzer for z/os Version IBM Corporation

z/os Introduction and Workshop Data Sets

z/os Basic Skills Information Center: ISPF Course Module Module 1: Main Features of ISPF

1) How many unique operating systems are available on IBM Z hardware? Answer Choice A58_

IBM System z Fast Track

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 4 z/os Overview

Transporting files between MVS and MVS or between MVS and a Workstation

IBM. TSO/E User's Guide. z/os. Version 2 Release 3 SA

IBM Tivoli Decision Support for z/os Version Administration Guide and Reference IBM SH

Interactive System Productivity Facility (ISPF)

z/os Version 2 Release 3 TSO/E User's Guide IBM SA

Getting Started with Xpediter/Eclipse

2010/04/19 11:38. Describing a unique product that shows the mainframe in a completely different way.

Browsing MVS Control Blocks Using DDLIST/ISRDDN Under ISPF.

The Modern Mainframe. IBM Systems. Powerful, secure, dependable and easier to use. Bernice Casey System z User Experience

COMP 3400 Mainframe Administration 1

IBM. MVS Interactive Problem Control System (IPCS) User's Guide. z/os. Version 2 Release 3 SA

Performance Objectives

Workload Characterization Algorithms for DASD Storage Subsystems 1

6/3/2011 TSO Tutorial. TSO Tutorial

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory

IBM. DFSMS Implementing System-Managed Storage. z/os. Version 2 Release 3 SC

IBM Student Mainframe Challenge Part Two

IBM. TSO/E Primer. z/os. Version 2 Release 3 SA

masc-ato Automated Transaction Operator General Information *** VSE/MVS Version 4.1.0

Enterprise Computing Hands On! (ECHO!)

z/os and DB2 Basics for DB2 for z/os DBA Beginners

(E)JES. Universal JES Management

Achieving Higher Levels of Productivity with IBM ISPF Productivity Tool for z/os IBM Redbooks Solution Guide


IBM. Licensed Program Specifications. IBM DATABASE 2 Universal Database Server for OS/390 and z/os Version 7 Program Number 5675-DB2.

IBM. OMEGAVIEW and OMEGAVIEW II for the Enterprise. Configuring OMEGAVIEW and OMEGAVIEW II for the Enterprise. Tivoli. Version 3.1.

Appendix B WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.

TSO/ISPF TIPS By:

INNOVATION TECHSUPPORT

MVS/QuickRef - Tailoring QW

IBM System z Fast Track

Mainframe Developer & Admin Training in Chennai

Tools for z/os UNIX System Services

z/os Learning Center: Introduction to ISPF Unit 1: The Basics of ISPF and Data Sets Module 3: ISPF Data Set Basics

Workflow Manager - ENDEVOR Attachment

Four Components of a Computer System

Dynamic ISPF. How to Eliminate All Those Datasets in the LOGON PROC Part 2

Compute (Bridgend) Ltd

Product Launch Point (PLP) The Dynamic ISPF Menu Tool

IBM Fault Analyzer for z/os

INTRODUCTION. José Luis Calva 1. José Luis Calva Martínez

RA/2 RACF CLI Version 1 - Release 1

Workflow Manager Endevor Attachment

Configuring ISPF for Fun and Profit

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs

Migrating to Tivoli Decision Support for z/os (TDSz) Version 1.8.2

Introduction. Chapter 1: Objectives

The Web Version of this chapter is split into 4 pages - this is page 1 - page contents are as follows:

IBM Workload Simulator (WSim) Version 1 Release Program Number 5655-I39. General Enhancements. September 17, 2004

CS370 Operating Systems

CA-View Extract User Dialog

Operating System Services

Chapter 1: Introduction. Operating System Concepts 9 th Edit9on

ELEC 377 Operating Systems. Week 1 Class 2

CS 333 Introduction to Operating Systems Class 2 OS-Related Hardware & Software The Process Concept

The Web Version of this chapter is split into 4 pages - this is page 2 - page contents are as follows:

at Rocket Software Mainframe CVS z/os Unix System Services CVS client Extending the functionality of the Lisa Bates

Lab Overview In this lab, you will learn how to perform the following tasks with Encryption Facility for z/os:

Compute (Bridgend) Ltd

z/os Learning Center: Introduction to ISPF Unit 2: Editing with ISPF Module 2: Using ISPF Editing Commands

IBM i Version 7.3. Systems management Disk management IBM

DFSMS Basics: Data Set Fundamentals Get to Know Your Data Sets!

IBM Student Mainframe Challenge Part Three

Version 2 Release 3. IBM IMS Configuration Manager for z/os User's Guide IBM SC

z/os Introduction and Workshop Unix System Services 2009 IBM Corporation 2017 IBM Corporation

TSO User s Manual. Connect to this host using either of these names or address numbers: NWRDC.FSU.EDU NWALT.FSU.EDU

LMS. Laret Melsch Systems

What's New In the IBM Problem Determination Tools

Introduction. JES Basics

Types and Functions of Win Operating Systems

eft213 NetEx/eFT for IBM z/os Systems Release Memo To Users June 2018 MTU-eFT213-R5.4.7

ISPF. (Interactive Program Development Facility)

DB2 Reference Guide For IBM z/os Remote Access Programs

A Semi-Technical Review of 101 Mainframe Terms, Acronyms, and Concepts.

DFSMS:Intermediate NaviQuest Streamlining SMS Work

CustomPac FTPCSI Utility User Guide

I/O Systems. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

IBM. DFSORT Tuning Guide. z/os. Version 2 Release 3 SC

Further Improve VSAM Application Performance

CS370 Operating Systems

Transcription:

COMP 3400 Mainframe Administration 1 Christian Grothoff christian@grothoff.org http://grothoff.org/christian/ 1 These slides are based in part on materials provided by IBM s Academic Initiative. 1

Today z/os: Introduction to the most widely used mainframe OS Interacting with z/os (TSO, ISPF, UNIX) 2

z/os Fundamentals Multiprogramming (many programs) and Multiprocessing (many processors) capable OS 360 / MVS heritage UNIX support (POSIX 1003.2) 64-bit operating system 3

z/os overview 4

z/os vs. UNIX Quite a few concepts are common to both, but have different names: UNIX boot Files vi, ed, sed telnet login z/os IPL data sets ISPF/oedit TSO logon 5

z/os vs. UNIX Quite a few execution-related concepts have close relatives: UNIX Process PID Thread pthread t z/os Address Space ASID Task TCB/SRB 6

LOGON Use x3270 with zos.kctr.marist.edu:1023 Specify L TSO (for now) Then use your username and password ISPF will automatically start (exit using F3) Use LOGOFF to log off (from TSO) 7

TSO Logon Procedures On the LOGON screen, you can select a logon procedure. IKJACCNT Minimal initialization; Marist default (only one for us) ISPFPROC z/os default providing ISPF panels for RACF, SDSF, SMP/E, HCD and ISMF OMVSPROC Starts OMVS Shell directly DBSPROC ISPFPROC plus DB2 and QMF panels 8

Interacting with z/os Time Sharing Option/Extensions (TSO/E): allows users to logon and use a limited set of basic commands; this is sometimes called using TSO in its native mode Interactive System Productivity Facility (ISPF): menudriven interface for TSO used by most users UNIX shell: omvs is the z/os UNIX shell 9

TSO in native mode TSO prompts the user with the string READY You can start EXEC scripts using EXEC You can start ISPF using ispf You can start OMVS using omvs You can LOGOFF using logoff More on TSO and ISPF later! 10

Starting a UNIX shell From TSO: type omvs From ISPF: select option 6, then enter omvs Directly: telnet zos.kctr.marist.edu (use your usual username and password) Welcome back to the world of COMP 2400... Return to ISPF/TSO using exit 11

z/os Design Goals Serving 1000s of users concurrently I/O intensive computing Processing very large workloads Running mission critical applications securely 12

Key z/os features Can process a large number of concurrent batch jobs, with automatic workload balancing Can manage mixed workloads. Provides extensive recovery facilities, making unplanned system restarts very rare. Can manage large I/O configurations of 1000s of disk drives, automated tape libraries, large printers, networks of terminals, etc. 13

Hardware resources managed by z/os Mainframe computer (CPU, processor storage) System Console (hardware) z/os running here... Master Console (z/os) Operator Console (z/os)... Director links mainframes with DASD controllers Tape drive DASD controller Tape cartridges Disk storage (DASD volumes) 14

Virtual storage z/os knows three kinds of storage (memory!): storage, auxiliary storage and virtual storage real Virtual storage is created through z/os management of real storage and auxiliary storage through tables The running portions of a program are kept in real storage; the rest is kept in auxiliary storage 15

Address spaces An address space is the range of addressable virtual storage to a user or program or operating system Each user (or separately running program) is represented by an address space; each user gets a limited amount of private storage There is at least one address space per job. There can be multiple tasks (TCBs & SRBs) per AS 16

Historical Artefacts 16 EB 64-bit addresing (z/os) The Bar 2GB 31-bit addresing (MVS/XA) 24-bit addresing (MVS) The Line 16 MB 17

More Terms Virtual storage is divided into 1 MB segments, composed of 4 KB pages; z/os uses segment and page tables to track these Transfer of pages between auxiliary storage and real storage is called paging (and can be triggered by page fault interrupts) A frame is a 4K piece of real storage A slot is a 4K record in a page data set Translation of virtual addresses to actual physical addresses is called dynamic address translation (DAT) 18

Pages, Frames and Slots illustrated 19

Page Stealing z/os tries to always have some real storage frames on hand; pages that have not been accessed for a relatively long time are good candidates for page stealing. z/os uses various storage managers to track storage: Auxiliary Storage Manager (ASM) Real Storage Manager (RSM) Virtual Storage Manager (VSM) 20

Swapping page stealing is moving a single page into auxiliary storage The RSM can be used for page fixing which makes frames unavailable for stealing. swapping is moving an entire address space into auxiliary storage (preventing its processes from executing!) A logically-swapped out address space is inactive; its pages are ready to be swapped out but have not yet been swapped out 21

Translation Lookaside Buffer (TLB) When resolving a virtual address, the memory management hardware must consult the page tables to translate it to a physical address This is a costly and frequent operation TLBs are used to cache the results of recent address translations Faster translation! 22

What is in an address space? Each user has a unique address space and z/os maintains the distinction between the programs and data belonging to each address space. Because it maps all of the available addresses, however, an address space includes system code and data as well as user code and data. Not all of the mapped addresses are available for user code and data! 23

64-bit address space map 16 exabytes User Extended Private Area 512 terabytes Shared Area 2 terabytes User Extended Private Area 2 gigabytes The Bar 16 megabyte The Line Common Area 0 User Private Area 24

Detailed 64-bit address space map 25

Address Space Sizes 24 bit 16 MegaByte 31 bit 2 GigaByte 32 bit 4 GigaByte 64 bit 16 ExaByte 26

z/os address spaces z/os and its related subsystems require address spaces of their own to provide a functioning operating system: System address spaces are started after initialization of the master scheduler. These address spaces perform functions for all the other types of address spaces that start in z/os. Subsystem address spaces for major system functions and middleware products such as DB2, CICS, and IMS. TSO/E address spaces are created for every user who logs on to z/os Address spaces for every batch job that runs on z/os. 27

Storage Management Storage management functions include: Allocation Placement Monitoring Migration (& Recall) Backup & Recovery Deletion 28

Storage Management in z/os Typical production systems use combination of manual and automated processes for managing storage Users/programs can directly control many aspects of z/os storage use The primary means of managing storage in z/os is through DFSMS 29

Data Facility Subsystem Managed Storage (DFSMS) 30

Disk Space Allocation Various units are used for disk space allocation: Cylinders (1 CYL 0.85 MB) contain tracks Tracks (usually 15 per CYL 56 KB) contain blocks Blocks (size depends on data set) contain records Records (size depends on data set) contain bytes Bytes 31

Data Sets z/os files are called data sets; you need to allocate space for them before you can write to them. Allocation functions require: Volume serial six character name of disk volume Device type type of disk (usually 3390) Organization method of processing the data set (sequential) Record format data is stored in records of fixed or variable length Block size records are combined into blocks of a certain length Extent allocation of space; when the primary extent is filled, z/os will automatically allocate more extents, called secondaries 32

Example: Data Set Allocation from TSO READY alloc dataset(userid.test.text) volume(marf0d) unit(3390) recfm(f) lrecl(80) dsorg(ps) READY listds ENTER DATA SET NAME - USERID.test.text USERID.TEST.TEXT --RECFM-LRECL-BLKSIZE-DSORG F 80 80 PS --VOLUMES MARF0D 33

Example: Sorting Data with TSO ALLOCATE DATASET(AREA.CODES) FILE(SORTIN) SHR ALLOCATE DATASET(*) FILE(SORTOUT) SHR ALLOCATE DATASET(*) FILE(SYSOUT) SHR ALLOCATE DATASET(*) FILE(SYSPRINT) SHR ALLOCATE DATASET(SORT.CNTL) FILE(SYSIN) SHR CALL SYS1.SLICELINK(SORT) ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED ICE000I 1 - CONTROL STATEMENTS FOR Z/OS DFSORT V1R5 SORT FIELDS=(1,3,CH,A) 201 NJ 202 DC *** 34

COBOL The structure of the Common Business Oriented Language explains some of the TSO call: A COBOL program consists of four Divisions, the identification division, environment division, data division and procedure division The environment division describes all of the external dependencies of a COBOL program, in particular files (or data sets) accessed 35

COBOL Input-Output Section Example ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE CONTROL. SELECT MyFileName ASSIGN TO JCLDDLAB ORGANIZATION IS LINE SEQUENTIAL. FILE SECTION. FD MyFileName. 01 FileRecord. 02 FirstName PIC X(10). 02 MiddleInitial PIC X. 02 LastName PIC X(15). 36

Programming TSO TSO supports two scripting languages: CLIST (Command List) like a UNIX shell script, interpreted; includes arithmetics and logical operations, string handling and of course routine tasks like dataset allocation REXX more general, more portable, can be compiled 37

ISPF Features ISPF includes: An online help system (press the PF1 key) A text editor / text viewer Functions for allocating and locating files Functions for calling various utilities 38

ISPF Default Menu Structure Primary option menu 0 Settings 1 Browse 2 Edit 3 Utilities 4 DS List 5... Settings View Edit / Cursor at.. _... _... _... Proj Group Type Other Dsn Proj Group Type Other Dsn Utilities 1 Dataset 2 Library 3 Copy/Move 4 DS List Dialog Test 1... 2... 3... 4... Edit **************** 0 //JOB1 JOB 0 //S1 EXEC 0 //DD1 DD 0.. *************** Copy/Move Library Dataset C Copy M Mo CP Cop MP b Display D Delete Group Proj Type Group Group Type Type 39

ISPF Panel Structure Action Bar Panel Options Dynamic Status Area Menu Utilities Compilers Options Status Help --------------------------------------------------------------------------- ISPF Primary Option Menu 0 Settings Terminal and user parameters User ID. : AUES100 1 View Display source data or listings Time... : 16:14 2 Edit Create or change source data Terminal. : 3278 3 Utilities Perform utility functions Screen.. : 1 4 Foreground Interactive language processing Language. : ENGLISH 5 Batch Submit job for language processing Appl ID. : ISR 6 Command Enter TSO or Workstation commands TSO logon : LOGON 7 Dialog Test Perform dialog testing TSO prefix: AUES100 8 LM Facility Library administrator functions System ID : SYS1 9 IBM Products IBM program development products MVS acct. : ACCNT# 10 SCLM SW Configuration Library Manager Release. : ISPF 5.2 11 Workplace ISPF Object/Action Workplace S SDSF System Display and Search Facility Enter X to Terminate using log/list defaults Command Line Function Keys Option ===> F1=Help F2=Split F3=Exit F7=Backward F8=Forward F9=Swap F10=Actions F12=Cancel 40

Action Bar Point-and-Shoot Option Number Function Keys Navigating ISPF 41

Keyboard mapping Function Enter Exit, end, return Help PA1/Attention PA2 Cursor movement Clear Key CTRL (right side) PF3 PF1 Alt-Ins or ESCape Alt-Home Tab or Enter Pause 42

Keyboard mapping Function Page up Page down Scroll left Scroll right Reset locked keyboard Key PF7 PF8 PF10 PF11 CTRL (left side) 43

Example: Data Set Allocation from ISPF Allocate New Data Set Command ===> Data Set Name... : USERID.TEST2.TEXT Management class... (Blank for default management class) Storage class.... (Blank for default storage class) Volume serial.... (Blank for system default volume) ** Device type..... (Generic unit or device address) ** Data class...... (Blank for default data class) Space units..... TRACK (BLKS, TRKS, CYLS, KB, MB, BYTES or RECORDS) Average record unit (M, K, or U) Primary quantity.. 2 (In above units) Secondary quantity 1 (In above units) Directory blocks.. 0 (Zero for sequential data set) * Record format.... FB Record length.... 80 Block size..... Data set name type : (LIBRARY, HFS, PDS, or blank) * 44

ISPF Editor Select Utilities Dslist TEST2.TEXT and use the prefix command e ; confirm the next dialog by pressing ENTER Essentially like xedit (minor differences) Can be invoked from omvs using oedit 45

ISHELL ISHELL is the ISPF SHELL Provides panels for working with UNIX files, file systems and UNIX administration Essentially, ISPF-like menu-driven replacement for omvs For users more familiar with TSO/ISPF than UNIX, not for you! 46

UNIX File Systems on z/os 47

UNIX File System Organization 48

UNIX Processes on z/os 49

Priced features A z/os system usually requires additional licensed programs: Security manager Database manager Compilers Utility programs... We will discuss some of these in the 2nd half of the course! 50

Questions? 51