Introduction To Z/OS: Ibm CSDL
Introduction To Z/OS: Ibm CSDL
Introduction To Z/OS: Ibm CSDL
Zhang Bo
IBM CSDL
2. Resource
Where to get the resource about Z/OS
Introduction to zSeries
Terms
Zhang Bo
IBM CSDL
Reliability, Availability, The main considerations of all Servicibility research, development and support staff within the zSeries family. The isolation of applications by creating a separate memory space for each running job. Ext. Binary Coded Decimal Interchange Code A format for encoding characters. Most Unix and Windows machines use ASCII code page. Jobs that run on the system to complete processing with or without user intervention.
Address Space
Process
EBCDIC
Batch/Interactive
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 4 Introduction to zSeries
2006 IBM Corporation
Data Set
HFS/ZFS
VSAM DFSMS
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 5 Introduction to zSeries
2006 IBM Corporation
JOBLIB/STEPL IB
Daemons
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 6 Introduction to zSeries
2006 IBM Corporation
SPOOL
SDSF
RMF
A subsystem that allows you to obtain detailed performance information about your system
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 7 Introduction to zSeries
2006 IBM Corporation
APAR
PTF
SMP/E
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 8 Introduction to zSeries
2006 IBM Corporation
Sysplex
System complex
CF
Coupling Facility
WLM
Workload Manager
IRD
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 9 Introduction to zSeries
2006 IBM Corporation
Dump
IPL
Boot
ISPF
An interactive panel driven (TN3270) SMIT (on AIX) interface to TSO. LinuxConf (on Linux) A System Authorization Facility (SAF) compliant security subsystem PAM (Linux) or any other security tool
RACF
*This is just an analogy, and not meant to indicate that the terms are equivalent. They are the closest possible match 10 Introduction to zSeries
2006 IBM Corporation
System Structure
Zhang Bo
IBM CSDL
12
Introduction to zSeries
13
Introduction to zSeries
14
CMS
application
application
CMS
application
application
Introduction to zSeries
z/VM
application
application
application
application
application
application
z/OS Linux
application
application
application
application
15
Introduction to zSeries
16
Introduction to zSeries
System Task
Lotus Notes
WebSphere
User
Batch Job
IMS CR
Address Spaces
Base Operating System LIC (LPAR, etc) zSeries hardware
Address space addressability 64-bit in z/OS 24 bit in MVS/370, 31 bit in MVS/XA > OS/390 CICS
17
Introduction to zSeries
TSO
Batch Job
Batch Job
TCP/IP
User
VTAM
DB2
JES
User
MP P
AO R
TOR
MP P
z/OS Component
z/OS is an integrated enterprise server operating system. It incorporates into one product a leading-edge and open communication server, distributed data and file services, Parallel Sysplex ,object-oriented programming, distribute computer environment and open application interface. Generally, z/OS consists of: BCP JES TSO/ISPF DFSMS Other software required In this session, well look into everyone of them.
18
Introduction to zSeries
z/OS Component
Optional Element
In addition to the base, z/OS also has optional features that are closely related to the base features. There are two types : one type is always shipped with the system whether they are ordered or not, and another is not shipped automatically. JES3 RMF RACF SDSF TCP/IP FOR MVS DFSMSdss ..
20
Introduction to zSeries
IPL
system is ready!
You can customize the system parameters upon Initialization Programming Load. There are three types of IPL: Cold Start Any IPL that loads (or reloads) the PLPA, but does not preserve VIO data set pages. Warm Start Any IPL that doesnt reload the PLPA , but does preserve VIO data set pages. Quick Start Any IPL that doesnt reload the PLPA and does not preserve VIO data set pages.
I/O configuration Load parameters and Initialize system Start Master Scheduler Start other Subsystem
Load MIC
21
Introduction to zSeries
Configuration
Most of the system configuration is provided by data set SYS1.PARMLIB. SYS1.PARMLIB is read by the system at IPL, and later by such components as RMF. This is the most important data set in z/OS operating system! There are the most important parmlib members in this data set: IEASYSxx IEASYMxx LOADxx
22
Introduction to zSeries
Lab 1
What would be gained from the lab 1 ?
23
Introduction to zSeries
Reference
Where can you get the study resource? z/OS structure
<<IBM eserver zSeries 900 Technical Guide>> <<IBM z/Architecture Reference Summary>> <<z/Architecture Principles of Operation>> SG24-5975-00 SA22-7871-00 SA22-7832-01
System initialization
<<z/OS V1R4.0 MVS Initialization and Tuning Reference>> SA22-7592-03
Sysplex
<<z/OS V1R4.0 MVS Sysplex Services Guide>> <<z/OS V1R4.0 MVS Sysplex Services Reference>> SA22-7617-03 SA22-7618-03
24
Introduction to zSeries
Interface
Zhang Bo
IBM CSDL
Processing type
There are three types of processing available under z/OS: Interactive processing
The most common type, is quick and ideally suited for development and administration.
Batch processing
This is commonly used for running large routine programs.
Transaction processing
This is used mainly in customer service environment.
26
Introduction to zSeries
Besides these facilities, TSO command and MVS command is also very helpful for you to work with z/OS.
TSO command MVS command
27 Introduction to zSeries
2006 IBM Corporation
TSO/E
TSO/E is a base element of the z/OS operating system that allows users to interactively work with the system. In general, TSO/E makes it easier for people with all levels of experience to interact with the z/OS system. You can use TSO/E in any of the following three environments: Line Mode
The quick and direct way to use TSO.
ISPF/PDF
The major way to use TSO. It provides dialog management service to enable users to navigate through panels.
28
Introduction to zSeries
ISPF
The Interactive System Productivity Facility/Program Development Facility (ISPF/PDF) is a set of panels that help you manage libraries of information on the MVS system.
29
Introduction to zSeries
ISPF
ISPF has four main components: Dialog Manager (DM)
This provides services to dialogs and end users. PDF assist dialog or application developers by providing development service.
30
Introduction to zSeries
SMP/E
System Modification Program Extended (SMP/E) is a tool designed to manage the installation of software products on your z/OS system, and to track the modifications applied to those products.
31
Introduction to zSeries
RMF
Many different activities are required to keep your z/OS running smoothly, and to provide the best service on the basis of the available resources and workload requirements. Resource Management Facility is the tool that helps people do this effectively.
32
Introduction to zSeries
SMF
System Management Facility collects and records system and job-related information that you use in billing users, analyzing the configuration, scheduling jobs, maintain an auditing security, and so on.
33
Introduction to zSeries
RACF
z/OS Security Server integrates Resource Access Control Facility (RACF) on local and distributed z/OS systems. RACF controls authorized user access by: Identifying and authenticating users. Authorizing users to access the protected resources. Logging and reporting attempts of unauthorized access to protected resources. RACF includes encryption, data and transaction integrity, individual authentication, and transaction accountability.
34 Introduction to zSeries
2006 IBM Corporation
USS
Beginning with OS/390 V2R3, UNIX System Services has been merged with the BCP, and is now part of the BCP FMID. In addition, OMVS address space is started automatically. z/OS UNIX interacts with the following elements and features of z/OS: Two interfaces: Shell interface
You can use shell in z/OS just like what you do in other unix system.
API
Through API, program can run in any environment of z/OS, and request both MVS service and unix service.
35
Introduction to zSeries
Example 1: allocate da('zosinter.partds.s1') new dir(4) block(800) space(20,10) dsorg(po) recfm(f,b) lrecl(80) blksize(3200) catalog
Reference: z/OS TSO/E Primer, SA22-7787 z/OS TSO/E User's Guide, SA22-7794 z/OS TSO/E Command Reference, SA22-7782-04
36
Introduction to zSeries
MVS Command
If you want to learn and configure the system quickly, MVS command is the most powerful way for you. Generally, you can execute MVS commands in SDSF and get the system responses. Some useful command: D IPLINFO D PARMLIB D U,DASD,ONLINE SETLOAD SETPROG .. Reference:
z/OS MVS System Command, SA22-7787 z/OS MVS System Message, SA22-7631-05 z/OS MVS System Code, SA22-7626-04
37
Introduction to zSeries
Lab 2
What would be gained from the lab 2 ? How to logon z/OS?
38
Introduction to zSeries
Resource
TSO reference
<<z/OS V1R1.0 TSO/E Primer>> <<z/OS V1R3.0 TSO/E User's Guide>> SA22-7787-00 SA22-7794-02
ISPF reference
<<z/OS V1R2.0 ISPF User's Guide Vol I>> <<z/OS V1R2.0 ISPF User's Guide Vol II>> SC34-4822-01 SC34-4823-01
SMP/E reference
<<SMP/E V3R1.0 Reference>> <<SMP/E V3R1.0 User's Guide>> SA22-7772-02 SA22-7773-02
RMF reference
<<z/OS V1R4.0 z/OS RMF User's Guide>> SC33-7990-02 <<z/OS V1R2.0 RMF Reference Summary>> SX33-9033-01
39
Introduction to zSeries
Resource
SMF reference
<<z/OS V1R4.0 MVS System Management Facilities (SMF) >> SA22-7630-05
RACF reference
<<z/OS V1R4.0 Security Server RACF Security Administrator's Guide>> <<z/OS V1R4.0 Security Server RACF System Programmer's Guide>> SA22-7683-03 SA22-7681-03
USS reference
<<z/OS V1R4.0 UNIX System Services User's Guide>> SA22-7801-03
MVS reference
<<z/OS V1R4.0 Introduction and Release Guide>> GA22-7502-04
40
Introduction to zSeries
Data Storage
Zhang Bo
IBM CSDL
Basic Concept
Some basic concept for data storage in z/OS: Data Record Data Set Access Method Storage Device DASD TAPE
VTOC DSCB
42
Introduction to zSeries
43
Introduction to zSeries
44
Introduction to zSeries
Entry-Sequenced Data Set (ESDS) Key-Sequenced Data Set (KSDS) Linear Data Set (LDS) Relative Record Data Set (RRDS)
45
Introduction to zSeries
46
Introduction to zSeries
Catalog
System tracks the locations of data sets through catalogs. Users can search for data sets in the catalogs by name and move data to another device without changing its references. A master catalog contains pointers to all system data sets, which are used for system initialization, and aliases or indirect pointers to user data sets. Aliases point to a user catalog where user data sets are cataloged.
Master Catalog
User Catalog
47
Introduction to zSeries
DFSMS
The Data Facility Storage Management Subsystem (DFSMS) simplifies storage, data, program, and device management as well as access to distributed data. The Storage Management Subsystem (SMS) works with other components to help automate and optimize storage management. As new data is created, the SMS automatically assigns services and attributes to the data using values defined by the installation. Through SMS, user can establish policies for the use of hardware resources and control how these resources and control how these resources are used and what service levels are available; this includes data availability, performance, space, and security. Once these policies are established, the system manages the complexities of optimizing the use of expensive hardware to meet performance criteria.
48 Introduction to zSeries
2006 IBM Corporation
DFSMS
The Data Facility Storage Management Subsystem (DFSMS) simplifies storage, data ,program, and device management as well as access to distributed data.
DFSMSdfp:
Data Management
DFSMSdss:
Data Movement
49
Introduction to zSeries
Lab 3:
What would be gained from the lab 3 ? View data sets Edit data sets Create data sets Move/Copy data sets Where to store the database data? Identify the catalog
50
Introduction to zSeries
Resource
Where can you get the study resource? Data Sets
<<z/OS V1R3.0 DFSMS: Using Data Sets>> SC26-7410-02
VSAM
<<VSAM Demystified>> SG24-6105-01
DFSMS
<<z/OS V1R3.0 DFSMS Introduction>> <<z/OS V1R3.0 DFSMSdss Storage Administration Guide>> <<z/OS V1R3.0 DFSMSrmm Guide and Reference>> <<z/OS V2R13.0 DFSMSdfp Utilities>> SC26-7397-01 SC35-0423-01 SC26-7404-01 SC26-7414-02
51
Introduction to zSeries
Work Management
Zhang Bo
IBM CSDL
53
Introduction to zSeries
EXEC
Provides the name of a program to execute. There can be multiple EXEC statements in a job. Each EXEC statement within the same job is a job step.
DD
The Data Definition provides inputs and outputs to the execution program on the EXEC statement. This statement links a data set or other I/O device or function to a DDNAME coded in the program. DD statements are associated with a particular job step.
54
Introduction to zSeries
JCL parameter
Parameter JOB REGION CLASS NOTIFY MSGCLASS . EXEC PARM COND TIME DD DSN DISP SYSOUT Parameters known by and passed to the program. Boolean logic for controlling execution of other EXEC steps in this job Imposes a time limit. The name of the data set; this can include creation of temporary or new data sets or a reference back to the data set name. Data set disposition, such as whether the data set needs to be created or already exists, and whether the data set can be shared by more than one job. Defines a print location (and the output queue or data set). What it is for Requests specific memory resources to be allocated to the job Directs a JCL statement to execute on a particular input queue Sends notification of job completion to a particular user, such as the submitter of the job Directs job output to a particular output queue
55
Introduction to zSeries
JCL - example
//UNLDTAPE JOB CLASS=A,MSGLEVEL=(1,1),MSGCLASS=A, // NOTIFY=SYSPRG1,USER=WFSEUBE,PASSWORD=ABCD //*************************************************************** //STEP1 EXEC PGM=IEBCOPY //* //IN1 DD DSN=IBM.HCMP120.F1,UNIT=TAPE,VOL=SER=CMP120, // LABEL=(2,SL),DISP=(OLD,KEEP) //OUT1 DD DSN=NETCOMM.HCMP120.JCL,DISP=(NEW,CATLG,DELETE), // UNIT=SYSALLDA,DCB=*.STEP1.IN1,SPACE=(8800,(5,1,10)) //SYSPRINT DD SYSOUT=* //SYSIN DD * COPY INDD=IN1,OUTDD=OUT1 /* //
56
Introduction to zSeries
57
Introduction to zSeries
Users submit work to the operating system whenever it needs to be processed. JES reads user jobs into the system. JCLs are stored by the JES on the spool data set awaiting selection for execution. A job is selected from the spool for execution based on a job class, designating the type of work it is, and its job priority, which specifies its relative importance. Application is performed and data is processed. The input data is processed and the output data is stored, until it is needed. During execution, some of the job's output may be placed on the spool for later transcription.
6. 7.
After the job has completed, the job output is retrieved from the spool transcribed, and usually printed. The system deletes the job from the spool.
58
Introduction to zSeries
59
Introduction to zSeries
60
Introduction to zSeries
SDSF
After submitting a job, it is common to use System Display and Search Facility (SDSF) to review the output for successful completion or review and correct JCL errors: Viewing the system log and searching for any literal string Input system command Controlling job processing (hold, release, cancel, and purge jobs) Monitoring jobs while they are being processed Displaying job output before deciding to print it Controlling the order in which jobs are processed Controlling the order in which output is
61
Introduction to zSeries
SDSF
62
Introduction to zSeries
Lab 4:
What would be gained from the lab 4 ?
63
Introduction to zSeries
Resource
Where can you get the study resource? JES
<<z/OS V1R4.0 JES2 Introduction>> <<z/OS V1R4.0 JES2 Commands>> <<z/OS V1R4.0 JES2 Commands Summary>> <<z/OS V1R4.0 JES2 Diagnosis>> SA22-7535-02 SA22-7526-03 SA22-7527-03 GA22-7531-03
JCL
<<z/OS V1R2.0 MVS JCL User's Guide>> <<z/OS V1R4.0 MVS JCL Reference>> SA22-7598-01 SA22-7597-04
64
Introduction to zSeries
Zhang Bo
IBM CSDL
Software on z/OS
Performance
Tivoli
RMF
DB2
Lotus
z/OS
z990 z/VM Linux
CICS
Rational WebSphere
WAS
Enterprise App. Dev. App. Deployment & & Modernization Integration Tools Tools
Introduction to zSeries
2006 IBM Corporation
66
Programming in z/OS
Language Environment provides a common run-time environment for C,C++,COBOL, Fortran, PL/I and assembler programs. With Language Environment , you can develop new applications and keep existing ones. You can modularize and share code using mixed programming languages to develop applications that behave consistently across different operating systems. Now, z/OS also supports Java language.
67
Introduction to zSeries
Zhang Bo
IBM CSDL
Redbook
Redbook provide PDF version for most of the technical documents. It is one of the most important study resources in IBM. Feel free to download the books form this site: http://www.redbooks.ibm.com/
69
Introduction to zSeries
Bookshelf
BookShelf collects most of the IBM books together. Although it takes a large space, you can search any information in multiple books quickly. http://publibz.boulder.ibm.com/cgi-bin/bookmgr/library
70
Introduction to zSeries
LibraryCenter
http://publibz.boulder.ibm.com/bookmgr_OS390/libraryserver/zosv1r7/
71
Introduction to zSeries
Thanks!
72
Introduction to zSeries