Documente Academic
Documente Profesional
Documente Cultură
S c o p e U n lim ite d
Introductiontoz/OS
S c o p e U n lim ite d
z/OSservices
6/17/2015
S c o p e U n lim ite d
z/OSandz/OS.e
S c o p e U n lim ite d
Hardwarerequirements
6/17/2015
S c o p e U n lim ite d
z/Seriesserver:BasicandLPARmode
S c o p e U n lim ite d
z/OSBaseControlProgram(BCP)
6/17/2015
S c o p e U n lim ite d
z/OSbaseelement
S c o p e U n lim ite d
z/OSoptionalfeatures
6/17/2015
S c o p e U n lim ite d
DataFacilityStorageManagement
Subsystem(DFSMS)
S c o p e U n lim ite d
z/OSCommunicationsServer:TCP/IP
6/17/2015
S c o p e U n lim ite d
ResourceManagementFacility(RMF)
S c o p e U n lim ite d
SystemManagementFacility(SMF)
6/17/2015
S c o p e U n lim ite d
TimeSharingOption/Extended
(TSO/E)
S c o p e U n lim ite d
LibraryLookaside (LLA)
6/17/2015
S c o p e U n lim ite d
WorkloadManager(WLM)
S c o p e U n lim ite d
z/OSoperations
6/17/2015
S c o p e U n lim ite d
Basicaspectsofz/OS
implementation
S c o p e U n lim ite d
MVSConsoleConfiguration
6/17/2015
S c o p e U n lim ite d
MVSConsoleConfiguration(Cont.)
Generally, operators on an MVS system receive messages and enter
commands on Multiple Console Support (MCS) consoles. Operators can use
other consoles like NetView consoles or System Display and Search Facility
(SDSF) consoles or Resource Measurement Facility (RMF) consoles to interact
with MVS but we will focus on MCS consoles.
MCS consoles are devices that are locally attached to an MVS system and
provide the basic communication between operators and MVS
One MCS console is designated as the master console and has full capability
to view messages and to enter all MVS commands.
Other MCS consoles can be defined so that the message traffic can be spread
across multiple consoles.
There is also a system console. An operator uses the system console to
initialize MVS. The system console is not defined to MVS and is not under
MCS control
S c o p e U n lim ite d
MVSSysplex ConsoleConfiguration
10
6/17/2015
S c o p e U n lim ite d
MCSConsole
S c o p e U n lim ite d
MCSConsole(Cont.)
11
6/17/2015
S c o p e U n lim ite d
HARDCOPYLOG
S c o p e U n lim ite d
SystemDatasets
12
6/17/2015
S c o p e U n lim ite d
SYS1.PARMLIB
S c o p e U n lim ite d
Rulesforparmlib memberdefinitions
13
6/17/2015
S c o p e U n lim ite d
Systemsymbols
S c o p e U n lim ite d
Systemsymbols:Types
14
6/17/2015
S c o p e U n lim ite d
UsingSystemSymbolsinParmlib
S c o p e U n lim ite d
WheretoUsetheSystemSymbols
15
6/17/2015
S c o p e U n lim ite d
ExampleofSystemSymbols
SYSDEF
SYSDEF
LPARNAME(P390)
SYSNAME(P390)
SYSCLONE(P1)
LPARNAME(Q390)
SYSNAME(Q390)
SYSCLONE(Q1)
S c o p e U n lim ite d
Logicalparmlib
16
6/17/2015
S c o p e U n lim ite d
Parmlib concatenation
S c o p e U n lim ite d
STARTINGTHEIPL
17
6/17/2015
S c o p e U n lim ite d
STARTINGTHEIPL
S c o p e U n lim ite d
STARTINGTHEIPL(CONT.)
The initialization process begins from the system console.
The system console is the one that communicates with the
hardware rather than with MVS.
The operator provides the following information:
A1 device number of the system residence volume.
A2 a parameter field.
A3 begin system initialization.
18
6/17/2015
S c o p e U n lim ite d
SYSTEMRESIDENCEVOLUME
S c o p e U n lim ite d
SYSTEMRESIDENCEVOLUME(CONT.)
The DASD volume that contains the SYS1.NUCLEUS data set will
be used to IPL (Initial Program Load) the MVS system and is
known as the system residence (SYSRES) volume.
The SYS1.SVCLIB data set must also be located on the SYSRES
volume. SYSl.SVCLIB contains error recovery routines that may
be required during the IPL process.
The SYSRES volume must also contain the IPL text a specialized
program that resides on cylinder 0, head 0 of the volume. It is
the first thing read into central storage during the IPL process
and is used to begin the transfer of data from the SYSRES
volume into central storage.
Other system data sets may, and usually do, reside on the
system residence volume.
19
6/17/2015
S c o p e U n lim ite d
LOADPARAMETER
S c o p e U n lim ite d
LOADPARAMETER(CONT.)
With MVS systems beginning with MVS/SP Version A, the
I/O configuration information may be in an IODF, and that
IODF may reside on a volume other than the system
residence volume. The Load Parameter field points to the
volume that contains the IODF and a LOADnn member of a
system library either SYS1.PARMLIB or SYSn.IPLPARM.
The last position of the Load Parameter provides a way of
pointing to an alternate nucleus member of the
SYS1.NUCLEUS data set.
The second last position of the Load Parameter controls
message suppression during the IPL process.
20
6/17/2015
S c o p e U n lim ite d
INITILIZATIONEXAMPLE1
S c o p e U n lim ite d
INITILIZATIONEXAMPLE1(CONT.)
As in the previous example, the system residence volume has a device
number of 0250. Therefore, 0250 is specified in the Load Unit Addr"
field.
The "Load Parm(A/N)" field indicates that a LOAD00 member on volume
0250 should be used for this IPL.
The NUCLEUS statement in LOAD00 contains a pointer to the
appropriate lEANCU0n.
The SYSCAT statement in LOAD00 provides the master catalog information
for this IPL.
21
6/17/2015
S c o p e U n lim ite d
INITILIZATIONEXAMPLE2
S c o p e U n lim ite d
INITILIZATIONEXAMPLE2(CONT.)
As we saw on the previous visual, the system needs lo know the device
number of the system residence volume and the location of the relevant
LOADnn member.
In this example, the "Load Parm(A/N)" field will be used to locate the LOADnn
member as well as to point to the volume containing the production IODF.
Device number 0260 is to be searched for the LOAD01 member of
SYSN.IPLPARM. Device number 0260 also contains the production IODF.
The "M" in the seventh position indicates that messages during the IPL process
are to be displayed, but the operator is not to be prompted for overrides.
The "1" in the eighth position indicates that the IEANUC01 member of the
SYS1.NUCLEUS data set is to be selected for this IPL. This overrides the
specification in the NUCLEUS statement of LOAD01
22
6/17/2015
S c o p e U n lim ite d
INTIALPROGRAMLOAD(IPL)
S c o p e U n lim ite d
INTILAPROGRAMLOAD(IPL) (CONT.)
The IPL program loads the selected nucleus
member of SYS1.NUCLEUS.
The IPL program also selects the appropriate I/O
configuration from either the SYS1.NUCLEUS data
set (if MVSCP was used to define the I/O
configuration) or from the production IODF (if HCD
was used to define the I/O configuration).
A Nucleus Initialization Program (NIP) resides in
the lEANUC0n member and receives control from
the IPL program to complete the nucleus
initialization process.
23
6/17/2015
S c o p e U n lim ite d
S c o p e U n lim ite d
IPLonz/OS
IPLonz/OS(CONT.)
24
6/17/2015
S c o p e U n lim ite d
TYPESofIPLs
S c o p e U n lim ite d
TYPESofIPLs(CONT.)
Cold Start: Any IPL that loads or reloads the
Pageable Link Pack Area (PLPA) and does not
preserve VIO data sets. The first IPL after system
installation is always a cold start because the
PLPA must be initially loaded. The PLPA needs to
be reloaded:
At the first IPL after system initialization, when the
system loads it automatically.
After modifying one or more modules in the LPALST
concatenation.
At the time of Cold Start, Its bring all the subsystems
automatically.
25
6/17/2015
S c o p e U n lim ite d
TYPESofIPLs(CONT.)
Warm Start: Any IPL that does not reload the
PLPA and preserves journaled VIO data sets. The
operator does not enter CLPA or CVIO at the
SPECIFY SYSTEM PARAMETERS prompt. Any
definitions of existing page data sets as nonVIO
local page data sets are preserved.
At the time of Warm Start, Its bring all the
subsystems except DB2, CICS and IMS.
S c o p e U n lim ite d
TYPESofIPLs(CONT.)
Quick Start Any IPL that does not reload the PLPA
and does not preserve VIO data sets. The system
recreates page and segment tables to match the
inuse PLPA. You would normally perform a Quick
Start IPL after a power up.
At the time of Quick Start, Its bring only three
subsystems like JES2, RACF and TSO.
26
6/17/2015
S c o p e U n lim ite d
WhathappenDuringtheIPL
LOAD SUCCESSFUL is a message from
the IPL hardware/microcode. IPL does:
1) Hardware system reset
2) Optional memory clear
3) SPOOL Memory will be cleared
4) System Dataset will be compressed
5) System will be reset to Current Stage
S c o p e U n lim ite d
LibrariesandMembersatIPLtime
An number of libraries must be present
for the system to load at IPL time.
SYS1.PARMLIB contains the required
definitions
SYSn.IPLPARM searched for LOADxx
SYS1.LPALIB
SYS1.PROCLIB
SYS1.NUCLEUS
27
6/17/2015
S c o p e U n lim ite d
LOADxx
S c o p e U n lim ite d
LOADxx
28
6/17/2015
S c o p e U n lim ite d
IPLStartUp
S c o p e U n lim ite d
Parmlib Commands
The parmlib concatenation can be
displayed using D PARMLIB
The parameters used at IPL can be
displayed using D IPLINFO
The parmlib concatenation can be
modified dynamically using SETLOAD
xx,PARMLIB (Please dont try this
Command)
29
6/17/2015
CommandstoDisplayParmlib
S c o p e U n lim ite d
D PARMLIB
IEE251I 17.12.07 PARMLIB DISPLAY 377
PARMLIB DATA SETS SPECIFIED
AT IPL
ENTRY FLAGS VOLUME DATA SET
1
S TOTSY1 SYS1.SYSPROG.PARMLIB
2
D TOTSY1 SYS1.PARMLIB
3
S Z04CAT CPAC.PARMLIB
4
S Z04RE1 SYS1.IBM.PARMLIB
D IPLINFO
IEE254I 17.15.29 IPLINFO DISPLAY 379
SYSTEM IPLED AT 09.28.14 ON 07/23/2004
RELEASE z/OS 01.04.00 LICENSE = z/OS
USED LOADR2 IN SYS0.IPLPARM ON 3800
ARCHLVL = 2 MTLSHARE = N
IEASYM LIST = XX
IEASYS LIST = (R3,04) (OP)
IODF DEVICE 3800
IPL DEVICE 8038 VOLUME Z04RE1
S c o p e U n lim ite d
ControllingPARMLIB
30
6/17/2015
InitializationVIAAutomaticCommands
S c o p e U n lim ite d
SomemembersofSYS1.PARMLIB
(Notallmembersmaybelisted)
S c o p e U n lim ite d
ALLOCxx (AllocationSystemDefaults)
CLOCKxx (TimeofDayParameters)
CNGRPxx (SpecifyAlternateConsoleGroups)
CNLcccxx (TimeandDateFormatforTranslatedMessages)
COMMNDxx (CommandsAutomaticallyIssuedatInitialization)
CONFIGxx (StandardConfigurationList)
CONSOLxx (ConsoleConfigurationDefinition)
DEVSUPxx (DeviceSupportOptions)
DIAGxx (ControlCommonStorageTrackingandGFSTrace)
EXITxx (AllocationInstallationExitList)
GRSRNLxx (GlobalResourceSerializationResourceNameLists)
IEAAPFxx (AuthorizedProgramFacilityList).
IEACMD00(IBMSuppliedCommands)
IEADMP00(ABDUMPWrittentoaSYSUDUMPDataSet)
IEADMR00(ABDUMPWrittentoaSYSMDUMPDataSet)
IEAFIXxx (FixedLPAList)
31
6/17/2015
SomemembersofSYS1.PARMLIB
(Notallmembersmaybelisted) (CONT.)
S c o p e U n lim ite d
IEALPAxx (ModifiedLPAList)
IEAPAKxx (LPAPackList)
IEASVCxx (InstallationDefinedSVCs)
IEASYMxx (SymbolDefinitionsandIEASYSxx Members)
IEASYSxx (SystemParameterList)
IEFSSNxx (SubsystemDefinitions)
IKJTSOxx (TSO/ECommandsandPrograms)
IPCSPRnn (InteractiveProblemControlSystem)
LNKLSTxx (LNKLSTConcatenation)
MMSLSTxx (MVSMessageServiceList)
MSTJCLxx (MasterSchedulerJCL)
NUCLSTxx (CustomizingtheNucleusRegion)
PFKTABxx (ProgramFunctionKeyTableDefinition)
PROGxx (AuthorizedProgramList,Exits,LNKLSTSetsandLPA)
SMFPRMxx (SystemManagementFacilities(SMF)Parameters)ValueofJWT.
TSOKEY00(TSO/VTAMTimeSharingParameters)
VATLSTxx (VolumeAttributeList)
S c o p e U n lim ite d
IEASYSxx
32
6/17/2015
S c o p e U n lim ite d
S c o p e U n lim ite d
IEASYSxx (Cont.)
IEASYMxx
33
6/17/2015
S c o p e U n lim ite d
Catalog
S c o p e U n lim ite d
Catalog(Cont.)
Ensuring that your catalogs are effectively managed is
therefore a crucial aspect of DASD management. Some
of the most common catalog management tasks that a
system programmer may have are:
Defining and maintaining the master catalog
Defining the alias and user catalog
Protecting the catalogs
Cleaning up catalogs
Backing up catalogs and performing catalog recovery
34
6/17/2015
S c o p e U n lim ite d
MasterCatalog
S c o p e U n lim ite d
MasterCatalog(Cont.)
Every MVS system relies on the master catalog at IPL time to locate system data
sets.
The LOADxx member of PARMLIB contains the SYSCAT statement, which identifies
the name of the master catalog and the volume where it resides.
The intervening 113C indicates the following:
The first '1' indicates the type of master catalog is an ICF catalog structure, and the
SYS% facility is not enabled
The second '1' indicates that only the first qualifier of the data set name (HLQ) is to be
used as an ALIAS pointer. Up to 4 qualifiers may be used to identify an ALIAS. This is
called the multilevel alias facility.
The '3C' indicates the lower limit for the number of tasks started to service catalog
requests.
The master catalog is vital for the correct running of the system. To minimize its
exposure during normal running, updates are restricted to those users authorized
to do so. This should only be the systems programmers and the storage
administrators. User errors may easily cause attempted updates to the master
catalog.
The master catalog should only contain when the Master Catalog got corrupted:
catalog pointers to system data sets (e.g. page data sets, and SYS1 data sets)
alternative names for user catalogs (called ALIAS pointers), and
pointers to user catalogs (CONNECT entries).
35
6/17/2015
S c o p e U n lim ite d
SeparatingofSoftware
S c o p e U n lim ite d
SeparatingofSoftware(Cont.)
Thekindsofdatayoushouldseparatefromz/OS
softwareare:
Customizationdata,includingmostsystem
controlfiles
NonIBMsoftware
IBMnonz/OSproducts,forexampleCICSand
DB2
Userdefinedexits
Userdata
36
6/17/2015
S c o p e U n lim ite d
PlacingdatasetsonSpecificVolumes
S c o p e U n lim ite d
PlacingofDatasetsonSpecific
Volumes(Cont.)
Some SYSRES volume types, such as the 33903, are not big
enough to hold all the target libraries for a z/OS system.
Therefore, you have to move some data sets to SYSRES logical
extension volumes (or overflow volumes). The considerations you
should take into account for placing data sets on specific volumes
are:
Your ability to use a system (or subsystem) replacement
Data set and system availability
System performance
System cloning and servicing techniques
Sysplex/multisystem operations
Sharing data sets
Backup and recovery
Disaster recovery
37
6/17/2015
S c o p e U n lim ite d
TargetLIBVolumes
S c o p e U n lim ite d
TargetLIBVolumes(Cont.)
Primary target volume (TVOL1) data sets are:
Load libraries
Change migration libraries
Help libraries
Panel libraries
Message libraries
Skeleton libraries
Table libraries
Fixedblock CLIST and EXEC libraries
Data libraries
SMP/Emanaged PARMLIB
SMP/Emanaged PROCLIB
38
6/17/2015
S c o p e U n lim ite d
TargetLIBVolumes(Cont.)
Secondarytargetvolumes(TVOL2TVOLn)datasets
are:
FixedblockCLISTandEXEClibraries
SampleandJCLlibraries
Sourcelibraries
Macrolibraries
Workstation
SoftcopylibrariesintowhichSMP/Einstalls
Fontandprintinglibraries
FlatfilesthatSMP/Ecannotmanage
SMP/EtargetCSI
SMP/Etargetdatasets
S c o p e U n lim ite d
TargetLIBVolumes(Cont.)
Subsystem target volume The libraries on this volume
consist of the subsystem product sets (for example,
CISCS, DB2, IMS, or NCP). The recommended types of
data sets for this volume are:
Subsystem target libraries.
Alternate subsystem SMP/E global CSI, if applicable.
SMP/E target CSI.
SMP/E target data sets: SMPLTS, SMPMTS, SMPSTS,
and SMPSCDS.
User catalog where the subsystem targets libraries
including SMP/E CSIs are cataloged.
39
6/17/2015
S c o p e U n lim ite d
DistributionLIBVolumes
S c o p e U n lim ite d
ImageRelatedVolumes
40
6/17/2015
S c o p e U n lim ite d
ImageRelatedVolumes(Cont.)
Page data sets volume 1
PLPA (onecylinder allocation)
COMMON
Page data set volumes 2 to n
Local
SMF
RMF reporting
STGINDEX data set (if used)
Imagerelated LOGREC data set (if used)
HFS customization volume
HFS data sets that must be in write mode (for instance, /tmp,
/etc, /dev, /u) and that contain customized information.
User catalog where the HFS data sets are cataloged.
S c o p e U n lim ite d
ClusterRelatedVolumes
41
6/17/2015
S c o p e U n lim ite d
ClusterRelatedVolumes(Cont.)
Mastercatalogvolume
MasterCatalog
BROADCASTdataset
Customerparmlib concatenation(nottheSMP/EDDDEFed PARMLIB)
Customerproclib concatenation(nottheSMP/EDDDEFed PROCLIB)
UADSdataset(ifused)
VTAMLSTdataset
SMScontroldatasets(ACDS,SCDS,andCOMMDS),HSM,RMM,andsoforth
APPCVSAMdataset
Systemcontrolfiles(TCPI/Pconfigurationandsoforth)
PrimaryRACFdatabase
IODFdataset
SYS0.IPLPARM
UCATs
SYS1.DDIRsysplex dumpdirectorydataset
DAEdataset
JEScheckpointvolume Formaximumperformanceandreducedcontention
JESspoolvolume
S c o p e U n lim ite d
ClusterRelatedVolumes(Cont.)
Sysplexrelatedvolume1
SYSPLEXprimary
CFRMalternate
ARMprimary
WLMprimary
LOGRprimary
OMVSprimary
Sysplexrelatedvolume2
Sysplex alternate
CFRMalternate
ARMalternate
WLMalternate
LOGRalternate
OMVSalternate
SecondaryRACFdatabase
Softcopyvolume
Books
Bookshelves
Bookindexes
42
6/17/2015
S c o p e U n lim ite d
SystemDatasets
S c o p e U n lim ite d
MVSMessagesDetails
Messages have two parts
The message text provides information or describes an
error.
The message ID normally consists of a prefix, a serial
number and a code.
43
6/17/2015
S c o p e U n lim ite d
MVSMessagesDetails(Cont.)
The message ID normally consists of a
Prefix
Serial Number
Code
MVS messages
VTAM messages
SMS messages
JES2 messages
JES3 messages
S c o p e U n lim ite d
MVSMessagesDetails(Cont.)
000 A serial number to identify the individual
message
I A code to indicate the type of message.
Valid options are
A
D
E
I
W
44
6/17/2015
S c o p e U n lim ite d
MVSMessagesDetails(Cont.)
Action messages are
Highlighted and become nondeletable
Prefixed with a symbol (* or @) that indicates an
operator action is expected
Ex: *IEF233A M 580,323947,,SYS122A,STEP01,SYS122.DATA
S c o p e U n lim ite d
MVSMessagesDetails(Cont.)
An action message prefixed with a two digit number is
considered an outstanding reply, and you must respond.
*95IEF238D TF08QCPY REPLY DEVICE NAME,'WAIT' OR 'CANCEL
Function:Torespondtosystemrequestsforinformation
Syntax:<R>id<,text>
Description:RIndicatesamessagereply
idThetwodigitreplynumberfromthemessagethat
requiresanoperatorreplytextTheresponsetothemessage
Afteryouperformtherequiredaction
Theactioncharacterisreplacedwitha
Themessagehighlightingiseliminated
Themessagebecomesdeletable
45
6/17/2015
S c o p e U n lim ite d
MVSMessagesDetails(Cont.)
References
MVSSystemCommands
MVSSystemMessagesVolume1toVolume 10
MVSDataAreasVolume1toVolume 6
S c o p e U n lim ite d
SystemDatasetsHousekeeping
46
6/17/2015
SystemDatasetsHousekeeping(Cont.)
S c o p e U n lim ite d
S c o p e U n lim ite d
SMFData
47
6/17/2015
S c o p e U n lim ite d
SMFData(Cont.)
How to collect SMF data
To record SMF data, you have to allocate direct access space and
catalog the SMF data sets. You should allocate at least two data
sets for SMF use (with at least one on a highperformance device),
as follows:
1. A highperformance device is needed because, if the I/O rate
is too slow, data will have to be buffered. The buffers will
eventually fill up, which could result in lost data.
2. The naming convention used for SMF data sets is SYS1.MANx,
such as SYS1.MAN1, SYS1.MAN2, SYS1.MAN3.
3. Consider the following factors when determining which device
type to specify when allocating SMF data sets:
S c o p e U n lim ite d
48
6/17/2015
S c o p e U n lim ite d
S c o p e U n lim ite d
49
6/17/2015
S c o p e U n lim ite d
S c o p e U n lim ite d
LOGRECData
50
6/17/2015
S c o p e U n lim ite d
LOGRECData(Cont.)
How to create SYS1.LOGREC
When an error occurs, the system records information about
the error in the LOGREC data set. The information provides you
with a history of all hardware failures, selected software errors,
and selected system conditions.
Print reports about the system records
Determine the history of the system
Learn about a particular error
Before the system can record all this information, you must
first allocate the LOGREC data set and initialize it.
Note: Whenever you allocate or reallocate the LOGREC data
set, the newly allocated data set will not be used until you
initialize it and IPL the system on which it is to be used.
S c o p e U n lim ite d
LOGRECData(Cont.)
How to clear SYS1.LOGREC
The LOGREC data set will eventually become full,
the same as the SMF data set, and console
messages appear requesting the operator to take
action. Therefore, this data set needs to be cleared
so that it can be reused. There is only one LOGREC
data set for z/OS.
As a system programmer have to set up a process
to clear the LOGREC data set when the following
message appears:
IFB080ELOGRECDATASETISFULL,DSN=SYS1.LOGREC
51
6/17/2015
S c o p e U n lim ite d
LOGRECData(Cont.)
You can use the following sample JCL to clear the
LOGREC data set:
//CLRLOG JOB (),'MVSSP',NOTIFY=&SYSUID,CLASS=A,MSGLEVEL=(1,1),
//STEP EXEC PGM=IFCEREP1,PARM='CARD'
//SERLOG DD DSN=SYS1.LOGREC,DISP=OLD
//ACCDEV DD DSN=SYS1.LOGREC.TEMPSTOR,DISP=MOD
//TOURIST DD SYSOUT=*
//EREPPT DD SYSOUT=*
//SYSIN DD DUMMY
SYSUM
ACC=Y
ZERO=Y
The job will copy the LOGREC data set to the data set
specified in the DDNAME ACCDEV, print a brief summary
of LOGREC data, and then clear the data set.
S c o p e U n lim ite d
SYSLOGData
52
6/17/2015
S c o p e U n lim ite d
SYSLOGData(Cont.)
S c o p e U n lim ite d
OtherAdministrationTasks
53
6/17/2015
S c o p e U n lim ite d
OtherAdministrationTasks(Cont.)
WorkwithMIH
Addpagedatasets
ChangeTSOtimeout
Addspoolvolumes
Deletespoolvolumes
Verifysystemconfiguration
ViewSYSOUTusingISPF
ChangeyourTSOprofile
Backupandrestorez/OS
S c o p e U n lim ite d
WhyMainframeisnotdeadSTILL?
OLDMAINFRAMERSWILLNEVERDIE
BECAUSE
THEYJUSTTAKEDUMPANDReIPL
54
6/17/2015
S c o p e U n lim ite d
Subsystems&SubsystemInterface(SSI)
Definingsubsystemsandsubsystem
interface
S c o p e U n lim ite d
55
6/17/2015
S c o p e U n lim ite d
WhatisSubsystem?
A subsystem is a service provider that performs one function or
many functions, but does nothing until it is requested.
Processing the IEFSSNxx Parmlib member during IPL.
You can use either the keyword format or positional format of
the IEFSSNxx parmlib member.
The keyword format, which allows you to define and
dynamically manage your subsystems.
Issuing the IEFSSI macro
Issuing the SETSSI system command
S c o p e U n lim ite d
WhatisSubsystem?(Cont.)
There are four types of subsystems:
The master scheduler subsystem is used to establish
communication between the operating system and the
primary job entry subsystem, which can be JES2 or JES3. It
is also used to initialize system services such as the system
log and communications task.
The primary subsystem is the job entry subsystem that
MVS uses to do work. It can be either JES2 or JES3.
Secondary subsystems provide functions as needed by IBM
products, vendor products, or the installation.
Functional subsystems: JES2/JES3 allows certain functions
to operate outside the JES2/JES3 address space.
56
6/17/2015
S c o p e U n lim ite d
WhatisSubsystemInterface?
The SSI is the interface used by routines (IBM,
vendor, or installationwritten) to request
services of, or to pass information to, subsystems.
The SSI is a way for one routine to call another
routine. There are a number of other ways that a
routine can call another routine, such as:
Link register
LINK or LINKX macro
Program call (PC)
SVC
S c o p e U n lim ite d
SubsystemInitialization
57
6/17/2015
SubsystemInitialization(Cont.)
S c o p e U n lim ite d
MVS requires that at least one subsystem be defined as JES to bring jobs
into the system. The JES is also called the primary subsystem. You can
select either JES2 or JES3. If you do not specify an IEFSSNxx member in
SYS1.PARMLIB, MVS attempts to use the system default member,
IEFSSN00. IEFSSN00, as supplied by IBM, contains the definition for the
default primary JES2.
If you attempt to IPL without specifying an IEFSSNxx member, and
IEFSSN00 is not present or does not identify the primary subsystem, the
system issues message IEFJ005I and prompts the operator for the
primary subsystem.
If we didnt define a subsystem more than once in a combination of
IEFSSNxx members that can be used together or within a single member.
The same subsystem can appear in two different IEFSSNxx members
when the members will not be used together. In general, if MVS detects
a duplicate name, both of the following are true:
MVS does not define the duplicate subsystem
MVS does not give control to the initialization routine.
SubsystemInitialization(Cont.)
S c o p e U n lim ite d
58
6/17/2015
S c o p e U n lim ite d
SubsystemDefinitions
SubsystemDefinitions(Cont.)
S c o p e U n lim ite d
59
6/17/2015
SubsystemDefinitions(Cont.)
S c o p e U n lim ite d
S c o p e U n lim ite d
JES2supportedSSIfunctions
60
6/17/2015
S c o p e U n lim ite d
LPA,LNKLST&APFLibraries
S c o p e U n lim ite d
LinkPackArea(LPA)
61
6/17/2015
S c o p e U n lim ite d
LinkPackArea(LPA) (Cont.)
Link pack area (LPA) modules are loaded in common
storage, shared by all address spaces in the system.
Modules found in LPA do not need to be brought into
virtual storage because they are already in virtual
storage.
Modules placed anywhere in LPA are always in virtual
storage, and modules placed in FLPA are also always in
central storage.
LPA pages are only stolen, and never paged out,
because there are copies of all LPA pages in the LPA
page data set.
S c o p e U n lim ite d
LPASubAreas
The link pack area (LPA) is a section of the common area of an address
space. It exists below the system queue area (SQA) and consists of the
pageable link pack area (PLPA), then the fixed link pack area (FLPA) if one
exists, and finally the modified link pack area (MLPA).
Each component of the LPA has a counterpart in the extended common area
(that is above the 16 megabyte line) as follows:
FLPA The FLPA exists only for the duration of an IPL.
PLPA During initialization, both primary and secondary (or duplexed)
PLPAs are established. On the PLPA page data set, ASM maintains
records that have pointers to the PLPA and extended PLPA pages.
MLPA This area may be used to contain reenterable routines from
APFauthorized libraries that are to be part of the pageable extension
to the link pack area during the current IPL. The MLPA exists only for
the duration of an IPL.
Note: FLPA & MLPA has to be specified during the WARM & Quick Start.
62
6/17/2015
S c o p e U n lim ite d
LPAParmlib Definition
S c o p e U n lim ite d
LPAParmlib Definition(Cont.)
Specifying LPA parameters in Parmlib
The two characters (A through Z, 0 through 9, @, #, or $)
represented by aa (or bb and so forth) in Figure, are
appended to LPALST to form the name of the LPALSTxx
parmlib members.
If the L option is specified, the system displays the contents
of the LPALSTxx parmlib members at the operator's console
as the system processes the members.
The LPA parameter is only effective during cold starts. The
LPA parameter does not apply to modules requested
through the MLPA option.
63
6/17/2015
S c o p e U n lim ite d
CodingaLPALSTxx Member
S c o p e U n lim ite d
CodingaLPALSTxx Member(Cont.)
Some important syntax rules for the creation of
LPALSTxx are:
On each record, place a string of data set names
separated by commas.
If a data set is not cataloged in the system master
catalog, but is cataloged in a user catalog, specify in
parentheses immediately following the data set name
the one to six character VOLSER of the pack on which
the data set resides.
Indicate continuation by placing a comma followed by
at least one blank after the last data set name on a
record.
64
6/17/2015
S c o p e U n lim ite d
DynamicLPAFunctions
S c o p e U n lim ite d
DynamicLPAFunctions(Cont.)
How to perform dynamic LPA functions
The PROGxx parmlib member includes the LPA
statements, which are used to define what modules
can be added to or deleted from LPA after the IPL.
You use the SET command to validate the PROGxx
parmlib member; for example, SET PROG=xx.
The SETPROG LPA command may be used to initiate a
change (add or delete) to the LPA.
The DISPLAY PROG,LPA command may be used to
display information about modules that have been
added to LPA.
The CSVDYLPA macro allows an authorized program
to initiate dynamic LPA services.
65
6/17/2015
S c o p e U n lim ite d
LinkedList(LNKLST)
S c o p e U n lim ite d
LinkedList(LNKLST) (Cont.)
66
6/17/2015
S c o p e U n lim ite d
DynamicLNKLSTFunctions
DynamicLNKLSTFunctions(Cont.)
S c o p e U n lim ite d
67
6/17/2015
S c o p e U n lim ite d
AuthorizedLibraries
S c o p e U n lim ite d
AuthorizedLibraries(Cont.)
z/OS offers a mechanism called the authorized program
facility (APF) to restrict the access to sensitive system
functions or user programs. APF was designed to avoid
integrity exposures. The installation identifies what libraries
contain those special functions or programs. Those libraries
are then called APF (authorized program facility) libraries.
The modified link pack area (MLPA) may be used to contain
reenterable routines from APFauthorized libraries that are
to be part of the pageable extension to the link pack area
during the current IPL.
The MLPA exists only for the duration of an IPL. Therefore,
if an MLPA is desired, the modules in the MLPA must be
specified for each IPL (including quick start and warm start
IPLs).
68
6/17/2015
S c o p e U n lim ite d
AuthorizedLibraries(Cont.)
APFauthorizedprogramsmustresideinoneofthe
followingauthorizedlibraries:
SYS1.LINKLIB
SYS1.SVCLIB
SYS1.LPALIB
Anauthorizedlibraryspecifiedbyyourinstallation
S c o p e U n lim ite d
DynamicAPFFunctions
69
6/17/2015
S c o p e U n lim ite d
DynamicAPFFunctions(Cont.)
Managing dynamic APF
Use PROGxx Parmlib member which includes the
appropriate APF statement to define the change.
The SETPROG AFP operator can also initiate a
change to the APF table.
The DISPLAY AFP command can be used to display
the list of libraries authorized by APF.
S c o p e U n lim ite d
THANKYOU!!!
70