You are on page 1of 16

MAINFRAME SMP

DASD SMS

CATALOG IPL

JCL

SMF

MAINFRAME
Def: high end server also called as
big iron Features: 1. Before 750 MIPS now 8000 MIPS 2. Storage & retrieval is faster 3. Zero down time 4. High security (virus cant be uploaded) 5. We can startup & shutdown LPAR individually is called IPL. Processing: (executing a job or a program) 1. Batch Processing: No interaction b/w u & ur System. 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.

Components:
1. More than one processor 2. Main memory 3. Elements(Many elements
combined

Base Element: Mainframe, Types We have to pay for havealong with Dont this : MF. It is must for mainframe. address List: JES2 TSO/E ISPF MVS/ESA SMP/E DFSMSdfp ACF/VTAM GDDM BOOK MANAGER READER UNIX SYSTEM SERVICES SOMobjectS for MVS RTL GDDM/MVS

Together form

Priced:

Optional Elements: if we want we Can install Unpriced:

DASD (DIRECT ACCESS STORAGE DEVICE)


DASD a storage where we store our datas in dataset Types: DS6000, DS8000 Units: 3380, 3390(new) DASD is segregated into Disk (depends on DASD) is segregated into Volumes (1v=800c) is segregated into To create volumes in empty DASDCylinders (1c=15t) is segregated into ICKDSF Tracks (1t=47 or 56 kb) is segregated into Blocks (1b=4kb)

Virtual Storage: False memory One of our volume in DASD Used to increase execution speed Frequently used datasets are stored here with the help of PSW (Pgrm Status Word)

Components:

PURPOSE define & to Jcl is used to :No need ctrl JCL memories where our the job to the system dataset (JOB CONTROL resides (i.e. volume serial LANGUAGE) Interface b/w OS& program no) EXEC(255/job or pgrm) BASIC TYPES OF CATALOG: (BY TYPES OF CATALOG: Format of JCL or Various FUNCTION) Used to execute fields of JCL: ICF: a job & here we have Column Master catalog(1ly 1 for MF) 1, 2 identifier field (//) our pgrm name Bcs(1ly in any 1 volume , ksds) Collection of BCS+Sys 3-10 name field related info 11, 16 blank space SPLITTING: 1BCS is into 12-15 operation field (job, exec, n no. DD(3273/exec) We must specify this isdd) our PGRM WITH master EXP: FIELD catalog in SYSCAT after 17-72 operand fields MERGING:n no of BCS is creating catalog We have 255 * 73-80 command field + into 1 3273=834615 DD for a //ARICH02 JOB (123,RAKESH), SYSCAT R14CAT 113C job Vsam: has Catalog type catalog address parameter space // positional Volume, ownership,
CLASS=A,MSGCLASS=T,MSGLEVEL=(1,1),NOTIFY=&SYSID,TIME(1),TYPRUN={SCAN/HOLD},RESTAR T=STEPNAME associated info& security.

CATALOG

JOB(1ly 1/pgrm) DEF: Itself a dataset which Tells another contains info about beginning of dataset pgrm to JES & gives accounting info

CATALOG.MASTER.VR14CAT keyword parameter


//DD1 User catalog(depends on DASD) DD DSN=ARICH02.RAKE.PS, //STEP1 EXEC PGM=IEFBR14

Non Vsam: has

Collection of alias +dataset Search Order:

DSN=Q1 Volume, ownership & associated .Q2 .Q3 .Q4.Q5 info Alias Dataset type Dataset VVDS: (ESDS)

Q1-Q5=8*5=40 + 4 SEPERATORS Extension of VTOC, it gives info Disp=(status, abt free space to SMS normal termination, catalog abnormal termination) Status=(new/old/mod/shr) VVCR: has VSAM volume ctrl info Multilevel search: 1 alias n.t=(catlg/uncatlg/delete/keep/pass) related to more than 1 catalog a.t=( catlg/uncatlg/delete/keep) info NVR: has non VSAM // SPACE=(TRK(2,2),RLSE), default=(new,delete,delete) Catalog Creation: // VVR: has vsam info DCB=(LRECL=80,BLKSIZE=800,RECFM=F SPACE=(S1, // SYSIN DD* B) (S2,S3,S4),S5,S6,S7) VSAM DEFINE USER CATALOG (NAME (CATALOG.MASTER.VR14CAT) KB, CYL S1=TRK, BLKSOZE, MB, OSCVOL(os S2=PRIMARY ctrl volume) VOLUME (R14CAT)//SYSPRINT DD SYSOUT=* S3=SECONDARY S4=DIRECTORY //SYSIN DD * CYL/TRK/VOL (3, 3)S5=RLSE S6=CONTIG ICF CATALOG/* S7=ROUND INDEXEDBUFND- (to specify no. of buffers for transmitting data b/w virtual & aux strg D DCB=(LRECL=80,BLKSIZE=800,RECFM=FB) default strno+1) v vsamnonvsamsysloglrecl(min=1)32761(max)32 BUFNI- (to transmit index frm virtual to aux) 760(max)32767(max)blksize(min=1)32761(max) STRNO (3)-(it limits no of user access) 32760(max)32767(max)RECFM(RECORD FORMAT) =FB/VB/U/FBA/VBA/F/V /*

// At least 3000 alias Std level : 1 alias related to 1 DISP=(NEW,CATALOG,DELETE),

}exec statement

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=AFF statement 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

To start -->set smf=00 To stop-->set smf=01 List of MANDATASET: SYS1.MAN0 SYS1.MAN1


SMFPRM00 To mention these are my MANDATASET

SMF
(system management or measurement facility)
ESDS type dataset Technical name MANDATASET (pgrm to create is IDCAMS)

Parmlib mem SMFPRM


Sub system Optional element Collection of system related + userrelated info

SYS1.MAN9 Requirement At least =2, max=0-9

Diff b/w MANDATASET & syslog: Both have same info but to store in req format we use MANDATASET Stage2 Sm1,sm 2 Stage 3 Sm2

Status of MANDATASET Alternate

Stage1

Active

SM0,SM (during MANDATASET creation) 1,sm2 (when we insert data)

Sm1 Sm0 after full of mds we get IEE362I --------(or) IEE362A ICETOOL Sm0 (source) IFASMFDP pgrm

Dump required (when a dataset is full it goes to dump required)

To segregate info in table form (formatted way)to another PS

Taking dump to PS(destination) & release to Active State

Types of SMF recording: 0 only IPL info 0:255 record info from IPL 30 TSO 72-79 record RMF info 80,81,83 RACF info only

Commands: /D smf to view status of Mandataset /I smf to change Mandataset Manually

SMP (system modification program)

Tech name SYSMOD Used to install s/w pdt


(MODIFIC ATION CTRL MCS STATEME NT ) Any pgm start with ++ (MODIFICA TEXT)any machineMT readable fmt pgm

TION By function

Used to install, monitor s/w pdts Server pack : machine level, only replace, 1yr validity, no update, high cost. System pack CBPDO:- human level, can rectify fault, life time validity, low cost Software excel:

Is a tool Subsystem Base element Used to install, Monitor os & s/w pdt

Basic types FUNCTION SYSMOD

To install new pdt for 1st time Only for machine level language

Dependent (eg: CBPDO) Install it in mf APAR (AUTHORIZED PGRM ANALYSIS REPORT) via Independent (eg: server pack)
If any error after os installation

ADMIN admin

identify(fix) errors & send t0 IBM Gives solution to

PTF (PROGRAM TEMPORARY FIX) Collection of APAR with solution 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 By IBM

Parm lib members we used: IEFSSN--> to invoke subsystem IEFPRD--> to invoke optional elements Elements of SMS: DFSMS DFP Data facility storage mgnt subsystem Hierarchical storage mgr Removable media member Transactional VSAM service Data set service base element optional optional optional optional

(Storage management subsystem) 1. Base element 2. Subsystem 3. Only for SMS we have classes & groups 4. Without SMS we cant store data in DASD or tape drives. 5. For NON-SMS also SMS will take care of volume allocation

SMS

DFSMS HSM DFSMS RMM DFSMS TVS DFSMS DSS

Types of classes: (only for sms) Management classTo identify particular MainframeStorage classTo identify particular branchData class(note: for class creation we need dataset)

Types of groups: Storage group: A group of >=1 DASD volumes that SMS uses for data set allocation.Aggregate g group:

Created using ISMF (interactive service productivity 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

(INITIAL PROGRAM LOAD)

IPL

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.

Phases of IPL: (Each & every phase invokes next phase)

Types of starts: 1. Cold start:(compared to initial start) Load or reload PLPA but doesnt preserve VIO dataset 2. Quick start: ( restart ) Doesnt reload PLPA & doesnt preserve VIO dataset 3. Warm start: (normal start) Preserves VIO dataset only (Startup & shutdown must be in normal form)

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 & passes control to it IRIM PHASE: (IPL resource initialization module) It makes environment ready to load OS to Real

SYSCTRL FRAME
LOAD ADDRESS: used to specify system resident volume serial no which is of 4 characters. Reads LOAD PARM & hunt for LOADXX LOAD PARM:(available in SYSCTRL FRAME) IODF dddd (must) LOAD XX xx IMSI i NUCX n Input output definition file Device no of volume containing IODF Dataset(default is SYSRES) Initial message suppression indicator (optional) ID of LOADXX member to be used(default is LOAD00) Alternate nucleus id (default is 1:IEANUC01)

NIP (nucleus initialization program) Our actual OS is loaded with the help of MVSCP (contains s/w details) MSI(master scheduler initialization) It generates address space for subsystem by placing address on that space we can run our subsystem SUBSYSTEM

Once MSI is initialized subsystem can be started (in batch processing we cant run any program without JES so, JES is our primary subsystem)

You might also like