Documente Academic
Documente Profesional
Documente Cultură
Zhang Bo
IBM CSDL
2. Resource
– Where to get the resource about Z/OS
Zhang Bo
IBM CSDL
*This is just an analogy, and not meant to indicate that the terms are equivalent.
They are the closest possible match
JOBLIB/STEPL Job Library Indicate additional MVS Data PATH and LIBPATH
IB Sets which should be searched variables
Step Library for programs and/or libraries
Subsystem/ Jobs that run without Core operating system functions, Daemons
requiring user such as security, storage
Started task interaction management, servers
*This is just an analogy, and not meant to indicate that the terms are equivalent.
They are the closest possible match
SDSF Spool Display and Allows a user to manage events on process management
Search Facility the JES Spool commands
*This is just an analogy, and not meant to indicate that the terms are equivalent.
They are the closest possible match
PMR Problem A support ticket that has been Vendor specific term
Management Report opened with the IBM Support
Center to report a program problem
APAR Authorized Program A problem report recognized by IBM Vendor specific term
Analysis Report as a bug in an IBM product
PTF Program Temporary A software update released (usually patch, fix, support
Fix as a result of an APAR) by IBM to pack
resolve any product issues that may
arise
*This is just an analogy, and not meant to indicate that the terms are equivalent.
They are the closest possible match
*This is just an analogy, and not meant to indicate that the terms are equivalent.
They are the closest possible match
ISPF Interactive System An interactive panel driven (TN3270) SMIT (on AIX)
Panel Facility interface to TSO.
LinuxConf (on Linux)
RACF Resource Access A System Authorization Facility PAM (Linux) or any
Control Facility (SAF) compliant security subsystem other security tool
*This is just an analogy, and not meant to indicate that the terms are equivalent.
They are the closest possible match
Zhang Bo
IBM CSDL
Introduction to zSeries
z/VM
VSE application application
IBM China Software Development Lab
User
DO
BM
R
P
User
BM
AO
R
P
System Task
Lotus Notes
WebSphere
Batch Job
Batch Job
Batch Job
TCP/IP
TOR
User
MP
VTAM
P
DB2
JES
User
MP
AO
Address Spaces
R
P
IMS CR
CICS
TSO
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
17 Introduction to zSeries © 2006 IBM Corporation
IBM China Software Development Lab
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.
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
…..
IPL
system is ready!
You can customize the system parameters upon
Initialization Programming Load.
There are three types of IPL: Start other Subsystem
Cold Start
Any IPL that loads (or reloads) the PLPA, but Start Master Scheduler
does not preserve VIO data set pages.
Warm Start
Load parameters and
Any IPL that doesn’t reload the PLPA , but does Initialize system
preserve VIO data set pages.
Quick Start
I/O configuration
Any IPL that doesn’t reload the PLPA and does
not preserve VIO data set pages.
Load MIC
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
Lab 1
Reference
z/OS structure
<<IBM eserver zSeries 900 Technical Guide>> SG24-5975-00
<<IBM z/Architecture Reference Summary>> SA22-7871-00
<<z/Architecture Principles of Operation>> SA22-7832-01
System initialization
Sysplex
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.
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.
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.
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.
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.
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.
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.
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.
RACF
z/OS Security Server integrates Resource Access Control Facility (RACF) on
local and distributed z/OS systems.
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.
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
Example 2:
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
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
Lab 2
Resource
TSO reference
<<z/OS V1R1.0 TSO/E Primer>> SA22-7787-00
<<z/OS V1R3.0 TSO/E User's Guide>> SA22-7794-02
ISPF reference
<<z/OS V1R2.0 ISPF User's Guide Vol I>> SC34-4822-01
<<z/OS V1R2.0 ISPF User's Guide Vol II>> SC34-4823-01
SMP/E reference
<<SMP/E V3R1.0 Reference>> SA22-7772-02
<<SMP/E V3R1.0 User's Guide>> 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
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>> SA22-7683-03
<<z/OS V1R4.0 Security Server RACF System Programmer's Guide>> 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
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
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
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.
DFSMS
The Data Facility Storage Management Subsystem (DFSMS) simplifies storage, data
,program, and device management as well as access to distributed data.
Lab 3:
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>> SC26-7397-01
<<z/OS V1R3.0 DFSMSdss Storage Administration Guide>> SC35-0423-01
<<z/OS V1R3.0 DFSMSrmm Guide and Reference>> SC26-7404-01
<<z/OS V2R13.0 DFSMSdfp Utilities>> SC26-7414-02
Zhang Bo
IBM CSDL
JOB
Provides a name (job name) to the system for this batch workload. It can optionally include
accounting information and a few job-wide parameters.
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.
JCL – parameter
Parameter What it is for
JOB REGION Requests specific memory resources to be allocated to the job
CLASS Directs a JCL statement to execute on a particular input queue
NOTIFY Sends notification of job completion to a particular user, such as the submitter of
the job
MSGCLASS Directs job output to a particular output queue
….
EXEC PARM Parameters known by and passed to the program.
COND Boolean logic for controlling execution of other EXEC steps in this job
TIME Imposes a time limit.
DD DSN 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.
DISP 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.
SYSOUT Defines a print location (and the output queue or data set).
…
JCL - example
1. Job Submission
Users submit work to the operating system whenever it needs to be processed.
2. Job Reading
JES reads user jobs into the system.
3. Job Spooling
JCLs are stored by the JES on the spool data set awaiting selection for execution.
4. Job Selection
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.
5. Job Execution and Output Spooling
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. Output transcription
After the job has completed, the job output is retrieved from the spool transcribed, and usually printed.
7. Job Purging
The system deletes the job from the spool.
Input
Conversion
Processing
Output
Hard Copy
Purge
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:
SDSF
Lab 4:
Resource
JES
JCL
Zhang Bo
IBM CSDL
Software on z/OS
Systems Data
Management Tools Management Tools
Performance
DB2
Tivoli
RMF
Programming in z/OS
Language Environment provides a
common run-time environment for
C,C++,COBOL, Fortran, PL/I and
assembler programs.
Zhang Bo
IBM CSDL
Redbook
Redbook provide PDF version for
most of the technical documents.
http://www.redbooks.ibm.com/
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
LibraryCenter
http://publibz.boulder.ibm.com/bookmgr_OS390/libraryserver/zosv1r7/
Thanks!