Professional Documents
Culture Documents
Session 12970
Stephen Branch IBM Corporation
Janet Sun Rocket Software
Agenda
Catalog Management
Catalog Backup and Recovery
Catalog Diagnostics
Buffering Basics
Catalog Caching
Catalog Sharing
Catalog Tuning
Final Thoughts
Catalog Management
Defining a Catalog
Use IDCAMS DEFINE USERCATALOG
Cannot span volumes
Cannot be defined as a striped data set
Can only be an Extended Format data set if at z/OS
1.12 or higher, allows extended addressability
(>4GB)
Allocate in cylinders
Alias records
Created with IDCAMS DEFINE ALIAS
An alias name defined in the master catalog can be used to
reference a user catalog
Defining a VVDS
Always explicitly DEFINE VVDSs!
Default is TRACKS(10 10) - usually too small
Since z/OS 1.7 a system default can be set
Default is not preserved across an IPL
F CATALOG,VVDSSPACE(prim,sec) not in Cylinders
10
11
12
ICFRU
Used for BCS Forward Recovery
IBM field developed product
Incorporated into z/OS DFSMS 1.7
Takes IDCAMS EXPORT copy of the BCS and SMF
records from all sharing systems as input
Creates a new EXPORT format backup which is used as
input to IDCAMS IMPORT to rebuild the catalog
14
ICFRU
Components of ICFRU
CRURRSV Record Selection and Validation
Processes dumped SMF data sets
Extracts appropriate records
15
16
Catalog Diagnostics
Fixing Problems
If EXAMINE Identified the Problem with a KSDS
If it is not a BCS
Can delete data set and recover from recent backup
Can unload a non-BCS KSDS data set by reading data component
directly as an ESDS, sorting data, and then loading into new KSDS
20
21
Buffering Basics
Buffering Basics
Data and Index Buffers
The unit of transfer between DASD and storage is a Control
Interval (CI)
A larger data CI size would favor sequential processing
A smaller CI size would favor direct processing
Level 2
Level 2
Level 2
E
O
F
SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI
HURBA
24
Free CAs
HARBA
Improved Buffering
Level 2 Buffer
Level 3 Buffer
Level 2 Buffer
Level 2 Buffer
Level 1 Buffer
Data Buffer
Data Buffer
Level 3
Level 1
Sequence Set
Level 2
Level 2
Level 2
E
O
F
SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI SSI
HURBA
25
Free CAs
HARBA
Set BUFND = 2
26
27
CASZ=CISZ x CI/CA
AVGLRECL-------------200
MAXLRECL-----------2,040
NOERASE
NOWRITECHECK
BUFSPACE----------10,240
CA SIZE----------737,280
NOIMBED
NOREUSE
CISIZE------------4,096
CI/CA---------------180
NONSPANNED
CI SPLITS--------145,018
CA SPLITS------------776
FREESPACE CI%----------0
FREESPACE CA%----------0
APPROX FREE CI'S-410,487
EXCPS----------7,298,906
EXTENTS----------------1
LAST UPDATED:
15 OCT 2000--07:39
UPDATE/OUTPUT FLAG---ON
HI ALLO RBA-2,131,476,480
HI USED RBA---941,506,560
APPROX FREE CA'S----1,614
BUFNI = TI
HURBA / CASZ + 1
BUFNI = 1,315 (941,506,560 / (4096*180) + 1
=1,315 1,277 + 1
= 39
HURBA
RECORD SIZE--------2,041
CA SIZE-----------43,008
CISIZE------------2,048
CI/CA----------------21
EXCPS----------2,928,653
EXTENTS----------------1
LAST UPDATED:
15 OCT 2000--07:39
INDEX:
LEVELS----------------3
ENTRIES/SECT---------13
SEQ SET RBA-----------0
HI LEVEL RBA----260,096
TI
SEQ SET SPLITS-------776
IND SET SPLITS--------12
APPROX FREE CI'S---1,708
Index
Buffers
EXCPs
CPU
time
Elapsed
time
2
(default)
1
(default)
199,000
13.62
30
199,000
13.60
118,000
8.46
2.4
39
99,376
7.27
2.0
50
99,376
7.42
2.0
28
29
30
Catalog Caching
Caching Basics
Types of Caching for Catalogs
Two kinds of cache exclusively for catalogs
In-storage catalog (ISC) cache
Catalog data space cache (CDSC)
33
MAXVIRT(4096|nnnn)
Catalog Sharing
Catalog Sharing
Sharing Catalogs
A shared catalog is one that is eligible to be used by
more than one system
A catalog is shared if:
SHAREOPTIONS (3 4) (this is the default)
and
It resides on a shared DASD volume
36
Catalog Sharing
Sharing Catalogs (continued)
Sharing requires checking for changes before using cached
records
To ensure that the ISC or CDSC contains current information
To ensure that the control blocks for the catalog are updated in
the event the catalog has been extended or otherwise altered
from another system
This checking maintains data integrity
This checking affects performance because the VVR for a
shared catalog must be read before using the cached version
of the record
37
Catalog Sharing
Key Points
Convert the resource SYSIGGV2 to a SYSTEMS enqueue
Failing to do so could break catalogs
38
ECS Mode
Information that describes changes to a shared catalog is
stored in the Coupling Facility (CF)
The I/O to the VVDS that is required in VVDS mode is
eliminated
The SYSZVVDS RESERVE is avoided
39
40
41
42
Catalog Tuning
44
The Solution
Analyze your z/OS environment to determine if your data
sets are concentrated in a few user catalogs, and assess
the risk to your critical business functions
If they are concentrated, initiate a project to spread your
cataloged data sets across more of your user catalogs
45
Reorganizing Catalogs
When Should a Catalog Be Reorganized?
Recommended only when:
The catalog is approaching maximum extents
There is not enough room on the volume where the catalog
resides to allow more extents to be taken
An attribute of the catalog needs to be changed
47
Final Thoughts
49
50
Q&A
51
Trademarks
The following terms are trademarks of the International Business Machines
Corporation in the United States and/or other countries:
IBM, Tivoli, z/OS, DFSMSdfp
The following terms are trademarks of Rocket Software, Incorporated in the
United States and/or other countries:
Rocket
Other company, product, and service names may be trademarks or service
marks of others.
Copyright 2013 IBM Corporation. All Rights Reserved.
Copyright 2013 Rocket Software, Inc. All Rights Reserved.
52