My Mainframe
Transcript of My Mainframe
-
7/31/2019 My Mainframe
1/16
MAINFRAME DASD CATALOG JCL SMF
SMP SMS IPL
-
7/31/2019 My Mainframe
2/16
MAINFRAME
Def: high end server also called as
big iron
Components:
1. More than one processor2. Main memory
3. Elements (Many elementscombined
Together formMainframe,
Dont have
Optional Elements: if we want we
Can install
Types
:
Base Element:We have to pay for this along withMF. It is must for mainframe.List:
JES2TSO/EISPFMVS/ESASMP/E
DFSMSdfpACF/VTAMGDDMBOOK MANAGER READERUNIX SYSTEM SERVICESSOMobjectS for MVS RTLGDDM/MVS
Processing: (executing a job or aprogram)
1. Batch Processing:No interaction b/w u & urSystem. JCL will ctrl the job.
JES acts as a OS for JCL.2. Online Processing:
There is an interaction b/w u &
ur system e.g: CICS.
Features:1. Before 750 MIPS now 8000
MIPS2. Storage & retrieval is faster3. Zero down time
4. High security (virus cant beuploaded)
5. We can startup & shutdownLPAR individually is called IPL.
Priced:
Unpriced:
-
7/31/2019 My Mainframe
3/16
To create volumes in empty DASD-
ICKDSF
DASD (DIRECT ACCESS STORAGE DEVICE)
DASD is segregated into
Disk(depends on DASD) is
segregated into
Volumes (1v=800c) is segregated
into
Cylinders (1c=15t) is segregated into
Tracks (1t=47 or 56 kb) issegregated into
Blocks (1b=4kb)
Types: DS6000,DS8000Units: 3380,
3390(new)
DASD a storage where we
store our datas in dataset
Virtual Storage:False memoryOne of our volume in DASDUsed to increase execution speedFrequently used datasets are stored
here with the help of PSW (PgrmStatus Word)
-
7/31/2019 My Mainframe
4/16
Search Order:
Std level : 1 alias related to 1
catalog
Multilevel search: 1 alias
related to more than 1 catalog
Catalog Creation:
// SYSIN DD*
DEFINE USER CATALOG (NAME (CATALOG.MASTER.VR14CAT)
VOLUME (R14CAT)-
CYL/TRK/VOL (3, 3)-
ICF CATALOG-
INDEXED-
BUFND- (to specify no. of buffers for transmitting data b/w virtual & aux strgdefault strno+1)
BUFNI- (to transmit index frm virtual to aux)
STRNO (3)-(it limits no of user access)
/*
CATALOG DEF: Itself a dataset whichcontains info about another
dataset
PURPOSE :No need to
memories where our dataset
resides (i.e. volume serial
no)
BASIC TYPES OF CATALOG: (BY
FUNCTION)
Master catalog(1ly 1 for MF)
Collection of BCS+Sys relatedinfo
We must specify this is ourmaster catalog in SYSCAT aftercreating catalog
SYSCAT R14CAT 113C
Catalog type catalogaddress space
CATALOG.MASTER.VR14CAT
User catalog(depends on DASD)
Collection of alias +dataset
At least 3000 alias
TYPES OF CATALOG:
ICF:
Bcs(1ly in any 1 volume , ksds)
SPLITTING: 1BCS is into
n no.
MERGING:n no of BCS is
+ into 1
Vsam: has
Volume, ownership,
associated info& security.
Non Vsam: has
Volume, ownership & associated
info
VVDS: (ESDS)
Extension of VTOC, it gives info
abt free space to SMS
VVCR: has VSAM volume ctrl info
NVR: has non VSAM info
VVR: has vsam info
VSAM
OSCVOL(os ctrl volume)
PGRM WITH FIELD EXP:
//STEP1 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
/*
keyword parameter
//
CLASS=A,MSGCLASS=T,MSGLEVEL=(1,1),NOTIFY=&SYSID,TIME(1),TYPRUN={SCAN/HOLD},RESTAR
T=STEPNAME
DSN=Q1 .Q2 .Q3
.Q4.Q5
Q1-Q5=8*5=40 + 4 SEPERATORS
Alias Dataset Dataset type
//DD1 DD
DSN=ARICH02.RAKE.PS,
Disp=(status, normal termination,abnormal termination)Status=(new/old/mod/shr)n.t=(catlg/uncatlg/delete/keep/pass)a.t=( catlg/uncatlg/delete/keep)default=(new,delete,delete)
//
DISP=(NEW,CATALOG,DELETE),
// SPACE=(TRK(2,2),RLSE),
SPACE=(S1,(S2,S3,S4),S5,S6,S7)S1=TRK, BLKSOZE, MB, KB, CYLS2=PRIMARYS3=SECONDARYS4=DIRECTORYS5=RLSES6=CONTIGS7=ROUND
positional parameter
//ARICH02 JOB (123,RAKESH),
DCB=(LRECL=80,BLKSIZE=800,RECFM=FB)D
vsamnonvsamsyslogv lrecl(min=1)32761(max)32
760(max)32767(max)blksize(min=1)32761(max)
32760(max)32767(max)RECFM(RECORD FORMAT)
=FB/VB/U/FBA/VBA/F/V
//
DCB=(LRECL=80,BLKSIZE=800,RECFM=F
B)
Format of JCL or Variousfields of JCL:
Column1, 2 identifier field (//)3-10 name field11, 16blank space12-15 operation field (job, exec,dd)17-72 operand fields73-80 command field
JCL(JOB CONTROL
LANGUAGE)
Jcl is used to define & ctrl
the job to the system
Interface b/w OS& program
Components:
JOB(1ly 1/pgrm)
Tells beginning
of pgrm to JES & gives
accounting info
EXEC(255/job or pgrm)
Used to execute
a job & here we haveour pgrm name
DD(3273/exec)
We have 255 *
3273=834615 DD for a
job
-
7/31/2019 My Mainframe
5/16
}exec statement
-
7/31/2019 My Mainframe
6/16
JCL UTILITIES:
1 IEBGENER
Copy one sequential file to another Create datasets with input dataset as DUMMY
2 IEBCOPY
Copy the partitioned datasets
Compress the partitioned datasets
Include members of PDS within a copy transaction
Exclude members of PDS within a copy transaction
3 IEHPROGM
Catalog datasets
Un-catalog datasets
Rename the datasets
Create the index for a generation data groups
Delete the Index for a generation data groups
4 IEBCOMPR
Compare two partitioned datasets
Compare two sequential datasets
5 IEFBR14
Create a empty dataset
6 IEEPROGM
Create generation data groups
ABEND CODES
1 S0C4 Caused by the subscript being
out of range
2 S0C5 Caused by invalid address
specification. I.e. The address points to
an instruction, control word or data
outside the available real storage
3 S0C7 Caused by a bad data. i.e. Data
exception. When we are moving an
alphanumeric field to a numeric
computational field this Abend occurs.
The result is an Abend failure
4 S222 Caused by a job being cancelled
by the operator, due to a request by the
program for an unavailable resource.
5 S237 Caused by end of volume being
encountered.
6 S322 Caused when CPU time assigned
to the job, job step, or procedure has been
exceeded. i.e. Time out error.
7 S413 This abend occurs if the DD
statement referenced by UNIT=AFFstatement is not closed before the DD
statement that comes before it.
8 S522 Caused when a wait state exceeds
an installation-defined time limit.
9 SB37 Caused by lack of sufficient
Secondary space
-
7/31/2019 My Mainframe
7/16
Types of SMF recording:0 only IPL info0:255 record infofrom IPL30 TSO72-79 record RMFinfo80,81,83 RACF info only
Commands:/D smf to view status ofMandataset/I smf to change MandatasetManuall
IFASMFDP
pgrm
Taking dump to PS(destination)& release to Active State
To segregate info in table
form (formatted way)toanother PS
Status of MANDATASETAlternate
(during MANDATASET creation)
Active
(when we insert data)
Dump required
(when a dataset is full
it goes to dump required)
Stage1
SM0,SM
1,sm2
Stage2
Sm1,sm
2
Sm0
---------
Stage 3
Sm2
Sm1
Sm0
(source)
ICETOOL
after full of mdswe get IEE362I(or)IEE362A
SMFPRM00To mentionthese are my
MANDATASET Diff b/w MANDATASET &syslog:Both have same info but tostore in req format we useMANDATASET
SMF(system management ormeasurement facility)
To start -->setsmf=00
To stop-->setsmf=01
Parmlib mem
SMFPRM
Sub systemOptional elementCollection of systemrelated + userrelateinfo
ESDS type datasetTechnical nameMANDATASET(pgrm to create is
IDCAMS)
List of MANDATASET:
SYS1.MAN0SYS1.MAN1
SYS1.MAN9RequirementAt least =2, max=0-9
-
7/31/2019 My Mainframe
8/16
Used to install, monitor s/w
pdts
(system modification program)
Server pack : machine level, only replace, 1yvalidity,
no update, high cost.
System pack
CBPDO:- human level, can rectify fault, life
time validity, low cost
Software excel:
Is a toolSubsystemBase element
Used to install, Monitoros & s/w
pdt
Basic types
FUNCTION SYSMOD
To install new pdt for 1st time
Only for machine level language
Dependent (eg: CBPDO)
Independent (eg: server pack)
APAR (AUTHORIZED PGRM ANALYSIS REPORT)
If any error after os installation
ADMIN identify(fix) errors & send t0
IBM Gives solution toadmin
PTF (PROGRAM TEMPORARY FIX)
Collection of APAR with solution By IBM
When error arises in system it check
Ptf & rectify error if there is any fix for that error
It is only for dependent type
USER MOD SYSMOD
All human level language formats are installed using this
So admin can find and rectify the errors
Install it
in mf
via
SYSMOD
Used to install s/w pdt
By function
MCS MT
(MODIFIC
ATION
CTRL
STATEME
NT )
Any pgm
start with
++
(MODIFICA
TION
TEXT)any
machine
readable
fmt pgm
Tech name
-
7/31/2019 My Mainframe
9/16
SMS(Storage management
subsystem)
1. Base element2. Subsystem3. Only for SMS we have
classes & groups
4. Without SMS we cant storedata in DASD or tape drives.5. For NON-SMS also SMS will
take care of volumeallocation
Parm lib members we used:IEFSSN--> to invoke subsystemIEFPRD--> to invoke optional
Elements of SMS:
DFSMS DFP Data facility
storage mgntsubsystem
base
element
DFSMS HSM Hierarchical
storage mgr
optional
DFSMS RMM Removable media
member
optional
DFSMS TVS Transactional
VSAM service
optional
DFSMS DSS Data set service optional
Types of classes: (onlyfor sms)
Management classToidentify particular
MainframeStorageclassTo identify particularbranchData class(note:for class creation we needdataset)
Types of groups:
Storage group:A group of >=1 DASD volumes that SMSuses for data set allocation.Aggregate
group:g
Created using ISMF (interactive serviceproductivity facility) panel in ISPF(interactive storage management facility)
Classes & groups are stored in CDS(control data set that too in SCDS Type)CDS TYPES:
SCDSSource ctrl datasetACDSActivity ctrl
dsCOMMDSCommunication ds
-
7/31/2019 My Mainframe
10/16
IPL(INITIAL PROGRAM
DEF:
1. Loading part of os from DASD to Real storage through
virtual storage with the help of psw.
2. Startup and shutdown of LPAR
3. According to our req we must customize our parmlib
member & it must be read during IPLing
4. Initialize the registers to zero to avoid wastage of
resources.
Types of starts:1. Cold start:(compared to initial start)
Load or reload PLPA but doesnt preserve VIOdataset
2. Quick start: ( restart )Doesnt reload PLPA & doesnt preserve VIO
dataset3. Warm start: (normal start)
Preserves VIO dataset only (Startup &
Phases of IPL:(Each & every phaseinvokes next phase)
HARDWARE PHASE:SYSRES (or) IPL ABLE disk(it is a DASD volume where our OS is stored in
SYS1.NUCLEUS)It contains BOOTSTRAP module at cyl0, Trk0
Reads IPL CTRL PGRM IEAIPL00 & asses control to it
IRIM PHASE:(IPL resourceinitializationmodule)
Itmakesenvironmentready to loadOS to eal
NIP (nucleus initializationprogram) Our actual OS isloaded with the help of MVSCPcontains s/w details
MSI(master scheduler
initialization)It generates
address space for subsystem byplacing address on that space we
SUBSYSTEM Once MSI is initialized subsystem can be started (in batch processing we cantrun any program without JES so, JES is our primary subsystem)
SYSCTRL FRAME
LOAD ADDRESS: used to specify systemresident volume serial no which is of 4characters.
LOAD PARM:(available in SYSCTRL FRAME)
IODFdddd
(must)
Input output definition fileDevice no of volume containingIODF Dataset(default is SYSRES)
LOADXXxx
Initial message suppression
indicator (optional)
IMSIi
ID of LOADXX member to be
used(default is LOAD00)
NUCXn
Alternate nucleus id (default is
1:IEANUC01)
Reads LOADPARM & hunt for
LOADXX
-
7/31/2019 My Mainframe
11/16
-
7/31/2019 My Mainframe
12/16
-
7/31/2019 My Mainframe
13/16
-
7/31/2019 My Mainframe
14/16
-
7/31/2019 My Mainframe
15/16
-
7/31/2019 My Mainframe
16/16