Mainframe Basics
Mainframe Basics
Course Mechanics
• Course Type: Self Paced or Facilitated
• Course Notes:
–If training is Facilitated, Notes are located in the Notes View.
(Please see View Master/Notes Master to see the Notes View.)
–If training is Self Paced, Notes are located in Slide View.
• None
• Objective A
– To give an introduction to the concepts of
mainframes and the MVS Operating System.
Classification of computers:
Computer systems used for business purposes are
divided into three classes.
1. Micro Computers
2. Mini Computers
3. Mainframe Computers
Although these divisions are loosely based on the
size of the computer systems, there are no hard and
fast rules for deciding exactly where one category
ends and the next begins .In other words the
categories overlap.
11 Nov, 2003 Introduction to Mainframe 7
Classification of computers:
1. Hardware configuration
2. The nature of its application
3. The complexity of software.
OS family:
MFT -
Stands for multi programming with fixed number of
tasks. It preallocated a fixed number of partitions
where user jobs could execute. So under MFT, the
number of jobs that could be multiprogrammed is
equal to number of preallocated partitions.
O/S 390 :
IBM’s OS/390 was the next generation of
Operating Systems.
Z / OS :
Currently , this is the latest operating System by IBM.
When newer versions are released, the mainframe
operations group plans for the upgrade and
converts all the current products to the upgraded
version.
Virtual Storage:
Virtual Storage ,which is simulated to exist by
MVS.
Storage is not physically exist in main memory.Its
actually expansion of Real storage which is in disk
only.But always active pages will be in Main
storage and so the processing will be faster.
Because of virtual storage ,the number of
programs that can be multiprogrammed increased.
So the productivity goes up overall though the
operating system needs to perform additional
virtual storage control functions.
Multi-Programming:
More than one program run concurrently in the
system.(Note: anyway only one program will run at
a time)
Improves overall productivity of system installed.
The central component of operating system,
supervisor program which gives the processor
control to one job. When the job goes for some i/o
operation it gives the control back to supervisor.
Supervisor decides based on priorities assigned to
the jobs in queue and gives the control to highest
priority.
Spooling:
Outputs are written to disk devices and from there
it will be written into Printer when it is available.
(otherwise due to Multiprogramming concept of
MVS, various programs reports will be mixed up)
Batch Processing:
JES2/3 will take care of Priority.
Time-Sharing (Foreground Processing):
TSO- Here, user directly interacts with system.
examples - all the ISPF operations.
HARDWARE CONFIGURATION
PROCESSORS:
The Central components of the Mainframe Computer
Systems are the Processors. MVS runs on processors that
have evolved in the past years to enterprise systems.
The MVS runs on processor system/370, which was
developed 30 yrs back but IBM still uses them because they
have enhanced the OS capabilities significantly and in the
future also they will make it compatible to move on with the
advancements.
Basic Components are
CPU
MAIN STORAGE
CHANNELS.
MULTIPROCESSING:
More than one processor was introduced to increase the
processing rate and the system availability also increases.
Here processors share access to main memory and the OS
determines how each processor is utilized. Situations where
four processors are used, operates in two modes:
As a single four processor & As two independent 2-CPU
processors.
In the latter case the main storage and the channels are
split between the two processors. Depending on the
operational needs the installation may vary,
Initially the multiprocessor installation reported to VM, an
operating system designed to emulate the multi computer
systems and configured to take advantage of the multi
computer systems.
PR/SM:
To address this problem PROCESSOR
RESOURCE/SYSTEM MANAGER was introduced.
Here the multi CPU processor was split into
several partitions. Each of this partition can operate
as an independent system. The advantage of this
system was one of these partition could serve as the
back up of the PRIMARY PARTITION. If the primary
partition fails at any point of time the back up starts
to operate from where the primary stopped. During
these situations of failures the PR/SM also
reconfigures the I/O channels assigned to the
various partitions without disrupting the processing.
CHANNELS:
This is the path between the processor and the I/O
devices. There are 8 channels numbered 0 thru 7, which can
communicate and pass data between the processor and the
devices.
Each channel can connect up to eight devices called as
CONTROL UNITS. Depending upon the Processor and
device, a control unit can be fixed within the processor’s
cabinet or device cabinet or in it’s own cabinet.
A channel itself is a small computer in the sense that it
executes I/O instructions called Channel Commands that
operate the I/O devices that are attached to it. As a result the
channel frees the processor to execute other instructions.
Since channel processing overlaps CPU processing, overall
system performance improves.
Impact Printers:
Non-Impact Printers:
These printers use Laser Technology to print text and
graphic images. The IBM 3800 printing Subsystem
can print at rates of up to a remarkable 20000 lines
per minute. The actual speed of this system
depends on the size of each page and the number
of lines per inch, since the mechanism involved
can transfer images to the paper an entire image at
a time.
Control Units:
Each type of DASD device requires two kinds of
control units to attach it to a processor channel.
The first called string controller, attaches a group of
DASD’s of the same type, the resulting group called string.
The number of devices that can be connected on one
string depends on the device type. For the3 3390 model
around 32 drives can be connected to a string.
The second type of control unit called as string
controller connects up to eight strings of DASD units to a
channel. The most common type of storage control is the
3990, which attaches two strings. If both the strings are
3990 drives up to 64 drives can be connected.
Allocation routines:
Allocate all the required datasets needed.
11 Nov, 2003 Introduction to Mainframe 43
MVS Management of user jobs:
User region:
The initiator builds a user region where user
programs can execute, loads the program into that
region and transfers control to it. As the program
executes it uses the control blocks for the resources
allocated to it.
Un allocation routine:
When program is completed, the initiator invoke
this which release any resource used by job step.
Based on output class, the processed outputs are
sent and the job is purged from the system. Simply put,
that means JES spool space used by the job freed so it
can be used by other jobs. Any JES control blocks
associated with that job are deleted.
11 Nov, 2003 Introduction to Mainframe 44
Data Management By MVS:
Dataset:
Collection of related data that is managed
as MVS as a unit. Within the dataset, data is
organized into smaller units called records,
which can be processed individually by
application programs.
Label Processing:
When dataset is normally stored on disk or
tape MVS normally identifies it with special
records called labels. To access a dataset
correctly, the label information passed in the
JCL and what is there in MVS should match.
11 Nov, 2003 Introduction to Mainframe 45
Data Management By MVS:
DASD labels:
Volume label : Unique six char volume number –
cylinder 0 track 0 record 3 contains volume number and
pointer to VTOC.
VTOC : contains five format of records.
FORMAT-4 information abt VTOC itself.
FORMAT-1 pointers to dataset which has maximum of
3 extents(1 primary,2 extents) information.
FORMAT-3 pointers to dataset which has the remaining
13 extents
FORMAT-2 ISAM files
FORMAT-5 free extent pointers(26 extent-1)
11 Nov, 2003 Introduction to Mainframe 46
Data Management By MVS:
Tape Label:
Unlike DASD, for tape labels are optional. Here
labels are stored along with files rather than
separately. tape file started with HDR1 which is
followed by files data and at the end EOF1 end-of-
file label exist.
Catalogs:
Many MVS installations have hundreds of
DASD volumes and thousands of datasets. So it is
impossible to remember the DASD for accessing
dataset and we cannot give Volser for each dataset
we want. So cataloging is necessary.
11 Nov, 2003 Introduction to Mainframe 47
Data Management By MVS:
Dataset organization:
NON-VSAM:
1. Sequential
2. Indexed sequential
3. Direct
4. Partitioned
EXPANDED STORAGE:
This storage acts as a large buffer between real
storage and Page dataset. During page out, the
pages are moved out to expanded storage. This
transfer occurs at CPU speed and not DASD speed
and so the operation is almost instantaneous. Pages
are written into actual page datasets when the
expanded storage becomes full.
SWAPPING:
This is same as paging but at a higher level.
Rather than move small 4K pieces of virtual storage
in and out of real storage , swapping effectively
moves entire address space in and out of virtual
storage. Because paging occurs only for address
spaces that are currently in virtual storage , paging
does not occur for address spaces that are swapped
out.
This is the portion of address space that contains data that are
unique for each address space. Within each jobs private area,
System region: Area of storage used by operating system programs
that provide services for user programs running in the private area.
At the top of private area, three local system areas that contain
information that applies only to the private area of particular address
space.
LSQA: Local System Queue Area: Tables used to control the
private area , including the tables needed to manage the private
area’s virtual storage. During swap out, this is what written into swap
dataset.
SYSTEM GENERATION:
For the installation of the MVS system, IBM sends
the basic components that make up MVS on a series of
tapes called distribution libraries.
System generation is only a part of the overall
process of installing MVS from the distribution libraries,
selects and assembles the various components an
installation needs to create a working MVS system. To
control System generation, often called sysgen, a
systems programmer codes special macroinstructions
that specify how the MVS components from the
distribution libraries should be put together.
11 Nov, 2003 Introduction to Mainframe 67
MVS
Classification
MVS Concepts
Conceptsof computers:
SYSTEM INITIALIZATION:
Once a MVS system has been generated, it can
be used to control the operation of the computer
system.
To begin a system initialization, the system
operator uses the system console to start an initial
program load or IPL. That causes the computer
system to clear its real storage and begin the
process of loading MVS into storage from the
system libraries and ready to process your work.
What is ISPF?
The Interactive System Productivity
Facility is a Dialog Manager that
provides tools to improve program, dialog
and development productivity and
control.
I Insert
R Repeat
M Move
D Delete
C Copy
TE Text Edit
TS Text Split
UC - Upper Case
LC - Lower Case
CC - Block Copy
DD - Block Delete
MM - Block Move
(( - Shift Left
)) - Shift Right
What is an utility?
What are the types of utilities?
What can you do with utilities?
How to use them?
Some examples of utility programs
INTRODUCTION
Datasets
JCL
JES2 / JES3
SDSF
CA-7
CA-VIEW
IBM Fault Analyzer
Change Management
ENDEVOR
11 Nov, 2003 Introduction to Mainframe 93
DATASET
Physical Sequential
A Physical Sequential file, DSORG=PS, is a
simple file with records stored in the order that they
are written. PS files are typically used for text and
logs. Large PS files which are only ever required by
one task at a time, are very suitable for tape. It is
possible to improve the performance of PS files by
striping them over several volumes, but this is only
useful if they are used by concurrent tasks
VSAM Structures:
There are 4 types of VSAM Dataset.
Key Sequence Data set
Entry Sequence Data Set
Relative Record Data Set
Linear Data Set.
Virtual Sequential Access Method is discussed
in the VSAM Section.
JCL:
Job Control Language, or JCL, is a
set of control statements that provide the
specifications necessary to process a job,
and the series of JCL statements that make
up a job is typically called a job stream.
What is CA-7?
CA-7 is a Production control system. It’s an online, real-
time, interactive system which automatically controls, schedules
jobs based on the Date and time, job dependencies and
available resources.
Functions of CA-7
Provides Online Scheduling facility
Selects job for execution
Submits jobs
Tracking jobs
Analyzes job execution results
What is Endevor?
ENDEVOR is a Change
Management software product
that controls, automates, and
monitors the entire application
development life cycle.
ENDEVOR allows you to
automate and control the
movement of source code from
development through to
production (see diagram).
Classification of Computers
Mainframe Overview
MVS
Characteristics Of Mainframe
MVS – Management of User Jobs
MVS Concepts
ISPF – An Introduction
IBM Utilities – An introduction
Advanced Mainframe Concepts / Products
THANK YOU !