DFSMSHSM Primer
DFSMSHSM Primer
ibm.com/redbooks
SG24-5272-01
DFSMShsm Primer
December 2000
Take Note!
Before using this information and the product it supports, be sure to read the general information in
Appendix B, “Special notices” on page 349.
This edition applies to Version 2, Release 10 of OS/390 DFSMShsm, Program Number 5647-A01.
When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the
information in any way it believes appropriate without incurring any obligation to you.
© Copyright International Business Machines Corporation 1998, 2000. All rights reserved.
Note to U.S Government Users – Documentation related to restricted rights – Use, duplication or disclosure is subject to
restrictions set forth in GSA ADP Schedule Contract with IBM Corp.
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
The team that wrote this redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Comments welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
iv DFSMShsm Primer
3.7 Restarting DFSMShsm after an abnormal end . . . . . . . . . . . . . . . . . 184
3.8 Changing DFSMShsm control parameters . . . . . . . . . . . . . . . . . . . . 186
v
Chapter 6. Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . 273
6.1 List command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . 273
6.2 Query command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . 285
6.3 Report command . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . 297
6.4 Utilities in ARCTOOLS for DFSMShsm reporting . . . . .. . . . . .. . . . 301
6.5 Using DCOLLECT . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . 302
6.6 Using the HSM Monitor/Tuner . . . . . . . . . . . . . . . . . . .. . . . . .. . . . 305
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
vi DFSMShsm Primer
Figures
ix
127.Data class ACS routine for DFSMShsm data (part 1 of 3) . . . . . . . . . . . 346
128.Data class ACS routine for DFSMShsm data (part 2 of 3) . . . . . . . . . . . 347
129.Data class ACS routine for DFSMShsm data (part 3 of 3) . . . . . . . . . . . 348
x DFSMShsm Primer
Tables
Those implementing DFSMShsm for the first time will find valuable
information for exploiting the DFSMShsm functions. Experienced persons will
find that this redbook can be used as an update to the latest DFSMShsm
functions, and it shows how to use those functions in an existing DFSMShsm
installation.
Heong Ge Park
Nigel Morton
Tony Pearson
Cuong Le
Lyn L.Ashton
Glenn Wilcock
Bob McMurry
IBM SSD Advanced Technical Support, San Jose
Robert Haimowitz
International Technical Support Organization, Poughkeepsie Center
Comments welcome
Your comments are important to us!
Its flexibility allows you to manage your storage at the data set level, the
device level, or even the device pool level. DFSMShsm provides the means to
manage every data set from the time of its creation until the time its last
backup is no longer required.
When the data is needed again, DFSMShsm returns it to the user's control.
This process is called recall and is usually processed automatically by
DFSMShsm. Recall is also possible by issuing an HRECALL command from
4 DFSMShsm Primer
your time sharing option (TSO) session or batch job. The ACS routines
ultimately determine the volume to which the data set will be recalled.
Data on tapes is invalidated over time by the expiration of migrated data sets
or the generation of more recent backup data sets. The recycle function
provides the capability of moving the valid data sets out from the original
tapes and consolidates the data on another tape, therefore making one tape
with all unexpired data sets and leaving the recycled tapes available for
reuse.
The main function of primary space management is to move your system and
user data away from your DFSMShsm-managed volumes to tape, or to ML1
DASD, which provides faster recall capability. This process maintains
sufficient capacity on your DFSMShsm-managed volumes to enable
operations such as batch processing to continue without interruption or space
failure.
6 DFSMShsm Primer
• Ensure data which must be kept due to external requirements is retained
(for example, tax records)
The functions which provide the capability of recovering are the following:
• Backup
• Dump
• Recover
• ABARS
The inline backup function allows you to back up data sets in a batch
environment. You can back up data sets in the middle of a job in a batch
environment. Inline backup writes the backup version on an ML1 volume or to
a tape volume. If moved to an ML1 volume you can minimize unplanned tape
mounts. In that case the backup version is subsequently moved to the backup
volume during automatic backup or by command.
ABARS provides for disaster recovery. The ABARS functions require the
specification of aggregate group and selection data set names to encompass
all of the data sets required for running critical applications. You can then
issue a single command to back up (ABACKUP) or recover (ARECOVER) all
of the data sets in each aggregate.
SMS and DFSMShsm work together, using the SMS attributes specified in
the management class, to provide space and availability management at the
data set level.
SMS classes and storage groups can be assigned for data sets by Automatic
Class Selection (ACS).
Figure 1 shows the order in which ACS routines are processed. Data
becomes system-managed if the storage class routine assigns a storage
class to the data. If the routine does not assign a storage class to the data,
the data cannot reside on a system-managed volume.
8 DFSMShsm Primer
.
D a ta C la s s
N e w D a ta S e t
A llo c a tio n A C S R o u tin e N o n -S y s te m -M a n a g e d
V o lu m e
Not
S to ra g e C la s s Assigned
A C S R o u tin e
Assigned
M a n a g e m e n t C la s s S y s te m -M a n a g e d
A C S R o u tin e V o lu m e
S to r a g e G r o u p
A C S R o u tin e
SMS attributes for an user or group can be defined by RACF’s DFP segments
(using ALTUSER or ALTGROUP command), simplifying ACS routines. For
more information on those RACF commands, see OS/390 V2R10.0
SecureWay Security Server RACF Command Language Reference,
SC28-1919.
DASD storage groups allow you to pool volumes for the purpose of defining
how and whether:
• Automatic dumps are performed on the volumes and to what dump classes
• Automatic backups are performed on the volumes
• Automatic volume space management is performed on the volumes and at
what level of occupancy
Restore, the reverse of dump, moves dumped data sets from dump volumes to
level 0 volumes.
Recovery, the reverse of backup, returns data sets from the daily backup
volumes or the spill backup volumes to the level 0 volumes. Recovery can be
performed only by command, for individual data sets or for complete
volumes.
10 DFSMShsm Primer
DFSMShsm uses the attributes from the storage group to determine which
level 0 volumes to process for space management, how full the volume must
be before data sets are migrated from the volume, and how much free space
should be on the volume after space management has finished.
Recall, the reverse of migration, moves data sets from ML1 or ML2 volumes
to level 0 volumes. With the recall function, DFSMShsm returns data sets to
storage groups as specified by SMS, whether the data set migrated from a
volume in a storage group or not.
In addition, you can specify the number of days to retain backup versions of
non-SMS-managed data sets only by command parameters for the entire
system complex.
The aggregate backup and aggregate recovery functions provide you with the
capability to back up and recover a user-defined group of data sets. The
user-defined group of data sets may be those belonging to an application or
12 DFSMShsm Primer
any combination of data sets that you want treated as a separate entity.
ABARS treats SMS and non-SMS data sets in identical manner.
With the aggregate backup and aggregate recovery functions, you can:
• Define the components of an aggregate
• Back up data sets by aggregate
• Recover data sets by aggregate
• Duplicate your aggregates at a remote site
• Resume business at a remote location if necessary
Once the product is installed in the system, there are a numerous of activities
needed for configuring and setting up the parameters to fit our requirements.
This process is known as implementation. The parameters to define can be
different from installation to installation depending on the needs.
PDO X
JRNL
Journaling
PDOY Tracing
Activity
Reporting
Activity
Logs
Every data set that SMS manages has a storage class assigned to it. To
define the storage class for the DFSMShsm data sets, first go to the ISMF
18 DFSMShsm Primer
Primary Option Menu (Figure 3) and select option 5, Storage Class, to go to
the Storage Class Application Selection panel (Figure 4).
Panel Help
________________________________________________________________________________
ISMF PRIMARY OPTION MENU - DFSMS V2R10
Enter Selection or Command ===> 5
We are now on the first page of the Storage Class Define panel (Figure 5),
where we can specify the basic parameters that we need to accomplish the
performance and availability objectives of the DFSMShsm data sets.
Use ENTER to Perform Verification; Use DOWN Command to View next Page;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
20 DFSMShsm Primer
STORAGE CLASS DEFINE Page 2 of 2
Command ===>
Guaranteed Space . . . . . . . . . N (Y or N)
Guaranteed Synchronous Write . . . N (Y or N)
CF Cache Set Name . . . . . . . . (up to 8 chars or blank)
CF Direct Weight . . . . . . . . . (1 to 11 or blank)
CF Sequential Weight . . . . . . . (1 to 11 or blank)
Table 1 shows the content of the three storage classes that were developed
for the DFSMShsm data sets:
SC54GRT Is the class used to allocate, on a specific volume, data sets that
require high performance, such as the DFSMShsm CDSs and
the journal.
SC54STD Is the class used to allocate data sets that require average
performance. It can be used to allocate the DFSMShsm log and
PDA data sets.
SC54LOW Addresses allocation in a DFSMS work pool. It is used to
allocate the DFSMShsm activity logs.
Table 1. Storage classes for DFSMShsm data sets
Name
Accessibility
Guaranteed
Availability
Sequential
Sequential
Response
Response
Space
Direct
Bias
SC54GRT 5 5 C C YES
SC54STD 30 30 W S S NO
Cache usage and DASD fast write usage attributes are based on these
parameters associated with the data set. If you do not want to use cache or
DASD fast write, specify the Millisecond Response field as "999".
22 DFSMShsm Primer
Note
With the IBM ESS, the guaranteed space attribute of a storage class with
specific volser is no longer required for data sets other than those that
need to be separated (for example, DB2 online logs and BSDS) or that
must reside on specific volumes because of their naming conventions (for
example, VSAM RLS control data sets).
CF CACHE SET NAME is used to indicate the name of a CF cache set defined in
the base configuration, thereby making any data set associated with this
storage class eligible for VSAM record-level sharing (RLS), in a Parallel
Sysplex environment. DFSMShsm CDSs can be accessed in RLS mode,
allowing DFSMShsm to take advantage of the coupling facility hardware for
CDS access.
CF DIRECT WEIGHT is used to indicate the direct data's relative importance in the
CF structure.
Expiration Attributes
Expire after Days Non-usage . . NOLIMIT (1 to 9999 or NOLIMIT)
Expire after Date/Days . . . . . NOLIMIT (0 to 9999, yyyy/mm/dd or
NOLIMIT)
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Migration Attributes
Primary Days Non-usage . . . . (0 to 9999 or blank)
Level 1 Days Non-usage . . . . (0 to 9999, NOLIMIT or blank)
Command or Auto Migrate . . . . NONE (BOTH, COMMAND or NONE)
Use ENTER to Perform Verification; Use UP/DOWN Command to View other Panels;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
24 DFSMShsm Primer
MANAGEMENT CLASS DEFINE Page 3 of 5
Command ===>
In this book, we use four management classes for the DFSMShsm data:
MC54SPEC Is associated with system data sets and does not implement
any type of management. It is used for the data sets that are
defined in the DFSMShsm start procedure.
MC54NMIG Is a primary pool management class. It is associated with the
CDS backup data sets created by DFSMShsm. Because these
data sets are already managed by DFSMShsm, this class
does not exploit any automatic function.
MC54PRIM Allows migration to ML1 and backup. It is used for data with
medium-low frequency of access, such as some ABARS data
sets.
MC54WORK Manages data sets with a short life. It should be used for the
activity log data sets when they are allocated on DASD.
Backup Frecuency
Auto Backup
Version
Version
Backup
Name
EXPIRE AFTER DAYS NON-USAGE specifies how much time must elapse since the
last access before a data set or object becomes eligible for expiration.
EXPIRE AFTER DATE/DAYS specifies an absolute date or period after its allocation
for a data set or object to become eligible for expiration. The default for both
fields is NOLIMIT. The priority of EXPIRATION ATTRIBUTES is:
• If both EXPIRATION ATTRIBUTES are NOLIMIT, the data set or object
never expires.
• If one of the EXPIRATION ATTRIBUTES is NOLIMIT, the non-NOLIMIT
values must be used.
• If neither of the EXPIRATION ATTRIBUTES is NOLIMIT, both
EXPIRATION ATTRIBUTES must be satisfied.
RETENTION LIMIT is a required value that limits the use of retention period
(RETPD) and expiration date (EXPDT) values that are explicitly specified in
the job control language (JCL). If the value of a user-specified RETPD or
26 DFSMShsm Primer
EXPDT is within the limits specified by RETENTION LIMIT, it is saved for the
data set. If a user-specified value exceeds a RETENTION LIMIT of nonzero,
the RETENTION LIMIT overrides not only the RETPD/EXPDT values but also
the EXPIRATION ATTRIBUTES values. The default RETENTION LIMIT field
is NOLIMIT. If you specify 0, a user-specified value in the JCL or the data
class derived EXPDT or RETPD is ignored (see Table 3).
Table 3. Retention attribute selection example for space management process
RETPD/EXPDT 60 60 60 60
The default is N, and this only applies during the primary space management
process (PSM).
PRIMARY DAYS NON-USAGE represents the minimum number of days that must
elapse since last access before a data set is eligible for migration. The default
is 2.
COMMAND OR AUTO MIGRATE allows you to specify whether a data set is eligible to
be migrated by both command and automatic processing, by command alone,
or not at all. If you do not want to migrate data sets that belong to a particular
management class, specify NONE.
# GDG ELEMENTS ON PRIMARY indicates how many of the most recent generations
of a GDG to keep on primary storage. Generations that go over the limit
become eligible for migration during the next run of automatic primary space
management independent of the PRIMARY DAYS NON-USAGE. The most
recent generations are eligible for migration only if they satisfy the PRIMARY
DAYS NON-USAGE.
The ADMIN OR USER COMMAND BACKUP and AUTO BACKUP fields are
required, and they have default values of BOTH and Y, respectively.
ADMIN OR USER COMMAND BACKUP is used to indicate the authority category for
issuing command backups. NONE indicates that neither command nor auto
processing is permitted. ADMIN indicates that only storage administrators
can issue commands against these data sets. BOTH indicates that both
storage administrators and users can issue commands against these data
sets.
The remaining fields on this panel are required when you specify Y in the
AUTO BACKUP field, or specify BOTH or ADMIN in the ADMIN OR USER
COMMAND BACKUP field.
28 DFSMShsm Primer
BACKUP FREQUENCY specifies how many days must elapse before DFSMShsm
can back up data sets that have changed since the last backup. The default
is 1. If you want to backup changed data sets every time a backup cycle is
run, specify 0.
RETAIN DAYS ONLY BACKUP VERSION (DATA SET DELETED) indicates how many days
to keep the most recent backup version of a deleted data set, starting from
the day DFSMShsm recognizes that the data set has been deleted. This
attribute applies only when a data set no longer exists on a level 0 volume or
a migrated volume (ML1 and ML2). The default is 60.
RETAIN DAYS EXTRA BACKUP VERSIONS indicates how many days to keep backup
versions other than the most recent one. Days are calculated from the
creation date of the backup version. The default is 30.
BACKUP COPY TECHNIQUE field specifies whether concurrent copy should be used
during data set backup processing. R indicates that concurrent copy must be
used for backup processing. P indicates that concurrent copy is preferred and
it is used when the data set resides in a volume supported by concurrent
copy. S is the default and indicates that concurrent copy is not used to back
up the data set.
AUTO MIGRATE specifies whether you want the DASD volumes in this storage
group to be eligible for automatic space management processing. Y specifies
that DFSMShsm is to perform automatic primary space management
processing and interval migration. I causes DFSMShsm to perform the same
functions as if Y has been specified, and automatic interval migration
independent of the DFSMShsm SETSYS INTERVALMIGRATION option. P
specifies that data sets are eligible for primary space management but
interval migration is not performed even if SETSYS INTERVALMIGRATION is
specified. N specifies that data sets are not eligible for automatic migration.
AUTO BACKUP specifies whether you want the DASD volumes in this storage
group to be eligible for automatic backup processing. Y specifies that
DFSMShsm is to perform data availability management processing according
to management class requirements.
The storage group and management class are interrelated. For example, if
you set AUTO MIGRATE or AUTO BACKUP to N for the storage group, it will
override the management class migration and backup attributes.
30 DFSMShsm Primer
AUTO DUMP specifies whether you want to automatically dump all DASD
volumes in this storage group. If you specify Y, DFSMShsm performs
automatic dump processing.
MIGRATE, BACKUP, and DUMP Sys/Sys Group NAME ISMF no longer verifies that
specified system or system group names are defined to the base
configuration. You can specify either a system or a system group name in
these fields but a specific system specified might not be defined in the
configuration since it might be defined as part of a system group. Therefore, if
these fields are non-blank, you must take special care to ensure that the
values are correct If the values are incorrect, it could result in the expected
DFSMShsm operation not occurring.
If you specify the SYSTEM NAME, it must match the value of the SYSNAME
parameter in the IEASYSxx member of the respective PARMLIB.
DUMP CLASS can be specified with up to five unique dump class names. To use
these dump classes, you must define their names and parameters, using the
DEFINE command of DFSMShsm. These are optional fields.
ALTER SMS STORAGE GROUP STATUS indicates whether you want to change the
status of the pool storage group. To leave the storage group status as
ENABLE, accept the default, N.
The definition of DFSMShsm data sets to SMS through the ACS routines is
done by filtering on the data set names. DFSMShsm provides a structured
approach to data set naming in the following ways:
• CDSs and journal data set names are chosen by the system programmer
when DFSMShsm is implemented (as defined in the DFSMShsm starter
set job). The name should comply with installation standards.
• DFSMShsm-owned data as migrated or backup copies are identified by a
specified high-level qualifier (defined to DFSMShsm at implementation),
and by a combination of DFSMShsm generated qualifiers.
• DFSMShsm logs and trace data set names are defined by the system
programmer at implementation time.
• Activity log data set names are defined by DFSMShsm using a naming
structure with a unique high-level qualifier, HSMACT, followed by four
additional qualifiers that have a fixed format. This high-level qualifier can
be changed by the system programmer at installation time.
• CDS backup data set names are either defined according to installation
standards or defaulted by DFSMShsm in an easily identifiable structure.
Figure 113 on page 332 to Figure 126 on page 345 provide some examples
of the ACS code used to manage DFSMShsm data. The system programmer
or the storage administrator must merge this information into the existing
code.
We have defined a high-level qualifier of HSM for our DFSMShsm data sets,
which is reflected in the ACS routines. Figure 113 on page 332 to Figure 129
on page 348 show the following:
• A storage class for high performance and with guaranteed space
(SC54GRT) is assigned to the DFSMShsm control data sets and journal.
The guaranteed space storage attribute allows you to reserve space on
specific system-managed volumes for data sets that have specific
performance or availability requirements. Guaranteed space is specified in
the storage class for the CDSs – migration control data set (MCDS), offline
control data set (OCDS), backup control data set (BCDS) – and the journal
in order to direct them to different volumes behind different control units
and subsystems to maximize performance and minimize data loss in the
event of a hardware failure. This storage class is explicitly specified in the
allocation of these data sets. Only three storage administrator userids,
32 DFSMShsm Primer
MHLRES3, MHLRES4, and MHLRES5, can use the SC54GRT storage
class.
• Data allocated on DFSMShsm-owned volumes (migration and backup) is
excluded from SMS management by assigning a null storage class to
indicate that the data set should not be SMS-managed.
DFSMShsm must be able to direct allocation of data sets it manages to
DFSMShsm-owned storage devices so that, for example, backup versions
of data sets go to backup volumes and migration copies go to migration
volumes. DFSMShsm-owned volumes are not SMS-managed, so a
storage class must not be assigned to DFSMShsm-owned data sets.
• Other DFSMShsm data sets, such as logs and CDS backups, are
recognized and allocated in the SMS volume pools.
• When a data set is recalled or recovered by DFSMShsm, the storage class
is retained if one already exists.
Figure 118 on page 337 to Figure 122 on page 341 show sample code
required in the management class ACS routine, which assigns different
management criteria to the DFSMShsm-owned data sets according to their
use and importance.
Figure 123 on page 342 to Figure 126 on page 345 show sample code that
we used in our storage group ACS routine. You may need to create another
storage group and update your storage group ACS routine if want to separate
the DFSMShsm data sets from other data.
34 DFSMShsm Primer
//*******************************************************************/
//DFSMSHSM PROC CMD=00, USE PARMLIB MEMBER ARCCMD00 FOR CMDS
// STR=00, PARMLIB MEMBER FOR STARTUP PARMS
// EMERG=NO, SETS HSM INTO NON-EMERGENCY MODE
//* CDSQ=YES, CDSs SERIALIZED WITH ENQUEUES
//* PDA=YES, PROBLEM DETERMINATION AID
// SIZE=0M, REGION SIZE FOR DFSMSHSM
// DDD=50, MAX DYNAMICALLY ALLOCATED DATASETS
// H=1, PROC.UNIT ID AND LEVEL FUNCTIONS
// P=NO, LEVEL FUNCTIONS
// HM=MAIN HOSTMODE
//*******************************************************************/
//DFSMSHSM EXEC PGM=ARCCTL,DYNAMNBR=&DDD,REGION=&SIZE,TIME=1440,
// PARM=('EMERG=&EMERG','CMD=&CMD',
// 'UID=HSM','HOST=&H','STR=&STR',
// 'PRIMARY=&P','HOSTMODE=&HM')
//*****************************************************************/
//* HSMPARM DD must be deleted from the JCL or made into a */
//* a comment to use Concatenated Parmlib Support */
//*****************************************************************/
//HSMPARM DD DSN=SYS1.PARMLIB,DISP=SHR
//MSYSOUT DD SYSOUT=A
//MSYSIN DD DUMMY
//SYSPRINT DD SYSOUT=A,FREE=CLOSE
//SYSUDUMP DD SYSOUT=A
//*****************************************************************/
//* THIS PROCEDURE ASSUMES A SINGLE CLUSTER MCDS. IF MORE THAN */
//* ONE VOLUME IS DESIRED, FOLLOW THE RULES FOR A MULTICLUSTER */
//* CDS. */
//*****************************************************************/
//MIGCAT DD DSN=HSM.MCDS,DISP=SHR
//JOURNAL DD DSN=HSM.JRNL,DISP=SHR
//ARCLOGX DD DSN=HSM.HSMLOGX1,DISP=OLD
//ARCLOGY DD DSN=HSM.HSMLOGY1,DISP=OLD
//ARCPDOX DD DSN=HSM.HSMPDOX1,DISP=OLD
//ARCPDOY DD DSN=HSM.HSMPDOY1,DISP=OLD
//*****************************************************************/
//* REMOVE THE NEXT DD STATEMENT IF YOU DO NOT INTEND TO USE */
//* BACKUP AND DUMP. */
//* THIS PROCEDURE ASSUMES A SINGLE CLUSTER BCDS. IF MORE THAN */
//* ONE VOLUME IS DESIRED, FOLLOW THE RULES FOR A MULTICLUSTER */
//* CDS. */
//*****************************************************************/
//BAKCAT DD DSN=HSM.BCDS,DISP=SHR
//*****************************************************************/
//* REMOVE THE NEXT DD STATEMENT IF YOU DO NOT INTEND TO USE TAPES*/
//* FOR DAILY BACKUP, SPILL BACKUP OR MIGRATION LEVEL 2 */
//* PROCESSING. */
//* THE OCDS MAY NOT EXCEED 1 VOLUME. */
//*****************************************************************/
//OFFCAT DD DSN=HSM.OCDS,DISP=SHR
Do not include keywords that are not necessary. The EXEC statement of this
sample contains the following parameters:
SIZE Is the DFSMShsm region size.
36 DFSMShsm Primer
STR Specifies a PARMLIB member containing DFSMShsm startup
parameters, which are logically concatenated with any
remaining parameters specified on the EXEC statement. The
value for the STR keyword must be two characters.
PDA Specifies that the PDA tracing begins before the SETSYS
PDA command has been processed or the DFSMShsm
initialization has been completed.
CDSQ Specifies that DFSMShsm serializes its control data sets with
a global enqueue product (GRS for example) instead of
serializing with volume reserves. When you specify YES for
this parameter, DFSMShsm serializes the use of the control
data sets (between multiple OS/390 images) with a global
(SYSTEMS) exclusive enqueue and still allows multiple tasks
within a single OS/390 image to access the control data sets
concurrently.
The following keywords are not specified in our startup procedure, but are
mentioned in this book and are described here for completeness:
RNAMEDSN Specifies whether to use a new serialization method so that
there is no longer interference between HSMplexes that are
contained within a single GRSplex. When you specify YES for
this parameter, you are invoking the new method of
serialization, which uses the data set name of the CDSs and
the journal. The default value is NO.
RESTART Specifies that DFSMShsm should be restarted for all
DFSMShsm abnormal ends (ABENDS). The format of the
keyword is RESTART=(a,b), where a specifies the name of the
procedure to be started, and b specifies any additional
keywords or parameters to be passed to the procedure. If you
are accessing the CDSs in RLS mode, use the RESTART
keyword so that DFSMShsm automatically restarts after an
SMS VSAM server error.
LOGSW Specifies whether to automatically swap the log data sets at
startup. The default value is NO.
CELLS DFSMShsm uses the cell-pool (CPOOL) function of MVS to
obtain and manage virtual storage in its address space for the
dynamically obtained storage for certain high-usage modules,
and for data areas DFSMShsm frequently gets and frees. The
CELLS parameter provides the cell sizes for five cell pools.
The default value is (200,100,100,50,50).
38 DFSMShsm Primer
ARCCMD followed by a two-character suffix, as indicated in
the CMD parameter of the procedure EXEC statement.
MSYSOUT Is a system data set used by DFSMShsm to interact with MVS
services and to receive messages from the TSO Terminal
Monitor Program (TMP) and with messages issued when
dynamic memory allocation takes place.
MSYSIN Is a system data set used by DFSMShsm for support of TSO
processing. It must point to a DUMMY data set.
SYSPRINT Is the standard DFSMShsm message data set.
SYSUDUMP Is used to collect dumps generated when an error occurs in
the DFSMShsm primary or secondary address spaces. It is
used only if the SETSYS NOSYS1DUMP option has been
requested.
MIGCAT Points to the MCDS.
JOURNAL Points to the journal data set.
ARCLOGX Is one of two data sets to which DFSMShsm sends log
information. It is used as an alternative to the data set pointed
to by ARCLOGY DD.
ARCLOGY Is one of two data sets to which DFSMShsm sends log
information. It is used as an alternative to the data set pointed
to by ARCLOGX DD.
ARCPDOX Is one of two trace data sets to which DFSMShsm sends
information useful for debugging. It is used only when the PDA
trace is activated with a SETSYS parameter. It is not
necessary if SETSYS PDA(NONE) is coded in the
DFSMShsm set of parameters.
ARCPDOY Is used in the same way as the trace data set pointed to by the
ARCPDOX DD. It is used when the other data set is full.
BAKCAT Points to the BCDS.
OFFCAT Points to the OCDS.
Note
Do not add any STEPCAT or JOBCARD statements to any DFSMShsm
started procedure. The results are unpredictable.
//*******************************************************************/
//DFSMSHSM PROC CMD=00, USE PARMLIB MEMBER ARCCMD00 FOR CMDS
// STR=00, PARMLIB MEMBER FOR STARTUP PARMS
// EMERG=NO, SETS HSM INTO NON-EMERGENCY MODE
//* CDSQ=YES, CDSs SERIALIZED WITH ENQUEUES
//* PDA=YES, PROBLEM DETERMINATION AID
// SIZE=0M, REGION SIZE FOR DFSMSHSM
// DDD=50, MAX DYNAMICALLY ALLOCATED DATASETS
// H=2, PROC.UNIT ID AND LEVEL FUNCTIONS
// P=YES, LEVEL FUNCTIONS
// HM=AUX HOSTMODE
//*******************************************************************/
//DFSMSHSM EXEC PGM=ARCCTL,DYNAMNBR=&DDD,REGION=&SIZE,TIME=1440,
// PARM=('EMERG=&EMERG','CMD=&CMD',
// 'UID=HSM','HOST=&H','STR=&STR',
// 'PRIMARY=&P','HOSTMODE=&HM')
//*
//HSMPARM DD DSN=SYS1.PARMLIB,DISP=SHR
//MSYSOUT DD SYSOUT=A
//MSYSIN DD DUMMY
//SYSPRINT DD SYSOUT=A,FREE=CLOSE
//SYSUDUMP DD SYSOUT=A
//*****************************************************************/
//* THIS PROCEDURE ASSUMES A SINGLE CLUSTER MCDS. IF MORE THAN */
//* ONE VOLUME IS DESIRED, FOLLOW THE RULES FOR A MULTICLUSTER */
//* CDS. */
//*****************************************************************/
//MIGCAT DD DSN=HSM.MCDS,DISP=SHR
//JOURNAL DD DSN=HSM.JRNL,DISP=SHR
//ARCLOGX DD DSN=HSM.HSMLOGX2,DISP=OLD
//ARCLOGY DD DSN=HSM.HSMLOGY2,DISP=OLD
//ARCPDOX DD DSN=HSM.HSMPDOX2,DISP=OLD
//ARCPDOY DD DSN=HSM.HSMPDOY2,DISP=OLD
//*****************************************************************/
//* THIS PROCEDURE ASSUMES A SINGLE CLUSTER BCDS. IF MORE THAN */
//* ONE VOLUME IS DESIRED, FOLLOW THE RULES FOR A MULTICLUSTER */
//* CDS. */
//*****************************************************************/
//BAKCAT DD DSN=HSM.BCDS,DISP=SHR
//*****************************************************************/
//* THE OCDS MAY NOT EXCEED 1 VOLUME. */
//*****************************************************************/
//OFFCAT DD DSN=HSM.OCDS,DISP=SHR
40 DFSMShsm Primer
immediately following the ONLYIF command is conditionally
executed when the host name specified on the HSMHOST
parameter matches the host being started.
You can specify a different two-character suffix from that
specified for the primary system startup procedure, to have
the secondary system use a different ARCCMDxx member.
HOST Represents the unique host identifier for each host. It allows
an optional second character in the value. The function of that
second character is now specified by the PRIMARY= keyword.
The second character, if specified, is considered only if the
PRIMARY= keyword is not specified.
PRIMARY Specify whether this is a primary system (use Y) or a
secondary system (use N). The backup and dump level
functions are done on the primary processing unit. The
automatic secondary space management functions can be
performed on any host. The default value is Y.
HOSTMODE Specifies how this instance of DFSMShsm is related to
various functions of DFSMShsm. HOSTMODE=MAIN
specifies that this DFSMShsm processes implicit requests,
like recalls and deleting migrated data sets, from user address
spaces, processes explicit commands from TSO, like
HSENDCMD and HBACKDS, manages ABARS secondary
address spaces, allows MODIFY commands from a console
and can run an automatic backup, dump, and space
management. HOSTMODE=AUX specifies that this
DFSMShsm allows MODIFY commands from a console and
can run automatic backup, dump, or space management. The
default value is MAIN.
The following DD statements in the secondary system must point to the same
data sets as the primary system:
MIGCAT
BAKCAT
OFFCAT
JOURNAL
The following DD statements in the secondary system must point to data sets
that are unique for each system:
ARCLOGX
ARCLOGY
ARCPDOX
2.2.2 ABARS
On ABACKUP and ARECOVER, DFSMShsm automatically starts a
secondary address space that handles the request. This address space is
started using the procedure name that is specified with the SETSYS
ABARSPROCNAME(name) command in the ARCCMDxx PARMLIB member.
We used DFHSMABR as the procedure name, as shown in Figure 14.
//*****************************************************************/
//* ABARS SECONDARY ADDRESS SPACE STARTUP PROCEDURE */
//*****************************************************************/
//*
//DFHSMABR PROC
//DFHSMABR EXEC PGM=ARCWCTL,REGION=0M
//SYSUDUMP DD SYSOUT=A
//MSYSIN DD DUMMY
//MSYSOUT DD SYSOUT=A
/*
SETSYS parameter(option)
Details and suggestions on coding this information are discussed in this topic.
Refer to the OS/390 V2R10.0 DFSMShsm Storage Administration Reference,
SC35-0389 for a detailed explanation of each keyword.
42 DFSMShsm Primer
Note: In a multiple address space for DFSMShsm environment, SETSYS
commands with ABARS parameters like ABARSxxx, ARECOVERxxx or
MAXABARSADDRESSSPACE or the SETSYS CSALIMITS command can
only be issued by the host identified as the MAIN host. DFSMShsm ignores
these commands if directed to a host identified as HOSTMODE=AUX.
The base parameters set the basic working options of DFSMShsm. These
parameters are not directly related to a particular function, but they establish
some defaults, such as tape management, that define the way DFSMShsm
implements the available options.
• What is the TSO user ID of the DFSMShsm administrator or system
programmer?
The AUTH command authorizes this user to issue DFSMShsm commands.
The command can be entered in the input stream as many times as
needed to define more than one authorized user. However, there should
be very few users given CONTROL authority because they can grant
authorization to others. The format of this command is:
SETSYS JES2
SETSYS JES3
• How do I specify data set serialization for data sets being backed up
or migrated?
To prevent a data set from being changed during backup or migration,
access to the data set is controlled using serialization. DFSMShsm
serialization is determined by specifying SETSYS parameters. Use
statement (a) below when you are sharing volumes and a serialization
facility such as global resource serialization (GRS) is not provided. In this
case a reserve is placed on the volume. An example of sharing volumes
without GRS is with a VM or VSE system. Use statement (b) when you are
in a single-system environment or are sharing data between OS/390
systems and are using GRS to serialize at the data set level.
Notes:
- In DFSMShsm V1R5, the incremental backup function has been
restructured in order to improve the performance. This improvement is
only effective when USERDATASETSERIALIZATION is specified.
- The fast subsequent migration function supports reconnection only in a
USERDATASETSERIALIZATION environment.
- Some data sets, such as multivolume physical sequential data sets, are
processed only with SETSYS USERDATASETSERIALIZATION.
- In a multiple-system environment. Do not specify
USERDATASETSERIALIZATION unless you have a data set
serialization facility installed and enabled on your systems. Otherwise,
serious data integrity problems can occur.
• Do you want to activate a DFSMShsm exit?
You can use DFSMShsm installation exits to customize DFSMShsm
processing according to your installation requirements. These exits are
described in the OS/390 V2R10.0 DFSMS Installation Exits, SC26-7392
manual, where you can find additional information.
If you are not going to use a DFSMShsm exit, specify statement (a) below.
44 DFSMShsm Primer
Statement (b) shows an example of how to activate an exit. In this
example, we are activating the DFSMShsm tape volume exit ARCTVEXT.
This exit is called when a DFSMShsm-owned tape no longer contains valid
data and therefore becomes empty. The ARTVEXT exit is used to tell to
the tape management system that DFSMShsm has released the
ownership of a DFSMShsm tape. If you are using DFSMSrmm and ISV
TMS product, use statement (b). If you are running DFSMShsm and
DFSMSrmm only, you do not have to specify a tape volume exit as
DFSMShsm directly using its EDGTVEXT interface.
Note
If you have installed an independent software vendor (ISV) tape
management system, specify statement (b) and ask the tape
management system vendor for its version of ARCTVEXT.
• Do you want to write updated CDS records in the journal data set?
Journaling is necessary, because it is the only way to recover an affected
CDS without losing all updates entered after last backup. The JOURNAL
parameter specifies that DFSMShsm write the BCDS, MCDS, and OCDS
records in the journal data set when it updates them. Statement below
guarantees that each CDS change is recorded immediately to the journal.
If the system is heavily loaded, it is advisable to activate the DASD fast
write function where the journal is allocated.
SETSYS JOURNAL(RECOVERY)
46 DFSMShsm Primer
The DASD activity logs can be managed by DFSMShsm according to the
SMS management class specifications (see 2.1.2, “Management class” on
page 23).
SETSYS MAXRECYCLETASKS(nn)
Note: When using a VTS subsystem for migration or backup output, the
MARKFULL parameter can improve performance by reducing the need to
remount yesterday’s partial volume in order to extend it today. Additionally,
this usage can reduce the reclamation process of the VTS subsystem
because the physical tape containing the initial partial tape, that was
extended, was not invalidated on a true tape.
48 DFSMShsm Primer
• Do you want to reduce the occurrences of data sets spanning tape
volumes?
In this statement you specify the maximum number of megabytes of tape
that DFSMShsm may leave unused on tape while trying to eliminate
spanning data sets. When there is not enough space to contain the entire
next data set on the current tape without exceeding the requested
maximum utilization, then the next data set begins on an empty tape. The
default value for this parameter was changed by APAR OW32249 and now
is 500 MB. But DFSMShsm recommends a value of 4000MB for all device
types from 3480 through 3590 tape cartridges.
SETSYS TAPESPANSIZE(nnn)
50 DFSMShsm Primer
You can use statement (c) if you do not want the translation to occur for
certain esoteric names. In this example, a tape written by DFSMShsm to a
tape associated with the esoteric name eso1 would be allocated for input
in a tape unit also associated with eso1.
If no esoteric tape unit names are identified to DFSMShsm, use statement
(d). Any previously defined esoteric names are no longer known to
DFSMShsm. Statement (d) is the default.
SETSYS MOUNTWAITTIME(10)
52 DFSMShsm Primer
• Do you want all migrated and backup copies on DASD to be RACF
indicated?
If the RACF environment is set up as described in 2.3, “Providing security
for DFSMShsm resources” on page 56, with always-call support and
generic profiles defined for migration and backup qualifiers, we
recommend that you use statement (a) below. Migration copies and
backup versions are not RACF indicated.
Use statement (b) to have migration copies and backup versions
RACF-indicated.
54 DFSMShsm Primer
information to DFSMShsm. In this case, use statement (a) below. If RACF
is not installed, use statement (b). An installation without RACF will have
DFSMShsm retrieve the user ID for TSO batch requests from the
protected step control block (PSCB). An installation must ensure that the
user ID is placed in the PSCB.
SETSYS COMPACTPERCENT(pct)
SETSYS SOURCENAMES(src1,src2,......)
SETSYS OBJECTNAMES(obj1,obj2,.......)
In this section we explain how to define the DFSMShsm started task to RACF,
create RACF profiles to protect DFSMShsm resources, and how to authorize
access to those resources.
Note
If you do not specify the DFLTGRP parameters on the ADDUSER
command, the current connect group of the user issuing the ADDUSER
command is used as the default.
56 DFSMShsm Primer
You can also create RACF user IDs by submitting a batch job using the JCL in
Figure 15.
//RACFADDU JOB ,'ADD STC RACF USERS',
// NOTIFY=&SYSUID,
// MSGCLASS=X,
// CLASS=A
//*****************************************************************
//*** THIS JOB WILL CREATE THE DFSMSHSM AND ABARS STC USER IDS **
//*****************************************************************
//S0000010 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
ADDUSER HSM1 DFLTGRP(SYS1) NAME('DFSMSHSM STC USERID') OPERATIONS
ADDUSER ABR1 DFLTGRP(SYS1) NAME('ABARS STC USERID') OPERATIONS
/*
Even though the use of the RACF STARTED class is the preferred way of
identifying started procedures to RACF, it is still mandatory to have the
ICHRIN03 module. RACF cannot be initialized if ICHRIN03 is not present in
the system. A dummy ICHRIN03 is shipped and installed with RACF.
Note
After you have added profiles to the RACF STARTED class, refresh the
in-storage profiles, using the SETROPTS REFRESH command. The
SETROPTS GENERIC command is needed only when you define generic
profiles.
58 DFSMShsm Primer
The sample JCL in Figure 17 shows how to identify the DFSMShsm and
ABARS started procedures to RACF by assembling ICHRIN03. You cannot
enter a generic profile name for the communications address space here;
rather, you must add a new entry for each address space you want to use.
/ICHRIN03 JOB 'STARTED PROC TAB',MSGLEVEL=(1,1),REGION=4096K
//*******************************************************************//
//* ICHRIN03: *//
//* *//
//* RACF INSTALLATION PROCEDURE STEP: CREATE/UPDATE @03C*//
//* STARTED PROCEDURES TABLE. @P2C*//
//* *//
//* NOTE: Please read the section titled "Coding the Started *//
//* Procedures Module" in the System Programming *//
//* Library: RACF. It is important that you are familiar *//
//* with this section before attempting to use or modify *//
//* this sample. *//
//* *//
//*******************************************************************//
//STEP1 EXEC HLASMCL PARM.L=(RENT,XREF,LIST,LET,NCAL)
//* @04C
//C.SYSIN DD *
ICHRIN03 CSECT
TITLE 'ICHRIN03 - STARTED PROCEDURES TABLE'
EJECT
DC XL2'80xx' CHANGE 'xx' TO THE HEX VALUE FOR
THE NUMBER OF ENTRIES IN THE TABLE
*
DC CL8'HSM1 ' PROCNAME - SPECIFY YOUR DFSMShsm
DC CL8'HSM1 ' STARTED TASK USER ID
DC CL8'SYS1 ' GROUP
DC XL1'00' NOT PRIVELEDGED OR TRUSTED
DC XL7'00' RESERVED
*
DC CL8'ABR1 ' PROCNAME - SPECIFY YOUR ABARS
DC CL8'ABR1 ' STARTED TASK USER ID
DC CL8'SYS1 ' GROUP
DC XL1'00' NOT PRIVELEDGED OR TRUSTED
DC XL7'00' RESERVED
*
. .
. .
. .
. .
END
/*
//L.SYSLMOD DD DSN=SYS1.LPALIB, ** MUST BE LIBRARY WITH**
// DISP=SHR,UNIT=YYYY, ** NEW RELEASE OF RACF **
// VOL=SER=XXXXXX
//L.SYSIN DD *
ENTRY ICHRIN03
NAME ICHRIN03(R)
/*
//*
After you have created the RACF generic profile for protecting the
DFSMShsm data sets, you must permit users or groups access to the RACF
profile based on their requirements. For example, your storage administrator
would need RACF ALTER access to the CDSs in order to move them to
another volume or to increase their space allocations.
You can give user ID HSMSTOR ALTER access to the DFSMShsm CDSs.
You can use a different qualifier for CDSs, such as HSMCDS, so you can
provide access only to those data sets with the following command:
PERMIT 'HSMCDS.**' ID(HSMSTOR) ACC(ALTER)
READY
INFORMATION FOR DATASET HSM.** (G)
LEVEL OWNER UNIVERSAL ACCESS WARNING ERASE
----- -------- ---------------- ------- -----
00 SYS1 NONE NO NO
AUDITING
--------
FAILURES(READ)
NOTIFY
--------
NO USER TO BE NOTIFIED
YOUR ACCESS CREATION GROUP DATASET TYPE
----------- -------------- ------------
ALTER SYS1 NON-VSAM
NO INSTALLATION DATA
60 DFSMShsm Primer
2.3.3.2 Protecting DFSMShsm activity logs
DFSMShsm writes its activity logs to DASD if you specify SETSYS
ACTLOGTYPE(DASD) in the ARCCMDxx member of PARMLIB. DFSMShsm
allocates the activity logs with a high-level qualifier of HSMACT. The following
RACF command defines a generic data set profile to protect the activity logs
with a universal access of NONE:
ADDSD 'HSMACT.**' UACC(NONE)
After you have created the RACF generic profile for protecting the
DFSMShsm activity logs, you must permit users or groups access to the
RACF profile based on their requirements. Take into consideration that
someone may use a batch job to access data in the activity logs.
The following RACF command can be used to give userid HSMUSR1 READ
access to the activity logs:
PERMIT 'HSMACT.**' ID(HSMUSR1) UACC(READ)
You define the RACF environment to DFSMShsm when you specify the
SETSYS TAPESECURITY(RACF) command. DFSMShsm protects each
backup, migration, and dump tape with RACF.
The way that you define your RACF TAPEVOL resource class is determined
by the number of tapes you want to protect.
IBM recommends that customers NOT DO THIS, but instead let DFSMShsm
add to the TAPEVOL as encountered for you, automatically.
The following RACF commands would add resource names to the TAPEVOL
class for HSMHSM (required), HSMABR (for aggregate backup and recovery
tapes), and DFHSMA (for all tapes with a volume serial number ending with
the letter A):
RDEFINE TAPEVOL HSMHSM
RDEFINE TAPEVOL HSMABR
RDEFINE TAPEVOL DFHSMA
To activate the RACF protection of tape volumes using the DFHSMx resource
names that have been defined, you must issue the following RACF command
on each system in the sysplex:
RALTER TAPEVOL HSMHSM ADDVOL(DFHSM)
You can add RACF protection to the DFSMShsm tape volumes before
DFSMShsm uses them, with the exception of the HSMABR tapes. You must
add the tape volume serial number to the appropriate DFHSMx tape volume
set, based on the last non blank character of the tape volume serial number.
To protect a tape with a volume serial of POK33H you would use the following
RACF command:
RALTER TAPEVOL DFHSMH ADDVOL(POK33H)
62 DFSMShsm Primer
Tapes already protected in the tape volume set of HSMHSM continue to be
protected.
64 DFSMShsm Primer
------------------------------- TSO/E LOGON -----------------------------------
Perform ===>
Command ===>
PF1/PF13 ==> Help PF3/PF15 ==> Logoff PA1 ==> Attention PA2 ==> Reshow
You may request specific help information by entering a '?' in any entry field
Migrated and backed up data sets should not be accessed as regular MVS
data sets. Use generic profiles based on the prefix you specify on the
SETSYS MIGRATEPREFIX and SETSYS BACKUPPREFIX to RACF protect
migrated and backed up data sets. The RACF profiles should be created with
a universal access authority (UACC) of NONE. Only DFSMShsm and your
In our system, migrated data sets have the prefix HSM. Use the following
RACF command to define a generic data set profile to protect all migrated
data sets with a universal access of NONE:
ADDSD 'HSM.**' UACC(NONE)
After you have created the RACF generic profile for protecting all migrated
data sets, you must permit users access to the RACF profile based on their
requirements.
You define RACF Facility class profiles and authorize users based on the
level of authorization the user requires. Comprehensive authorization allows
a user to issue the ABACKUP and ARECOVER commands for all aggregates.
RACF will not check the authority of the user to access each data set in a
given aggregate.
The RACF Facility class profiles have names beginning with STGADMIN
(storage administration). These FACILITY profiles are used to protect ABARS
functions as well as many other SMS functions.
Define the profiles for comprehensive command authority with the following
RACF commands
RDEFINE FACILITY STGADMIN.ARC.ABACKUP
RDEFINE FACILITY STGADMIN.ARC.ARECOVER
66 DFSMShsm Primer
More restricted aggregate backup authority can be defined with profiles
(STGADMIN.ARC.ABACKUP. agname) for each aggregate. Issue the
following command to define a facility class for the ITSOU001 aggregate:
RDEFINE FACILITY STGADMIN.ARC.ABACKUP.ITSOU001
Users with this restricted authority must have a minimum of READ access to
all RACF-protected data sets in the aggregate group. If they do not have this
level of access to the data sets, the ABACKUP command fails.
Define the profiles for comprehensive command authority with the following
RACF commands:
RDEFINE FACILITY STGADMIN.ADR.DUMP.CNCURRNT
In this section we explain the purpose of the CDSs and the journal data set,
how to allocate them, and how DFSMShsm uses them. We also describe the
allocation of an integrated catalog facility (ICF) user catalog and an alias for
DFSMShsm.
These examples are based on the assumption that the SMS ACS routines
were updated according to the rules described in 2.2, “PROCLIB and
PARMLIB setup” on page 34.
68 DFSMShsm Primer
in the HSM.SAMPLE.CNTL data set contains sample JCL to allocate the
DFSMShsm catalog alias.
We have separated the steps of the job stream that allocate the ICF catalog,
alias for DFSMShsm, journal, and CDSs and indicate our modifications.
Where applicable we make comments that we believe are worthy of note.
The JCL in Figure 21 invokes IDCAMS to allocate both the catalog and its
associated alias:
//*******************************************************************/
//IDCAMS EXEC PGM=IDCAMS
//*
//HSMMCDS DD UNIT=3390,VOL=SER=HG6622,DISP=SHR
//HSMCAT DD UNIT=3390,DISP=SHR,VOL=SER=HG6621
//*
//*******************************************************************/
//* REMOVE THE NEXT DD STATEMENT IF YOU DO NOT INTEND TO USE BACKUP */
//* AND DUMP. */
//*******************************************************************/
//*
//HSMBCDS DD UNIT=3390,VOL=SER=HG6622,DISP=SHR
//*
//*******************************************************************/
//* REMOVE THE NEXT DD STATEMENT IF YOU DO NOT INTEND TO USE TAPE */
//* VOLUMES FOR DAILY BACKUP VOLUMES, SPILL BACKUP VOLUMES, OR */
//* MIGRATION LEVEL 2 VOLUMES. */
//*******************************************************************/
//*
//HSMOCDS DD UNIT=3390,VOL=SER=HG6622,DISP=SHR
//*
//SYSIN DD *
/* */
/*******************************************************************/
/* THIS JOB ALLOCATES AN INTEGRATED CATALOG FACILITY (ICF) CATALOG */
/* AND ITS ASSOCIATED ALIAS "?UID". */
/* */
/* ****** INTEGRATED CATALOG FACILITY CATALOG REQUIRED ******* */
/* */
/* THIS JOB ALLOCATES A USER CATALOG FOR THE DFSMSHSM CONTROL DATA */
/* SETS (CDS). SEE THE SECTION "DFSMSHSM DATA SETS" IN THE */
/* IMPLEMENTING AND CUSTOMIZING DFSMSHSM BOOK. */
/*******************************************************************/
/* */
DEFINE UCAT(NAME(CATALOG.HSM) -
CYLINDERS(1 1) VOLUME(HG6621) -
FILE(HSMCAT) FREESPACE(10 10) -
RECORDSIZE(4086 4086) -
ICFCATALOG)
IF MAXCC = 0 THEN DO
DEFINE ALIAS(NAME(HSM) RELATE(CATALOG.HSM))
END
/* */
Figure 21. Sample JCL to allocate the ICF catalog and define the alias
The DFSMShsm CDSs are resources that combine with your installation
settings to allow DFSMShsm to manage your storage environment. The
CDSs are virtual storage access method (VSAM) data sets that contain the
control information describing the status of the DFSMShsm managed data
sets and volumes. The following is a description of the three DFSMShsm
control data sets:
MCDS: The migration control data set contains information about the
migrated user or application data sets.
BCDS: The backup control data set contains information about the backup
copies of user or application data sets.
Note: This data set is not required if you do not intend to use
backup and dump.
OCDS: The offline control data set contains information about the data sets
on migration and backup tape volumes used by DFSMShsm.
Note: This data set is not required if you do not intend to use tapes
for daily or spill backup or ML2 processing.
70 DFSMShsm Primer
When a control data set is defined on one volume, it is defined as a VSAM
KSDS cluster. The fact that the control data set may be several VSAM
clusters is managed by DFSMShsm. Based on your calculations for the space
required to define your control data set, you determine the number of
volumes required and, therefore, the number of clusters. The MCDS and
BCDS may each be on more than one cluster; the OCDS may be on only one.
Figure 22 shows the modifications that we have made to the starter set JCL
for allocating the MCDS. We have taken most of the defaults that DFSMShsm
supplies as they give adequate performance:
/****************************************************************/
/* THIS PROCEDURE ASSUMES A SINGLE CLUSTER MCDS. IF MORE THAN */
/* ONE VOLUME IS DESIRED, FOLLOW THE RULES FOR A MULTICLUSTER */
/* CDS. */
/****************************************************************/
/* */
IF MAXCC = 0 THEN DO
DEFINE CLUSTER (NAME(HSM.MCDS) VOLUMES(HG6622) -
CYLINDERS(100) FILE(HSMMCDS) -
RECORDSIZE(435 2040) FREESPACE(0 0) -
INDEXED KEYS(44 0) SHAREOPTIONS(3 3) -
SPEED BUFFERSPACE(530432) -
UNIQUE NOWRITECHECK) -
DATA(NAME(HSM.MCDS.DATA) -
CONTROLINTERVALSIZE(12288)) -
INDEX(NAME(HSM.MCDS.INDEX) -
CONTROLINTERVALSIZE(4096))
END
/* */
For our OCDS we modified the starter set as shown in Figure 24:
/****************************************************************/
/* REMOVE THE NEXT DEFINE COMMAND IF YOU DO NOT */
/* INTEND TO USE TAPES FOR DAILY BACKUP, SPILL BACKUP, OR */
/* MIGRATION LEVEL 2 PROCESSING. */
/* */
/* THE OCDS MAY NOT EXCEED 1 VOLUME. */
/****************************************************************/
/*
IF MAXCC = 0 THEN DO
DEFINE CLUSTER (NAME(HSM.OCDS) VOLUMES(HG6622) -
CYLINDERS(100) FILE(HSMOCDS) -
RECORDSIZE(1800 2040) FREESPACE(0 0) -
INDEXED KEYS(44 0) SHAREOPTIONS(3 3) -
SPEED BUFFERSPACE(530432) -
UNIQUE NOWRITECHECK) -
DATA(NAME(HSM.OCDS.DATA) -
CONTROLINTERVALSIZE(12288)) -
INDEX(NAME(HSM.OCDS.INDEX) -
CONTROLINTERVALSIZE(4096))
END
/*
As a general rule, the BCDS is the largest, the MCDS is half its size, and the
OCDS is a fourth of its size. For more information about sizing the CDSs,
refer to OS/390 V2R10.0 DFSMShsm Implementation and Customization
Guide, GC35-0385.
72 DFSMShsm Primer
2.4.3.2 Journal data set allocation
Figure 25 is our modified example of the JCL shipped for journal allocation:
//****************************************************************/
//* THE JOURNAL MUST NOT EXCEED 1 VOLUME, MAY NOT HAVE */
//* SECONDARY ALLOCATION, AND MUST BE ALLOCATED CONTIGUOUS. */
//* ALLOCATE AT LEAST 100 CYLINDERS. */
//****************************************************************/
//LOGALC EXEC PGM=IEFBR14
//*
//JOURNAL DD DSN=HSM.JRNL,DISP=(,CATLG),UNIT=3390,
// VOL=SER=HG6722,SPACE=(CYL,(50),,CONTIG)
The following is a list of considerations about CDSs and the journal data set:
• Allocate CDSs on a cached DASD and the journal on DASD fast write.
• A CDS cluster cannot be greater than one volume; therefore, a VSAM
cluster must be defined for each CDS volume. The MCDS and BCDS may
each be one to four clusters (volumes); the OCDS may be only one cluster
(volume). When a CDS is defined with more than one cluster, it is referred
to as a multicluster CDS.
• No secondary allocation should be specified for a cluster. To increase
space, consider splitting the CDS up to four separate clusters. If you
specify secondary allocation, be aware of the following:
- Secondary allocation is allowed only for a single-cluster CDS.
- A deadlock may occur.
- The CDS monitor issues a message (ARC0909E or ARC0911E) each
time the monitor threshold is reached. This means that if the CDS
allocation can increase in size; then, for example, the 80% mark will
also grow in size. So, as the CDS increases in size, the monitor
message may be issued more than once.
- ARC0130I will be issued when DFSMShsm is started. This message is
intended to inform you that secondary allocation has been specified for
this CDS.
74 DFSMShsm Primer
We recommend using multiple backup versions that are written to
preallocated data sets. DFSMShsm will change the suffix of the data set
name dynamically and it is similar to that of GDS. The JCL necessary to
allocate these data sets is in member ALLOCBK1 of PDS
HSM.SAMPLE.CNTL.
Our recommendation is that you use DFSMSdss to back up the CDSs from
within DFSMShsm. For the parameters that you need to define see 2.4.5.3,
“Step for defining the CDS and journal backup environment” on page 80. The
invocation of DFSMSdss checks the structure of the CDSs as it dumps them
and advises you of any errors that may make recovery of the CDSs
impossible.
Because the area of CDS and journal backup can be quite complicated, we
provide a short section, where we show how we set up our environment. We
have included some assumptions, and, if you are certain that they apply to
you, you can use them.
However, if you would like to know more about the parameters and the
various options available, read the more comprehensive section, see 2.4.5.2,
“Creating CDS and journal backups” on page 79, where we explain what each
parameter setting achieves.
If all of the above statements are true for you, modify the JCL shown in
Figure 26, and Figure 27 to suit your environment. We have altered the JCL
to reflect our environment and changed the comments within the JCL. The
jobs represent the settings that we used to back up our CDSs and journal for
this book.
76 DFSMShsm Primer
//ALLOCBK EXEC PGM=IEFBR14
//*
//*****************************************************************/
//* THIS SAMPLE JOB ALLOCATES AND CATALOGS THE CONTROL DATA SET*/
//* BACKUP VERSION DATA SETS ON DASD VOLUMES. */
//* */
//* ENSURE THAT BACKUP VERSION DATA SETS ARE PLACED ON VOLUMES */
//* THAT ARE DIFFERENT FROM THE VOLUMES THAT THE CONTROL DATA */
//* SETS ARE ON. */
//* */
//* THIS SAMPLE JOB ALLOCATES FOUR BACKUP COPIES (THE DEFAULT) */
//* FOR EACH CONTROL DATA SET. IF YOU SPECIFY A DIFFERENT */
//* NUMBER OF BACKUP VERSIONS, ENSURE THAT YOU ALLOCATE A */
//* BACKUP COPY FOR EACH OF THE BACKUP VERSIONS YOU SPECIFY. */
//*****************************************************************/
//* */
//* EDIT THIS JCL TO REPLACE THE PARAMETERS DESCRIBED BELOW. */
//* */
//*****************************************************************/
//* PARAMETER PARAMETER DEFINITION
//*
//* ?BKUNIT1 - UNIT TYPE OF VOLUME TO CONTAIN THE FIRST CDS
//* BACKUP VERSION.
//* ?BKUNIT2 - UNIT TYPE OF VOLUME TO CONTAIN THE SECOND CDS
//* BACKUP VERSION.
//* ?BKUNIT3 - UNIT TYPE OF VOLUME TO CONTAIN THE THIRD CDS
//* BACKUP VERSION.
//* ?BKUNIT4 - UNIT TYPE OF VOLUME TO CONTAIN THE FOURTH CDS
//* BACKUP VERSION.
//* ?BKVOL1 - VOLUME SERIAL OF VOLUME TO CONTAIN THE FIRST CDS
//* BACKUP VERSION.
//* ?BKVOL2 - VOLUME SERIAL OF VOLUME TO CONTAIN THE SECOND CDS
//* BACKUP VERSION.
//* ?BKVOL3 - VOLUME SERIAL OF VOLUME TO CONTAIN THE THIRD CDS
//* BACKUP VERSION.
//* ?BKVOL4 - VOLUME SERIAL OF VOLUME TO CONTAIN THE FOURTH CDS
//* BACKUP VERSION.
//* ?SCBVOL1 - STORAGE CLASS NAME FOR BACKUP VERSIONS
//* ?MCDFHSM - MANAGEMENT CLASS NAME OF THE HSM CONSTRUCT
//*
//* ?CDSSIZE - NUMBER OF CYLINDERS ALLOCATED TO CDS BACKUP
//* VERSIONS.
//* ?JNLSIZE - NUMBER OF CYLINDERS ALLOCATED TO JOURNAL DATA
//* SETS.
//* ?UID - AUTHORIZED USER ID (1 TO 7 CHARS) FOR THE HSM-
//* STARTED PROCEDURE. THIS WILL BE USED AS THE
//* HIGH-LEVEL QUALIFIER OF HSM DATA SETS.
//*****************************************************************/
//*
//******************************************************************/
//* THIS PROCEDURE ASSUMES A SINGLE CLUSTER MCDS. IF MORE THAN */
//* ONE VOLUME IS DESIRED, FOLLOW THE RULES FOR A MULTICLUSTER */
//* CDS. */
//******************************************************************/
//*
Figure 26. Sample JCL to allocate CDS and journal backup data set (part 1 of 2)
Figure 27. Sample JCL to allocate CDS and journal backup data set (part 2 of 2)
Once this job has run to completion with no errors, use Interactive Storage
Management Facility (ISMF) to verify that the data sets have been allocated
within the storage and management class that you intended, along with the
78 DFSMShsm Primer
correct volume. Once you are satisfied that this is the case, add the following
to your DFSMShsm ARCCMDxx PARMLIB member (Figure 28):
/*********************************************************************/
/* SAMPLE SETSYS CDSVERSIONBACKUP COMMAND AND SUBPARAMETERS THAT */
/* DEFINE A CDS BACKUP ENVIRONMENT WHERE DSS BACKS UP FOUR COPIES OF */
/* THE CDSS IN PARALLEL TO DASD. */
/*********************************************************************/
SETSYS CDSVERSIONBACKUP(DATAMOVER(DSS) -
BACKUPCOPIES(4) -
BACKUPDEVICECATEGORY(DASD) -
MCDSBACKUPDSN(HSM.MCDS.BACKUP) -
BCDSBACKUPDSN(HSM.BCDS.BACKUP) -
OCDSBACKUPDSN(HSM.OCDS.BACKUP) -
JRNLBACKUPDSN(HSM.JRNL.BACKUP))
/*
2.4.5.3 Step for defining the CDS and journal backup environment
If defining a CDS and journal backup environment is new to you, this
step-by-step example will guide you through the process so that you will be
able to define one that suits your installation needs:
1. Prevent the CDSs and the journal from being backed up as part of user
data set backup. The CDSs and the journal are backed up separately as
specified by the SETSYS CDSVERSIONBACKUP command.
2. Modify the block size for CDS backup version data sets.
Preallocate DASD backup data set copies with a block size equal to
one-half the track size of the DASD device. For example, the half-track
capacity of a 3390 device is 27998.
If the keyword BLKSIZE is specified on the preallocated DASD backup
data set copies, it must be in the range of 7892 to 32760 inclusive.
3. If the CDSs and journal are SMS-managed:
- Place them on volumes that are defined in a storage group with:
AUTO BACKUP ===> NO
Or,
- Associate them with a management class whose attributes are:
AUTO BACKUP ===> N
If the CDSs and the journal are non-SMS-managed, issue the ALTERDS
command to prevent them from being backed up outside
CDSVERSIONBACKUP.
4. Prevent the CDSs and journal from migrating. Allowing the CDSs and the
journal to migrate is inadvisable because you might not be able to recover
should any of the CDSs be damaged.
If the CDSs and journal are SMS-managed:
- Place them on volumes that are defined in a storage group with:
AUTO MIGRATE ===> NO
80 DFSMShsm Primer
Or,
- Associate them with a management class whose attributes are
COMMAND OR AUTO MIGRATE ===> NONE
If the CDSs and journal are non-SMS-managed, issue the SETMIG
command to prevent them from migrating.
5. Determine whether your CDSs are backed up by concurrent copy. If you
want your CDSs to be backed up by concurrent copy you must:
- Ensure that they are associated with a management class Backup
Copy Technique attribute of Concurrent Required or Concurrent
Preferred.
- Ensure that they are on a DASD volume with a
concurrent-copy-capable controller.
- Ensure that you specify DATAMOVER(DSS) in step 5.
6. Determine whether the data mover for the CDSs is DFSMShsm or
DFSMSdss. We recommend DFSMSdss as the data mover, because
DFSMSdss validates the CDSs during backup and supports concurrent
copy.
- If you specify:
SETSYS CDSVERSIONBACKUP(DATAMOVER(DSS))
DFSMShsm invokes DFSMSdss to perform a logical dump of the CDSs
and uses sequential I/O to back up the journal. DFSMSdss validates
the CDSs while backing them up and uses concurrent copy if it was
specified in the management class.
- If you specify:
SETSYS CDSVERSIONBACKUP(DATAMOVER(HSM))
DFSMShsm exports the CDSs and backs up the journal with sequential
I/O. The CDSs are not validated during backup.
7. Choose the number of backup versions you want to keep for the CDSs.
The number of backup versions that DFSMShsm keeps is determined by
the number you specify on the BACKUPCOPIES subparameter of the
SETSYS CDSVERSIONBACKUP command.
82 DFSMShsm Primer
DFSMShsm backs up the control data sets to tape in parallel.
Concurrent copy is not available, and the CDSs are not validated
during backup.
If you are backing up the CDSs and the journal to tape, DFSMShsm
dynamically allocates scratch tape volumes so you need not
preallocate backup version data sets.
9. Determine the names for the backup data sets.
You specify the names that are assigned to the backup version data sets
by means of the MCDSBACKUPDSN, BCDSBACKUPDSN,
OCDSBACKUPDS, and JRNLBACKUPDSN subparameters of the
SETSYS CDSVERSIONBACKUP command. Your backup version data set
names can be up to 35 characters (including periods) but cannot end in a
period.
Figure 29. Sample ARCCMDxx showing CDS and journal backup data set names
Once all of these steps have been completed successfully, on your next start,
DFSMShsm will use these preallocated data sets to hold the backup copies.
Use the DFSMShsm BACKVOL command to back up the CDSs and journal.
With this command you can:
• Identify the data mover as either DFSMShsm or DFSMSdss.
• Specify the backup device category.
• Specify that you want parallel backup to take place.
To back up the CDSs and journal in parallel to DASD, using DFSMSdss as the
data mover, use the following command:
With this command, a DFSMSdss logical dump is used, which allows you to
use concurrent copy. This may reduce any serialization delays introduced by
the exclusive enqueue that is placed on the CDSs while the backup is taking
place. Additionally validation of the CDSs will take place.
If you want to back up the CDSs and journal to tape, use the following
command:
BACKVOL CDS(BACKUPDEVICECATEGORY(TAPE(PARALLEL)))
84 DFSMShsm Primer
Note
If your SETSYS parameters specify DATAMOVER(DSS) or you try to
specify it on the BACKVOL CDS command with TAPE(NOPARALLEL), the
command will fail.
Only one tape drive is allocated for all the CDS backups.
You must never use the ALL or UNDO parameters of the LOG keyword. If it
ever becomes necessary to change the CDSs back to non-RLS-eligible, use:
ALTER HSM.MCDS NULLIFY(LOG)
86 DFSMShsm Primer
2.4.6.3 Removing key range CDSs
The easiest way to remove key range CDSs is to remove the
KEYRANGE((...)) parameter from the IDCAMS DEFINE DATA statements that
you used to define your CDSs as key range. During startup, DFSMShsm
dynamically calculates the key boundaries for each cluster. You can then use
the QUERY CONTROLDATASETS command to display both the low and high
keys that DFSMShsm calculates for each cluster.
There are size considerations for the SHCDS along with a naming convention
that must be adhered to. For comprehensive information about defining these
data sets refer to the OS/390 V2R10.0 DFSMSdfp Storage Administration
Reference, SC26-7331.
For example, if there are ten DFSMShsm hosts in the HSMplex, then the lock
structure should be a minimum of 2MB.
88 DFSMShsm Primer
//DEFCFRM1 JOB (999,POK),'CFRM',CLASS=A,REGION=4096K,
// MSGCLASS=X,TIME=10,MSGLEVEL=(1,1),NOTIFY=MHLRES5
//STEP1 EXEC PGM=IXCMIAPU
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSIN DD *
DATA TYPE(CFRM) REPORT(YES)
DEFINE POLICY NAME(CFRM19) REPLACE(YES)
CF NAME(CF01)
TYPE(009672)
MFG(IBM)
PLANT(02)
SEQUENCE(000000040104)
PARTITION(1)
CPCID(00)
DUMPSPACE(2048)
CF NAME(CF02)
TYPE(009672)
MFG(IBM)
PLANT(02)
SEQUENCE(000000040104)
PARTITION(1)
CPCID(01)
DUMPSPACE(2048)
STRUCTURE NAME(IGWLOCK00)
SIZE(28600)
INITSIZE(14300)
PREFLIST(CF02,CF01)
REBUILDPERCENT(75)
STRUCTURE NAME(HSMCACHE1)
SIZE(64000)
INITSIZE(32000)
PREFLIST(CF01,CF02)
REBUILDPERCENT(75)
STRUCTURE NAME(HSMCACHE2)
SIZE(64000)
INITSIZE(32000)
PREFLIST(CF02,CF01)
REBUILDPERCENT(75)
Figure 32. CFRM policy definition for RLS access of the DFSMShsm CDSs
Note
The code in Figure 32 does not represent the entire policy data for the
CFRM data set. It represents the CFRM policy that specifies the
requirements for the DFSMShsm RLS structures.
We select option 7 and define the cache sets that relate to our coupling
facility cache structure names (Figure 34).
90 DFSMShsm Primer
Panel Utilities Scroll Help
------------------------------------------------------------------------------
CF CACHE SET UPDATE PAGE 1 OF 1
Command ===>
HSM2 HSMCACHE2
The coupling facility cache structure names must be those that we previously
defined (see 2.4.6.7, “Coupling facility cache and lock structures” on
page 88).
Guaranteed Space . . . . . . . . . Y (Y or N)
Guaranteed Synchronous Write . . . N (Y or N)
CF Cache Set Name . . . . . . . . HSM1 (up to 8 chars or blank)
CF Direct Weight . . . . . . . . . 5 (1 to 11 or blank)
CF Sequential Weight . . . . . . . 3 (1 to 11 or blank)
To this we added the coupling facility cache set name that we had associated
previously with the coupling facility cache structure name. The greater the
weight value, the higher the importance that it is cached. We chose our
values randomly.
92 DFSMShsm Primer
As the CDSs were already in this storage class, we validated and then
activated our SMS SCDS of SYS1.SMS.SCDS1.
If your data sets are not already allocated to a storage class that allows RLS,
you have to assign them to one.
Each MVS system will have its own SMSVSAM address space after IPL if
RLSINIT(YES) is coded.
If you want to limit the access to these commands, you have to set up these
profiles and authorize users to them.
D SMS,SMSVSAM,ALL
The information that is returned will tell you whether your system is active and
what the status is of the SMS complex.
CDSSHR=RLS
'CDSSHR=&CDSSHR'
94 DFSMShsm Primer
9. Schedule an IPL of the MVS systems and make sure that the SMSVSAM
address space becomes active.
10.Activate the SHCDSs.
If, however, your site has not experienced any problems with the space
requirements of your CDSs, we do not recommend that you implement a
multicluster environment. If you have experienced space problems you may
want to first try increasing the size of your CDSs to relieve the space problem.
If you find that the space required for your CDS requires more than one
volume, you need to split your CDS.
For more information about defining CDSs without key-ranges, see 2.4.6.3,
“Removing key range CDSs” on page 87.
96 DFSMShsm Primer
.
//HSMCDS JOB ,MSGLEVEL=(1,1)
//*******************************************************************/
//* SAMPLE JCL THAT ALLOCATES NON-KEY-RANGE MULTICLUSTER */
//* RLS-ELIGIBLE MIGRATION CONTROL DATA SETS. */
//*******************************************************************/
//*
//STEP1 EXEC PGM=IDCAMS,REGION=512K
//SYSPRINT DD SYSOUT=A
//SYSUDUMP DD SYSOUT=A
//SYSIN DD *
DEFINE CLUSTER (NAME(HSM.RLS.MCDS1) -
STORAGECLASS(SC54GRT) -
CYLINDERS(2) NOIMBED NOREPLICATE -
RECORDSIZE(200 2040) FREESPACE(0 0) -
INDEXED KEYS(44 0) SHAREOPTIONS(3 3) -
UNIQUE LOG(NONE)) -
DATA -
(NAME(DFHSM.RLS.MCDS1.DATA) -
CONTROLINTERVALSIZE(4096)) -
INDEX -
(NAME(DFHSM.RLS.MCDS1.INDEX) -
CONTROLINTERVALSIZE(4096))
5. Copy the old CDS to the new multicluster CDS with the AMS REPRO
command, as shown Figure 39.
Once all these steps have completed successfully, DFSMShsm will use the
multicluster CDSs.
98 DFSMShsm Primer
use some backup technics. Here we discuss using concurrent copy,
SnapShot and virtual concurrent copy as your backup procedures.
When DFSMShsm uses concurrent copy to back up the control data sets, the
period of time during which system functions are suspended is dramatically
reduced. DFSMShsm reserves the data sets only for as long as it takes to
initialize a concurrent copy session for each of them and to back up and
nullify the journal. (DFSMShsm always backs up the journal itself, not using
DFSMSdss and consequently without concurrent copy.) Once these
operations are complete, DFSMShsm releases the CDSs for other processing
but continues with the backup because the data sets are now protected by
concurrent copy. This action can reduce to only a few minutes the period of
time during which DFSMShsm functions (and, in JES3 systems, job initiation)
are suspended. This capability makes it possible to reduce the time required
to restart DFSMShsm after a failure if a backup copy of one of the CDSs is
required.
When you reallocate the DFSMShsm CDSs, specify (or ensure that your ACS
routines select) a storage class with GUARANTEED SPACE=YES and a
management class containing the following specifications:
• Expiration limits (EXPIRE AFTER DAYS NON-USAGE and EXPIRE
AFTER DATE/DAYS) and RETENTION PERIOD set to NOLIMIT.
• COMMAND or AUTO MIGRATE set to NONE.
• ADMIN or USER COMMAND BACKUP set to NONE.
If you use tape as your backup device for the CDSs, also specify the
PARALLEL option to request that DFSMShsm backup the CDSs in parallel. If
you do not specify PARALLEL, DFSMShsm backs up the CDSs to tape
one-by-one, reducing the benefit of concurrent copy. DFSMShsm always
backs up the CDSs to DASD in parallel. If contention for tape drives is a
problem in your installation, consider changing your CDS backup device to
DASD when you implement concurrent copy.
There are two features we should mention as they allows more flexibility on
space management functions:
1. Fast subsequent migration
Fast subsequent migration is a new feature of DFSMShsm version 2
release 10.
When a data set that has been migrated to ML2 tape is recalled, the
migration copy of the data set remains on the tape. DFSMShsm CDS
records recognize that copy as an invalid copy. When the data set that is
recalled is re migrated in the normal manner, it is copied to a new tape.
Eventually, tapes with invalid data sets are recycled, and only the still-valid
data is consolidated onto new tapes.
The fast subsequent migration function allows data sets recalled from ML2
tape (but not changed, recreated or backed up) can be reconnected to the
original ML2 tape. This eliminates unnecessary data movement resulting
from remigration and reduces the need to recycle these tapes.
Reconnection can occur during individual data set migration or during
volume migration. Both SMS and non-SMS data sets are supported;
however, reconnection is only supported in a SETSYS
USERDATASETSERIALIZATION environment.
Data sets recalled from down level DFSMShsm are not candidates for
reconnection. If a data set is recalled from down level DFSMShsm and
DFSMShsm Release 10 needs to migrate it, it will not reconnect and use
normal migration technique.
During the recall function, DFSMShsm marks a data set as a candidate for
reconnection, only if it meets all of the following conditions:
- The data set is recalled from ML2 tape.
- The data set does not span tapes.
- The SETSYS TAPEMIGRATION(RECONNECT(NONE)) option is not in
effect.
- SETSYS USERDATSETSERIALIZATION is the specified option.
DFSMShsm does not attempt reconnection, if either of the following is
true:
- The MIGRATE command specifies the CONVERT parameter.
- The ARCHMIG macro specifies the FORCML1=YES parameter.
SETSYS ML2RECYCLEPERCENT(pct)
SETSYS MAXRECALLTASKS(nn)
SETSYS TAPEMAXRECALLTASKS(nn)
SETSYS MAXMIGRATIONTASKS(nn)
SETSYS MAXINTERVALTASKS(nn)
SETSYS MIGRATEPREFIX(prefix)
• Do you want to use the SDSP facility for the migrated data sets?
If you want to use the SDSP facility, use statement (a). IBM recommends a
150KB size, which allows the fact that this would probably compress to
75KB, and take up 1.5 3390 tracks in an SDSP, or two tracks in a
traditional data set, representing a significant reduction. You can use a 60
KB size if you use RVA for ML1 volumes and you turn compression off.
Specifying SMALLDATASETPACKING requires that you define at least a
number of SDSP data sets equal to the maximum number of concurrent
volume migration tasks that could be running in your complex. SDSP data
sets are allocated on ML1 volumes and defined in the ADDVOL command
for the volume on which it resides. The SDSP data sets should be
reorganized periodically to prevent out of space conditions.
Use statement (b) if you do not want to use the SDSP facility.
SETSYS RECYCLEOUTPUT(MIGRATION(unittype))
Auto Backup . . Y (Y or N)
Without going into much detail at all, what this means for the management
class MC54PRIM is that:
- On the days that automatic backup runs, one day must elapse before it
is backed up again and it has changed since the last backup.
- Two backup versions are retained while the data set exists.
- One backup version is retained for 30 days after the data set is deleted.
- Extra backup versions are retained for five days after they are created.
- Any users can issue commands to back up data sets.
- Automatic backup is to process eligible data sets.
SETSYS INCREMENTALBACKUP(ORIGINAL)
SETSYS INCREMENTALBACKUP(CHANGEDONLY)
Specifying ORIGINAL means that a copy is taken for each data set that
either has change bit set to off and a backup version does not already
exist or data set with change bit set to on. Specifying CHANGEDONLY
means that only data sets with the data set changed indicator set to on are
backed up.
For the first few cycles of DFSMShsm automatic backup we recommend
that you specify ORIGINAL. Over time you may want to alter it to
CHANGEDONLY once you are more confident of the data that is being
backed up.
• How do I specify the number of backup versions to keep for an
existing data set?
The management class attribute NUMBER OF BACKUP VERSIONS
(DATA SET EXISTS) allows you to set the maximum number of backup
versions to retain for a data set. In our management class we have set this
to 2. This means that the two most recent copies of the data set will be
kept.
• How do I specify the number of backup versions to keep for a data
set that has been deleted?
The management class attribute NUMBER OF BACKUP VERSIONS
(DATA SET DELETED) allows you to set the maximum number of backup
The omission of the third parameter (0300) tells DFSMShsm that all
eligible primary volumes are to be backed up.
• How do I tell DFSMShsm the days on which I want automatic backup
to run?
You tell DFSMShsm the days you want automatic backup to run through
the DEFINE command:
SETSYS BACKUP(TAPE(ETAPE))
In this case all backups would go to tape and to the esoteric name of
ETAPE, which you can set up to include the 3480 tape units that have
automatic cartridge loaders.
To direct your backups to DASD, you would code the following:
SETSYS BACKUP(DASD)
SETSYS USERUNITTABLE(ACL:3490)
Once you have done this, DFSMShsm will honor this esoteric name
wherever you code it. Output will go to ACL drives, but input can use any
3490 drive.
• How do I limit the amount of data that is written to a cartridge-type
device?
DFSMShsm recognizes that not all tapes have the same capacity. This is
required if you use the TAPECOPY or DUPLEX capabilities for producing
a second copy of an ML2 or backup tape. DFSMShsm provides you the
flexibility to define the level of fullness that you want for your tapes. The
following command allows you to specify the percentage of fullness that
you believe is appropriate to your site
This command limits those devices within the esoteric group of ACL to
filling 97% of the tapes. You can issue this command for as many unit
This command specifies the desired level for a backup tape stored in a
tape library.
• How do I make more than one copy of a backup tape at the same
time?
By using the duplex tape capability of DFSMShsm, you can create two
copies concurrently, The intention is for one to be kept onsite and the other
to be stored remotely. With the following command you can make the
copies concurrently
SETSYS DUPLEX(BACKUP(Y))
prefix.BACK.Tssmmhh.user1.user2.Xyddd
Where, prefix is the UID that you specified in the DFSMShsm startup
procedure or coded in the following command:
SETSYS BACKUPPREFIX(HSM)
You can use this prefix to create a RACF generic profile that will protect all
of your backup copies. Protecting DFSMShsm resources and data sets
using RACF is discussed in 2.3, “Providing security for DFSMShsm
resources” on page 56.
SETSYS MAXBACKUPTASKS(3)
SETSYS NOSPILL
Where hhmm is the time to release tapes based on the local time where
the processor runs
• Can I use the TSO/E terminal monitor program (TMP) in a batch
environment to back up data sets?
Yes. Program IKJEFT01 sets up a TSO/E environment from which you can
issue TSO/E commands. You can create a batch job that runs the
IKJEFT01 program and issues the HBACKDS command. To back up a
data set using the HBACKDS command you must have RACF UPDATE
authority to the data set. You can specify a data set name filter as a
parameter of the HBACKDS command. You can use the CHANGEDONLY
parameter to indicate whether DFSMShsm should back up only those
specified data sets that have the changed bits on in their data set VTOC
entries. The JCL in Figure 44 gives an example of using the HBACKDS
command in batch:
//BACKUP JOB (999,POK),'HBACKDS',CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)
//TMP EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSPROC DD DISP=SHR,DSN=SYS1.TEST1.CLIST
//SYSTSIN DD *
HBACKDS ('MHLRES5.DSN*.**') CHANGEDONLY
/*
SETSYS -
AUTOBACKUPSTART(0100 0200 0300)
/* AB START AT 0100 OR NO LATER THAN */
/* 0200, NO AB AFTER 0300 */
In this example automatic dump will start between 4 a.m. and 5 a.m. and
will not process any volumes after 6 a.m.
DFSMShsm would not stop automatic dump processing until all volumes
had been dumped. The key is to omit the third parameter and just specify
your automatic dump start window.
• Can I adjust the number of tracks that are read for each EXCP in the
same way that I can for DFSMSdss?
If you are familiar with DFSMSdss, you know that you can choose the
DASD I/O buffering technique to use, using the following command:
SETSYS DUMPIO(n,m)
SETSYS VOLUMEDUMP(CC)
SETSYS MAXDUMPTASKS(3)
This command establishes a 7-day dump cycle that starts on Monday, 6th
of January. Automatic dump will run only on Sunday. Specifying
CYCLESTARTDATE means that the cycle will stay the same through each
initialization of DFSMShsm. We recommend that you code your DEFINE
similar to the example. You may find that it is easier to work with a
seven-day cycle than a long string of Ys and Ns. This command can be
added to your ARCCMDxx PARMLIB member.
• Is that all I need to do to let automatic dump take place?
No. You must now define at least one dump class so that automatic dump
has somewhere to direct the copies.
• How do I define a dump class and what are the attributes I can
associate with it?
You create dump classes by using the DFSMShsm DEFINE DUMPCLASS
command. As there are a lot of considerations that your installation may
want to take into account, we briefly explain what you can achieve on
dump class definition, the parameters that you can specify, and the
DEFINE DUMPCLASS(ONSITE)
Note
If DAY is not specified, and the FREQUENCY parameter is met, and
it is a Y day in the dump cycle, the volume will be dumped.
Note
Issuing the DEFINE command without specifying DISABLE will
enable a dump class.
Note
This will insert the disposition statement into message ARC0637I,
which is issued for each successful dump copy.
Note
Do not use RESET if you want incremental backup to make a
backup version. RESET is not used if the DASD volume is also
being managed by DFSMShsm backup.
Note
Where nn is a value from 1 to 99
Note
This setting is effective only if you have specified a SETSYS
command of EXPIRATION or EXPIRATIONINCLUDE. The setting of
this may be meaningful to certain tape management systems, and
some values may mean never expire.
Note
You can use a generic name or an esoteric name defined with the
SETSYS USERUNITTABLE command in place of unittype.
Note
In our ONSITE dump class we have specified AUTOREUSE and
NORESET (default value). If SETSYS
TAPEDELETION(SCRATCHTAPE) is in effect, AUTOREUSE has no
meaning. The use of RESET subparameter can cause data integrity
problems for Fast Subsequent Migration.
With DFSMShsm Version 2 Release 10, ABARS extends its support of user
tapes to support data sets that reside on user tapes that have a block size
greater than 32 kilobytes (KB).
Backup Attributes
Number of Copies . . . . . . . 1 (1 to 15)
Management Class Name . . . . . MC54NMIG (1 to 8 characters, to be
defined in current SCDS)
INCLUDE(MHLRES5.PAY1.**)
ABACKUP uses this statement and selects cataloged data sets that have
a high-level qualifier of MHLRES5 and a second-level qualifier of PAY1.
• What is an instruction data set and how is it used?
The instruction data set is an optional data set that is free-form text meant
to include information necessary in assisting with the recovery process at
the recovery site.
You may find it useful to include the following types of information:
- SMS attributes
- Description of the application
- RACF environment
- Software requirements
- Hardware requirements
- Unique application dependencies
We do not go into detail as to what each of these options allows. Our intent
is to show the considerations that you need to take into account should
you decide that you want to implement ABARS.
You are prompted to specify ACTIVE for the CDS name for the ABACKUP.
In Figure 57, we specify the following for the ABACKUP command for
aggregate group PAY1:
- 3590-1 as the unit name for the ABACKUP output files
- Processing option of 2 to create backup copies of the aggregate data
sets
Note
If we had chosen option 1, Verify would determine whether any
errors exist that would prevent successful completion of ABACKUP.
SETSYS ABARSKIP(PPRC)
SETSYS ABARSKIP(XRC)
HSMACT.H1.ABACKUP.PAY1.D98210.T133233
You can see that the aggregate name that is being backed up is included
as a qualifier for easy identification.
• What does the output that is generated look like?
The output to the data set includes the DFSMSdss JCL and job log, the
data sets that have been successfully backed up and, if any have failed, an
indication as to the reason.
The output that is written to the data set looks like this:
You are prompted to specify ACTIVE for the CDS name for the
ARECOVER.
The entries that we made in Figure 60 for our ARECOVER indicate:
- The aggregate group name PAY1
- That we want data sets recovered to ML1 DASD to be backed up next
time automatic backup runs
- That migrated data sets are recovered to ML1 DASD
- No rename of data sets is to take place
- No conflict resolution of data set names is to take place
Model Entity . . . .
(1 to 44 Characters)
Target Unit Name . .
HSMACT.H1.ARECOVER.PAY1.D98210.T152431
The output that is written to the data set looks like this:
The information includes the DFSMSdss generated JCL and job log and
messages that indicate the completion (successful or not) of the
ARECOVER. This ARECOVER has successfully restored all of our data
sets.
The example that we have shown is a very simple one. Many installations
will not be able to implement solutions as easy as this. For sites that are
using SMS the implementation of ABARS is recommended.
The data set backup by command function provides the following capabilities:
- Up to 64 data sets per host can be backed up at one time
- Data sets can be backed up directly to DASD or to tape
- Users can demount continuously mounted backup tapes
- User can tailor the times when DFSMShsm demounts a tape
We do not show you all possible variations of the commands. Those that we
show perform the most basic of functions available for each command. As
your familiarity with DFSMShsm grows, you may want to investigate
variations of the commands that we show here.
• How do I dump an entire volume with one single command?
An entire volume can be dumped by using the following command (in this
case the volser of the volume is HG6602):
• Is there any way that I can specify the dump class to which I would
like the dump to go?
By issuing the following command for the same volume you would be able
to target the dump to up to five dump classes:
BACKVOL VOLUME(HG6602) -
DUMP(DUMPCLASS(ONSITE,OFFSITE))
These dump classes must have already been defined by means of the
DFSMShsm DEFINE command.
BACKVOL STORAGEGROUP(sgn) -
DUMP(DUMPCLASS(class,class,...) STACK(nn)
HBACKDS ‘MHLRES5.**’
Variations of these commands exist and are more complicated, but the
above examples should give you an idea of the basics that you have to
work with.
SETSYS BACKUP
You also want to consider the number of data set recovery tasks that you
want to run concurrently. The number of tasks is affected by the following
parameter:
SETSYS MAXRECOVERTASKS(nn)
HRECOVER dsname
RECOVER dsname
Where, dsname is the name of the data set that you want to recover.
DFSMShsm chooses the most recently created version of the data set for
you. You do not have to identify where the most recent copy is yourself
before you put the command together.
• What is the difference between HRECOVER and RECOVER?
HRECOVER can be issued by any user; however, the RECOVER
command can be issued only by DFSMShsm-authorized users.
• How do I recover a data set if a catalog entry already exists for it?
The following two forms of the command recover a specific data set but
give it a new name:
Where, dsname is the name of the data set that you want to recover and
newdsname is the new name that you want it to be called.
• Is there any way that I can just replace the data set if it exists?
By using either of the following commands you can replace an existing,
cataloged data set with the recovered version:
This will allow the data set to extend to as many volumes as required,
provided that space is available within the same storage group.
• How do I combine the restore of an entire volume with full-volume
recovery?
One of the first things to consider for a volume restore with update is
whether it is likely that one of your users may try to start using a data set
in the period between the restore and the incremental recovery. In this
situation, we suggest that you put the SMS-managed volume in DISALL
status.
Once you are satisfied that the volume is in DISALL status, there are three
variations of the command that you could use.
In all these examples we assume that:
- The DASD volume to be recovered has a volser of OLD001.
- The DASD unit type is a 3390.
- The volume restore will be done to a spare DASD volume of NEW001,
which will change to OLD001 during the restore operation.
- You know either the dump class, dump volume, or dump generation
from which you want to restore.
- You want an incremental volume recovery process to follow
immediately the restore as part of the same request.
To recover from a specific dump volume with a volser of DMP001, you
would use the following command:
To recover from a specific dump generation that was the most recent, you
would use the following command:
DFSMShsm restores from the most recent dump copy. It searches its
entire dump inventory to determine the most recent dump copy.
• Is there a way that I could limit the selection of dump copies
searched?
By adding to the previous command this parameter:
DATE(00/07/27)
You would be asking DFSMShsm to recover the latest dump copy that was
made on or before July 27, 2000. If you knew that the DASD volume was
good on a certain date, you might use this parameter to choose a dump
taken on or before that date. This may cut down the time it takes to find the
most recent copy if you know approximately the date when a dump copy
may have been taken.
We have shown some examples of the commands that you can use to
complement your backup and dump processes. There are many variations
that you can apply at your installation and that are relevant to your
environment.
Multiple DFSMShsm hosts can exist within a single OS/390 image, and/or
multiple DFSMShsm across multiple OS/390 images.
The primary host can be either a MAIN or an AUX host. Having an AUX host
designated as the primary host reduces contention between its “level
functions” and the responsibilities unique to the MAIN host, such as recalls
and deletes.
The common procedure should specify PRIMARY=N, so that you only have to
override it for the one primary host.
Or,
S procname,JOBNAME=id1,HOST=A,HOSTMODE=MAIN,other parms
S procname,JOBNAME=id2,HOST=B,PRIMARY=Y,HOSTMODE=AUX,other parms
If you need to issue the same command to multiple DFSMShsm hosts started
with identifiers that have the same set of leading characters, you can use an
asterisk wildcard with the MODIFY command:
F id*,command
If you are in a multiple OS/390 image configuration, the CDSs must reside on
shared DASD. Specify the type of serialization you want by using the CDSQ,
CDSR, or CDSSHR keywords.
There are two methods for defining the share options for the DFSMShsm
CDSs.
Some additional considerations apply when you use this sharing strategy:
• Reserve contentions can occur when a GRS product is not installed and
that system processes DFSMShsm and applications concurrently with
VSAM data sets on the same volume.
• Specify DISP=SHR for read-only utilities.
• Specify DISP=OLD for any utility that will alter the CDSs.
• Do not reorganize your CDSs while DFSMShsm is running on any
processor that uses those CDSs.
Performance tests show that it is best to run six to eight tasks per host for
migration, backup or dump. Therefore, if you wanted to run 30 migration
One or more processors with DFSMShsm installed and running that share a
common MCDS, OCDS, BCDS, and journal is called an HSMplex.
One or more OS/390 systems that use global serialization to serialize access
to shared resources (for example, data sets on shared DASD volumes) is
called a GRSplex.
Within a GRSplex, you can now place multiple HSMplexes into a single
GRSplex. The single GRSplex serialization function allows DFSMShsm to
translate minor global resource names to unique values within the HSMplex,
thus avoiding interference between HSMplexes.
All DFSMShsm hosts within an HSMplex must use the same translation
technique. If a host detects an inconsistency in the translation technique, the
detecting host immediately shuts down.
The new startup keyword RNAMEDSN specifies whether you want to keep
the old translation technique or use the newer technique. The RNAMEDSN
keyword directs DFSMShsm to perform the new translation technique.
Compatibility considerations
Consider the following coexistence issues before you run DFSMShsm within
an HSMplex:
• If all DFSMShsm hosts within one HSMplex are running at DFSMS/MVS
Version 1 Release 5. All DFSMShsm hosts must use the same
serialization method. If not, at least one of the hosts will shut down (that is,
each host detecting a mismatch will shut down).
• If an HSMplex has both Version 1 Release 5 and pre-Version 1 Release 5
running concurrently, then the Version 1 Release 5 hosts cannot specify
RNAMEDSN=Y. If RNAMEDSN=Y is specified, hosts that detect the
mismatched serialization method will shut down.
• If two or more HSMplexes are running concurrently. Each HSMplex using
an old serialization method will interfere with other HSMplexes.
HSMplexes using the new serialization method will not interfere with other
HSMplexes. However, in a two-HSMplex environment, one can use the old
method and the other can use the new method; neither one will interfere
with the other.
Where,
PRIMARYHOST(YES | NO): indicate whether you want this host to take over
primary host responsibilities for a failed or not. The default value is NO.
SSM(YES | NO): indicate whether you want this host to take over the SSM
responsibilities for a failed host or not. The default value is NO.
Notes:
• This parameter is ignored when the system is running in LOCAL mode. If the
system is running in MONOPLEX mode, the secondary host promotion
function is active, but is unable to perform actions because cross-host
connections are not enabled.
• An SSM host is not eligible to be promoted for another SSM host.
• The SETSYS command does not trigger promotion. That is, a host can only
be eligible to be promoted for hosts that fail after the SETSYS command has
been issued.
• Do not make a host eligible for promotion if its workload conflicts with
responsibilities of the original host or if it is active on a significantly slower
processor.
If the promoted host itself fails, then any remaining host that is eligible for
promotion will take over. If additional failures occur, promotion continues until
there are no remaining hosts that are eligible for promotion.
If a secondary host fails while it is promoted for an original host and there are
no remaining active hosts eligible for promotion, then of any of the secondary
hosts that become re enabled before the original host does, only that host
that was last promoted for the original host can become the promoted host.
In this chapter we describe the following DFSMShsm that the system operator
performs:
• Partitioning DFSMShsm functions
• Starting DFSMShsm
• Stopping DFSMShsm
• Holding DFSMShsm functions
• Releasing DFSMShsm functions
• Canceling queued DFSMShsm requests
• Restarting DFSMShsm after an abnormal end
• Changing DFSMShsm control parameters
We recommend that system operators take the time to become familiar with
the DFSMShsm commands discussed in this chapter, their function, and their
purpose.
There are two possible modes of host activity that you can specify at startup
time for any host: HOSTMODE=MAIN (the default) and HOSTMODE=AUX.
• HOSTMODE=MAIN: This DFSMShsm host is responsible for:
- Processing implicit requests, such as recalls, or deletes migrated data
sets, from user address spaces
- Processes explicit commands from TSO, such as HSENDCMD and
HBACKDS, as well as requests from batch jobs, such as ARCINBAK
- Manages ABARS secondary address spaces
- Allows MODIFY commands from a console
- Can run automatic backup, dump, and space management
• HOSTMODE=AUX: This DFSMShsm host can:
- Allow MODIFY commands from a console
- Run automatic backup, dump, and space management
However, you should consider the most effective use of your OS/390 image
and the number of DFSMShsm hosts running within each of those OS/390
images. For more details, see 2.11.3.4, “Multitasking considerations” on
page 166.
This reply would direct the IPL process to use PARMLIB member
COMMNDxx:
R 0,CLPA,CMD=xx
COM=’S HSM1’
S HSM1
P HSM1
• Are there any other parameters that I can specify on the DFSMShsm
STOP command?
Yes. You can specify the DUMP parameter on the STOP command:
F HSM1,STOP DUMP
If you issue the STOP command with the DUMP parameter, an orderly
shutdown does not take place, and processing is stopped immediately.
DFSMShsm takes a dump of the DFSMShsm address space before it
stops processing. It also makes the host eligible to have its unique functions
taken over by a promotable host. We do not recommend that you use the
dump parameter as valuable information can be lost. If you need a dump
of the DFSMShsm address space for diagnosis purposes, we recommend
using the MVS DUMP command. Refer to 5.7.4, “SVC dumps” on
page 268 for additional information about the use of the MVS DUMP
command.
• I issued the DFSMShsm STOP command but nothing seemed to
happen. Should I issue it again?
No. Issue the DFSMShsm STOP command only once.
• The shutdown seems to be taking a long time to complete. What is
happening as part of shutdown?
DFSMShsm completes the current functions, usually ending them at a
data set level, and consolidates SMF type 30 records as part of its
shutdown. That is why it may take a while.
• How often does DFSMShsm check for shutdown?
As some commands and volume functions take a long time to complete,
DFSMShsm periodically checks for a shutdown having been requested to
prevent a delay in the shutdown process.
• What happens to DFSMShsm commands that have been entered but
did not complete because DFSMShsm was shutdown?
As long as OS/390 has not been IPLed since DFSMShsm was shut down,
user and HSENDCMD commands that did not complete are restarted as
part of the DFSMShsm initialization process.
For functions that process on a volume basis (backup, dump, migration, and
recover) you can choose whether you want to interrupt the function at the end
of the data set that is being processed or at the end of the volume that is
being processed.
There is a lot of flexibility with the HOLD command. We discuss the HOLD
commands that you will use most. For more details on the HOLD command
refer to the OS/390 V2R10.0 DFSMShsm Storage Administration Reference,
SC35-0389.
• Why might I want to issue the HOLD command?
Using the HOLD command is a flexible alternative to stopping DFSMShsm
during your prime working day. If the activity within DFSMShsm seems to
be causing problems in terms of the demands that it is placing on system
resources, you can selectively increase the amount of functions that are
held. If possible, allow recall and recover processing to continue so that
users can access their migrated and backed up data. Once the system or
DFSMShsm problem is resolved, you can release the held functions on a
selective basis.
Another approach would be to hold everything and then gradually release
at a function level.
• What happens to functions that have been held after a restart of
DFSMShsm?
If a function has been held by the HOLD command, it is released once
DFSMShsm has restarted successfully.
• Who can issue the HOLD command?
The HOLD command can be issued from the OS/390 system console or by
a DFSMShsm-authorized user from a TSO terminal, using the
HSENDCMD command.
• How do I hold all DFSMShsm functions?
All processing can be held by issuing the following command:
F HSM1,HOLD ALL
• How can I hold all automatic volume and automatic secondary space
management processing?
To prevent or interrupt automatic volume and automatic secondary space
management, issue either of the following commands:
F HSM1,HOLD AUTOMIGRATION
F HSM1,HOLD MIGRATION(AUTO)
ENDOFDATASET or EOD
ENDOFVOLUME or EOV
The DFSMShsm default is at the end of data set, except for the dump
function, where it is end of volume. A requested volume dump is done in
its entirety and then DFSMShsm stops dump processing if the DUMP
function is held.
• How can I prevent tape recall requests from TSO users?
If you were to issue the following command you would allow only recall
requests from tape submitted from batch jobs and all nontape volumes to
be processed:
F HSM1,HOLD RECALL(TAPE(TSO))
Note
Recalls from tape volumes that are already mounted will be satisfied.
F HSM1,HOLD RECALL(TAPE)
• How can I tell what has been held by the HOLD command?
When you issue the following command you receive a series of messages
that indicate which functions have been held:
F HSM1,QUERY ACTIVE
The only time that functions will not be released is if journaling has been
disabled. Once journaling has been disabled, it holds all DFSMShsm
functions. The RELEASE command will not be effective until the CDSs have
been successfully backed up.
• Who can issue the RELEASE command?
The RELEASE command can be issued from the system console or also
submitted by a DFSMShsm-authorized user from a TSO terminal, using
the HSENDCMD.
• In the examples shown for the HOLD command, what are the
corresponding RELEASE commands?
We show the HOLD command and its corresponding RELEASE command
in the examples that follow.
F HSM1,HOLD ALL
F HSM1,RELEASE ALL
F HSM1,HOLD AUTOMIGRATION
F HSM1,RELEASE AUTOMIGRATION
F HSM1,HOLD RECALL(TAPE)
F HSM1,RELEASE RECALL(TAPE)
There are as many variations of the RELEASE command as there are for the
HOLD command. For further reference and for a comprehensive list of the
commands, refer to the OS/390 V2R10.0 DFSMShsm Storage Administration
Reference, SC35-0389.
However, if you have the DFSMS Optimizer HSM Monitor/Tuner installed, you
can cancel active tasks under the following functions:
• Primary space management
• Secondary space management
• Automatic backup
• Automatic dump
• Interval migration
For more information, please refer to the DFSMS Optimizer: The New HSM
Monitor/Tuner , SG24-5248.
In this section we will discuss the CANCEL command and give examples of
its uses.
• Who can issue the CANCEL command?
The CANCEL command is primarily issued by the system operators from
the system console. Additionally they can also be submitted by a
DFSMShsm-authorized user from a TSO terminal.
• What can I cancel?
For DFSMShsm queued requests, you can cancel:
- An individual request
- All requests submitted from a user ID
- All requests related to a specific data set name
• How can I find out which requests can be canceled?
You have to issue the DFSMShsm QUERY command to find the request
numbers, user IDs, or data set names that you want to cancel. Use the
following command to display all DFSMShsm requests:
F HSM1,QUERY REQUEST
Refer to 6.2, “Query command” on page 285 for more information about
the QUERY command.
• If I issue the QUERY ACTIVE command, can I cancel any of the
requests listed in the command output?
F HSM1,CANCEL REQUEST(num)
Where, num represents the number of the request you want to cancel.
• How do I cancel the requests for a particular user?
You would issue the following command to cancel the requests for user
VIALLI:
F HSM1,CANCEL USER(VIALLI)
F HSM1,CANCEL DSNAME(CHELSEA.RBEST)
For further information about the CANCEL command please refer to the
OS/390 V2R10.0 DFSMShsm Storage Administration Reference, SC35-0389.
If an abnormal end occurs that interrupts MVS processing, and as long as the
extended common service area (ECSA) is not destroyed, DFSMShsm can
continue to process waiting requests. Additionally, if DFSMShsm is restarted,
it will process any requests that are waiting in the ECSA.
Note
These are examples only and not intended for use on your system.
F HSM1,SETSYS MAXMIGRATIONTASKS(6)
F HSM1,SETSYS MAXBACKUPTASKS(9)
There are many SETSYS commands that you can change during normal
operation. The SETSYS commands are documented in the OS/390 V2R10.0
DFSMShsm Storage Administration Reference, SC35-0389.
DFSMShsm uses tapes for functions as backup, migration, dump, tape copy,
recycle of tape backup or ML2 volumes, and ABARS processing. You
implement a DFSMShsm tape processing environment by specifying
SETSYS commands in the DFSMShsm PARMLIB member ARCCMDxx.
DFSMShsm uses tape scratch pools for output functions (for example,
backup and dump). You can define a global scratch pool or a specific scratch
pool. A global scratch pool is a repository of empty scratch tapes for use by
anyone. A specific scratch pool is a repository of empty scratch tapes whose
use is restricted to a specific user or set of users. Global scratch pools are
recommended because mount requests can be responded to more quickly
and easily than when tapes reside in a specific scratch pool. Using a global
scratch pool you can easily take advantage of automatic cartridge loaders,
reducing the tape mount wait time. Global scratch pools also enable use of a
tape management product like DFSMSrmm.
The life cycle of a tape is also determined by the SETSYS commands you
specify in the DFSMShsm ARCCMDxx member of PARMLIB. The SETSYS
commands manage the tape as it enters a scratch pool, is inventoried as
active data by DFSMShsm, is recycled (if it is a backup or migration tape),
and is finally returned to the scratch pool.
Multiple file tape reels are associated with devices before type 3480.
When referring to a global scratch pool, you are referring to a pool of tapes
that are not defined to DFSMShsm. When DFSMShsm requests a scratch
We recommend that you use global scratch pools, as we will see in the next
topic. Output processing in a global scratch pool environment calls for any
scratch cartridge that significantly reduces the mount wait time, especially
when using devices with automatic cartridge loaders or in an automated tape
library.
SETSYS EXITON(ARCTVEXT)
Storage locations are not part of the removable media library because the
volumes in storage locations are not generally available for immediate use. A
storage location is comprised of shelf locations that you define to
DFSMSrmm.
DFSMSrmm manages the movement of volumes among all library types and
storage locations. This lets you control where a volume, and hence a data
set, resides and how long it is retained.
Note
There are exceptions to this, as DFSMShsm can manage its own specific
tapes in coexistence with a global scratch pool environment. This is not
recommended, however.
When DFSMShsm calls for a scratch tape, DFSMSrmm honors the request,
and DFSMShsm uses the tape to write to. DFSMSrmm creates a master
control record, and DFSMShsm creates a record in the DFSMShsm CDS.
Note
If the STGADMIN.EDG.RELEASE and STGADMIN.EDG.MASTER
Facility class profiles are not defined, contact your security
administrator before continuing. If you do not define these Facility
class profiles properly, severe cartridge RELEASE problems can
occur in DFSMSrmm
After you permit the DFSMShsm user ID to the Facility class profiles,
refresh your RACF facility class profiles, using this command:
SETSYS TAPESECURITY(EXPIRATION)
SETSYS CDSVERSIONBACKUP(BACKUPCOPIES(4) -
BACKUPDEVICECATEGORY(TAPE(PARALLEL UNITNAME(3490) -
EXPDT(99365)))
REJECT ANYUSE(ADS*)
REJECT ANYUSE(MHL*)
REJECT ANYUSE(DB*)
REJECT ANYUSE(MXX*)
REJECT ANYUSE(THS*)
If you use a global scratch tape pool for DFSMShsm tapes, you need a way to
manage tapes protected with expiration dates set by DFSMShsm. To help
you manage this situation, DFSMSrmm lets you automate the responses to
expiration date protection messages for scratch pool tape volumes. Use the
parmlib member VLPOOL command to setup this automation. DFSMSrmm
automatically lets your users reuse the volumes in the pool without operator
intervention and without creating data integrity exposures.
VRSs, are used for managing your site's vaulting requirements for either
on-site or off-site storage. This is not limited to DFSMShsm as many
application batch jobs also create backups that require movement, either to
your on-site vault or to an off-site location. VRSs allow you to specify data set
name masks, required locations, and how to retain your tapes, in
easy-to-follow panels that are delivered with DFSMSrmm. Here we look at
some of the DFSMSrmm panels and discuss DFSMShsm considerations.
• How do I get into the DFSMSrmm VRS panels?
You can access the Removable Media Manager panels through ISMF in
your TSO/E session as shown in Figure 63.
Panel Help
------------------------------------------------------------------------------
ISMF PRIMARY OPTION MENU - DFSMS V2R10
Enter Selection or Command ===>
From the ISMF Primary Option Menu, select option R to access the
Removable Media Manager (see Figure 64).
Enter selected option or END command. For more info., enter HELP or PF1.
Panel Help
------------------------------------------------------------------------------
DFSMSrmm Administrator Menu
Option ===>
Enter selected option or END command. For more info., enter HELP or PF1.
Panel Help
------------------------------------------------------------------------------
DFSMSrmm Vital Record Specification Menu
Option ===>
Enter selected option or END command. For more info., enter HELP or PF1.
From here you can display, create, alter, delete, and perform searches for
all of your vital records relating to DFSMShsm.
• How do I create a VRS entry to have my DFSMShsm dump tapes sent
off site for two weeks?
To add a vital record specification, from the DFSMSrmm Vital Record
Specification Menu, select option 2, Add, which takes you to the
DFSMSrmm Add Vital Record Specification panel (Figure 67). Enter the
DFSMShsm volume dump data set name that your installation is using.
We are using HSM as the high-level qualifier for our DFSMShsm
environment, so HSM.DMP.** is our dump data set name profile.
VRS name . . . .
You are presented with the DFSMSrmm Add Data Set VRS panel
(Figure 68) where you specify your requirements for on-site or off-site
storage (for example, how to retain the tapes and the amount of time to
retain the tapes).
Panel Help
------------------------------------------------------------------------------
DFSMSrmm Add Data Set VRS
Command ===>
Location . . . . . . LOCAL
Number in location 14
Priority . . . . . . 0
Release options:
Next VRS in chain . . Expiry date ignore . . . . NO
Chain using . . . Scratch immediate . . . . . NO
Owner . . . . . . HSMTASK
Description . . .
Data set mask Specify the fully or partially qualified data set name.
Job name mask This can be left blank because DFSMShsm creates the tapes.
Retention type If you want to send your tapes offsite or to the vault for a specific
period, for example, 14 days for your dump tapes, specify
DAYS. This value will relate to the Store number in location
field.
Location Valid entries are HOME, LOCAL, DISTANT, and REMOTE, but
refer to the DFSMSrmm Implementation and Customization
Guide.
Delete date This field specifies the date when the VRS is to be deleted.
DFSMSrmm uses the default value of 1999/365, which means
never delete.
Vital record count 99999 indicates that all vital records are kept.
Delay You can delay the movement of your offsite data. A zero
indicates to move the tapes immediately; 1 indicates to move
the tapes the following day.
Store number in location This value indicates the number of days that any particular tape
is to stay offsite. We used DAYS in the Retention type field so
our tapes will stay offsite for 14 days in location LOCAL.
(LOCAL can be any storage facility in the nearby area).
Next VRS name Use this field only if you are planning on staging your tape
movements; for example, DISTANT, then REMOTE, then
LOCAL.This field points to the next VRS to look at in the chain.
Panel Help
------------------------------------------------------------------------------
DFSMSrmm Search VRSs
Command ===>
Owner . . . . . . *
Limit . . . . . . ( Limit search to first nnnn VRSs.
Default = 10 )
To display all current VRS definitions, enter asterisks in the Data set mask
and Owner fields. Set Limit to a high number as the default is only 10.
• What kind of VRS should I create for daily backup tapes that are to
remain on site?
Use the example shown in Figure 70 to add your VRS for your daily
DFSMShsm backup tapes. The way in which DFSMShsm dump tapes and
DFSMShsm backup tapes are processed has changed somewhat.
Location . . . . . . HOME
Number in location 99999
Priority . . . . . . 0
Release options:
Next VRS in chain . . Expiry date ignore . . . . NO
Chain using . . . Scratch immediate . . . . . NO
Owner . . . . . . HSMTAPES
Description . . . HSM BACKUP TAPES
Delete date . . . 1999/365 ( YYYY/DDD )
SETSYS EXITOFF(ARCTVEXT)
SETSYS SELECTVOLUME(SCRATCH)
SETSYS TAPEDELETION(SCRATCH)
SETSYS TAPESECURITY(RACF)
SETSYS PARTIALTAPE(MARKFULL)
DEFINE DUMPCLASS(class -
AUTOREUSE -
RETENTIONPERIOD(days))
To provide disaster backup, two things are necessary: (1) a way to make
copies of DFSMShsm-owned tape volumes and to identify the copied
volumes to DFSMShsm; and (2) a way to cause DFSMShsm to use the
copied volumes instead of the original volumes. To fulfill these needs,
DFSMShsm provides the duplex tape option or the TAPECOPY command,
and the TAPEREPL command.
In the second line duplexing is turned on for both backup and migration
and means that two tapes are created concurrently. One is designated the
original, with the intention of being kept on site, and the other the
alternate, with the intention of being taken off site or created in a remote
location.
prefix.HMIGTAPE.DATASET
prefix.BACKTAPE.DATASET
The alternate tape volumes will have names of the following format:
prefix.COPY.HMIGTAPE.DATASET
prefix.COPY.BACKTAPE.DATASET
• Are these data set name formats compatible with tapes created by
the TAPECOPY command?
Yes. This format allows tapes created by the duplex tape option to be
compatible with those created by TAPECOPY.
• Must the original and alternate copies be the same tape geometry?
Yes. Although it would be possible in an SMS-managed tape library to
direct the alternate tape volume to a different tape library with a different
geometry, this is not recommended or supported. The intention of the
duplex tape option is to make sure that you have an alternate copy that is
exactly the same in all respects as the original.
• Are there any special considerations that I need to take into account
before switching on duplexing?
As two copies are going to be created concurrently, you will need at least
two output devices for each backup or migration task that is going to run.
This includes the RECYCLE function of DFSMShsm as well. If duplex is in
use for a function, each recycle task needs three tape drives: one for input
and two for output.
• How does DFSMShsm select the tapes for the duplex option?
The tape selection process is the following:
- A partial tape and its alternate are selected.
- If no partial tapes with alternates are found, an empty ADDVOLed
volume with a scratch volume as an alternate are selected.
- If there are no empty ADDVOLed volumes, two scratch volumes are
selected.
Duplex tape does not support SETSYS TAPEUTILIZATION NOLIMIT set for
the output unit being duplexed. This is because the alternate tape must
match the original tape exactly, and with SETSYS TAPEUTILIZATION set to
NOLIMIT this is impossible to guarantee, since either tape could be longer
than the other. When TAPEUTILIZATION is set to NOLIMIT, the duplex tape
option causes the tapes to reach a logical EOV when they are 97% full.
For more details on duplex tape processing refer to the OS/390 V2R10.0
DFSMShsm Storage Administration Guide, SC35-0388.
4.4.2 TAPECOPY
• What does the TAPECOPY command allow me to do?
As its name suggests, the DFSMShsm TAPECOPY command allows you
to make copies of your single-file-format DFSMShsm-owned cartridge
tapes. The copies of the original tape are known as alternates and the
terminology is similar to that used in tape duplexing.
• Do I need to ADDVOL the tape volumes before I make a copy?
No. The alternate volumes start as scratch volumes. This prevents
backup, dump, or ML2 tapes from being used as alternate volumes.
• Which commands can I use to make tape copies?
TAPECOPY allows you to copy categories of tapes:
TAPECOPY BACKUP
TAPECOPY MIGRATIONLEVEL2
TAPECOPY ALL
SETSYS PARTIALTAPE(MARKFULL)
There is nothing else that you need to do as you are asking DFSMShsm to
mark partially filled tapes full at the end of each task. If, instead of
MARKFULL, you have coded REUSE in your ARCCMDxx PARMLIB
member, you have to issue the SETSYS command as above. After a few
backup and migration cycles, the volumes will be marked as full.
Alternatively you could issue one of the following commands to mark the
volumes as full:
TAPECOPY ORIGINALVOLUMES(ovol1,ovol2,ovoln)
TAPECOPY ORIGINALVOLUMES(ovol1,ovol2,ovoln) -
ALTERNATEVOLUMES(avol1,avol2,avoln)
prefix.HMIGTAPE.DATASET
prefix.BACKTAPE.DATASET
The alternate tape volumes will have names of the following format:
prefix.COPY.HMIGTAPE.DATASET
prefix.COPY.BACKTAPE.DATASET
TAPECOPY INDATASET(volcopy.list.dsname)
4.4.3 TAPEREPL
If an original ML2 or backup volume is lost or damaged, the volume can be
replaced with its alternate volume.
• How do I replace an original tape volume that is lost or damaged?
Use the TAPEREPL command to replace an original volume.
• How do I use the TAPEREPL command to replace an original volume?
If your original volume with a volser of AAAAAA has become lost or
damaged, and assuming that an alternate exists, you would issue the
following DFSMShsm command:
TAPEREPL ORIGINALVOLUMES(AAAAAA)
LIST TTOC(volser)
TAPECOPY ORIGINALVOLUMES(BBBBBB)
TAPEREPL ONLYDISASTERALTERNATES(RESET)
Or if you are recovering from a real disaster and you want to return to your
original site, then you need to convert all disaster alternate volumes to
original tapes. For doing this you must issue the following command:
TAPEREPL ONLYDISASTERALTERNATES
The process for using alternate volumes as disaster alternate volumes is the
following:
1. Have a copy of the DFSMShsm control data sets at the disaster site.
2. Perform a TAPEREPL specifying the DISASTERALTERNATE parameter.
This flags each existing alternate tape as a disaster alternate.
3. Place DFSMShsm in DISASTER mode. When in disaster mode
DFSMShsm dynamically checks before mounting an input tape whether
4.4.5 ABARS
Aggregate Backup and Recovery Support (ABARS) performs data backup
and recovery processes, on a predefined set of data called an aggregate.
During backup processing, the data is packaged as a single entity in
preparation for taking it off-site. This enables the recovery of individual
applications in user-priority sequence.
In most cases, the output of ABACKUP is directed to tape media. Tape media
is chosen because it is easily transported from one location to another. Along
with this ease of movement comes the task of managing the tape contents,
location, and security.
Many sites manage tapes with a tape management system (DFSMSrmm, for
example) and DFSMShsm. A tape begins its life as a scratch tape, is used by
DFSMShsm to store data, and is returned to the tape management system to
be reused as a scratch tape. To implement this form of concurrent tape
management, communications must be coordinated whenever you define the
environment and data sets for the use of a tape management system.
• How to authorize ABARS to DFSMSrmm resources?
- Create a Facility class profile for the ABARS user ID, which in our case
is abarsid :
For more details on how ABARS works see 2.2.2, “ABARS” on page 42 and
2.8.4, “Aggregate Backup and Recovery Support (ABARS)” on page 137.
A manual tape library (MTL) is a set of tape drives and the set of
system-managed volumes the operator can mount manually on those drives.
DFSMShsm Function Tape Data Set Names Commands with unittype Restrictions
If you plan to use a global scratch pool, ensure that the following commands
are present in your ARCCMDxx PARMLIB member.
SETSYS SELECTVOLUME(SCRATCH)
SETSYS TAPEDELETION(SCRATCHTAPE)
SETSYS PARTIALTAPE(REUSE)
You may have different tape devices and different media types at your
installation, so you may have to assign specific data classes for the selection
of specific devices and tape media.
To define a data class, go to ISMF Primary Option Menu and select option 4,
Data Class, as shown in Figure 71.
Figure 71. Accessing the data class panels from the ISMF Primary Option Menu
The Data Class Define panel fields that affect tape device and media
selection are explained below.
Media Type specifies the tape cartridge media used for data sets associated
with this data class. The possible Media Type values are:
1 For MEDIA1 (3490 standard, 400MB physical; CST)
2 For MEDIA2 (3490 enhanced, 800MB physical; ECCST)
3 For MEDIA3 (3590 standard, 10GB physical; HPCT)
4 For MEDIA4 (3590 extended, 20GB physical; EHPCT)
blank Cartridge type not specified
If you plan to direct your DFSMShsm tapes to a VTS, we recommend that you
define the logical volumes as MEDIA2 tapes (ECCST) and set the
TAPEUTILIZATION as:
You can define the storage class for tapes with defaults, because none of the
attributes applies to SMS-managed tape. See Figure 74 for an example of a
storage class definition for SMS-managed tape:
Guaranteed Space . . . . . . . . . N (Y or N)
Guaranteed Synchronous Write . . . N (Y or N)
CF Cache Set Name . . . . . . . . (up to 8 chars or blank)
CF Direct Weight . . . . . . . . . (1 to 11 or blank)
CF Sequential Weight . . . . . . . (1 to 11 or blank)
To define a new storage group, go to the ISMF Primary Option Menu (see
Figure 71 on page 217) and select option 6, Storage Group. This brings you
Figure 76 shows the Tape Storage Group Define panel. On this panel we
define the tape library names that are associated with this storage group. We
specify the name of our off-site tape library, SG54OFFS.
Figure 77 shows the panel that results from specifying Y for the DEFINE SMS
Storage Group Status field in Figure 92 on page 263. This panel enables you
to specify the storage group status for each system in the same SMSplex. In
our example, systems SC63, SC64 and SC65 are enabled to this storage
group.
You can tell SMS which DFSMShsm functions are being directed to
SMS-managed tape by building filter lists that include the data set names
generated by the specifics functions that you want to go to an SMS-managed
tape library (see Table 6 on page 215).
If you are using duplex tape, you can tell SMS to route your DFSMShsm
original tape allocations to one tape library and the alternate (duplex) tape
allocations to a different tape library, which could be an off-site tape library
that you could use in a disaster recovery situation. Figure 78 shows how you
can filter the original and the duplexed tape data set names. HSM is the prefix
for our DFSMShsm tape data set names.
This example shows two separate data set name filter lists for DFSMShsm
tape data:
SMS_MANAGED_TAPE_DSN Where we include the data set names that
our DFSMShsm generates for our original
backup, migration, and dump tapes
HSM_OFFSITE_TAPE_DSN Where we include the duplex tapes
Figure 79, Figure 80, and Figure 81 on page 227 show examples of ACS
routines that direct the DFSMShsm backup and migration tape data to
SMS-managed tape libraries. We used the filter lists shown in Figure 78 in
these four ACS routine samples.
Figure 79. Sample data class ACS code for: migration, backup, dump tapes
Figure 79 shows that this ACS routine sets the DC54236 data class to our
DFSMShsm tape data. This data class was defined to use MEDIA2 Enhanced
capacity cartridge system tape (ECCST) (see 4.5.1.3, “Defining a Data Class”
on page 216).
Figure 80 shows sample code in the storage class ACS routine, which
assigns a storage class SC54TAPE to DFSMShsm tape data sets.
PROC &STORCLAS
/********************************************************************/
(PUT FILTLISTS HERE) .
/********************************************************************/
SELECT /* MAIN LOGIC BLOCKS */
/********************************************************************/
/* TAILOR AND SET STORCLAS FOR SMS-MANAGED TAPE SUBTYPES IF THEY */
/* EXIST */
/********************************************************************/
/* REPEAT THIS BLOCK FOR EACH SMS-MANAGED TAPE SUBTYPE THAT HAS A */
/* DIFFERENT STORAGE CLASS */
/********************************************************************/
WHEN (&UNIT EQ &VALID_TAPE_UNIT)
SELECT /* TAPE ALLOCATIONS */
WHEN (&DSN EQ &SMS_MANAGED_TAPE_DSN OR
&DSN EQ &HSM_OFFSITE_TAPE_DSN)
DO
SET &STORCLAS ='SC54236'
EXIT
END /* DO */
/********************************************************************/
/* ADD OTHERWISE FOR TAPE DATA HERE IF EITHER TAPE MOUNT MANAGEMENT */
/* OR SMS-MANAGED TAPE SUBTYPES EXIST */
/********************************************************************/
END /* TAPE ALLOCATION SELECT */
/********************************************************************/
/* THIS OTHERWISE IS FOR ALLOCATIONS OTHER THAN DASD, TAPE, OR */
/* OPTICAL */
/********************************************************************/
OTHERWISE /* NON-MANAGED DEVICES */
DO
SET &STORCLAS = ''
EXIT
END /* DO */
END /* SELECT */
END /* PROC */
Figure 80. Sample storage class ACS code for: migration, backup, dump tapes
Figure 81 shows sample code for a storage group ACS routine. Dump,
backup, and migration original tapes are allocated in the SG54TAPE storage
group, where a local ATL is defined. Backup and migration alternate tapes
are allocated in the SG54OFFS storage group, where an off-site tape library
is defined.
PROC &STORGRP
/********************************************************************/
.
(PUT FILTLISTS HERE) .
.
/********************************************************************/
SELECT /* MAIN LOGIC BLOCKS */
/********************************************************************/
/* TAILOR AND SET STORGRP FOR SMS-MANAGED TAPE SUBTYPES */
/********************************************************************/
/* REPEAT THIS BLOCK FOR EACH SMS-MANAGED TAPE SUBTYPE THAT HAS A */
/* DIFFERENT STORAGE GROUP */
/********************************************************************/
WHEN (&UNIT EQ &VALID_TAPE_UNIT)
SELECT /* TAPE ALLOCATIONS */
WHEN (&DSN EQ &SMS_MANAGED_TAPE_DSN
DO
SET &STORGRP ='SG54TAPE'
EXIT
END /* DO */
WHEN (&DSN EQ &HSM_OFFSITE_TAPE_DSN)
DO
SET &STORGRP ='SG54OFFS'
EXIT
END /* DO */
END /* TAPE ALLOCATION SELECT */
OTHERWISE /* UNEXPECTED DEVICES */
DO
SET &STORGRP ='SG54HSM'
EXIT
END /* DO */
END /* SELECT */
END /* PROC */
Figure 81. Sample storage group ACS code for: backup, migration, dump tapes
/********************************************************************/
/* SETSYS COMMANDS IN THE ARCCMDXX PARMLIB MEMBER THAT DEFINE THE */
/* DFSMSHSM ENVIRONMENT FOR AN SMS-MANAGED TAPE LIBRARY */
/********************************************************************/
/*
SETSYS DUPLEX(BACKUP(Y) MGRATION(Y))
SETSYS SELECTVOLUME(SCRATCH)
SETSYS PARTIALTAPE(MARKFULL)
SETSYS TAPEDELETION(SCRATCHTAPE)
SETSYS BACKUP(TAPE)
SETSYS TAPEMIGRATION(ML2TAPE)
SETSYS TAPESECURITY(RACFINCLUDE EXPIRATIONINCLUDE)
DEFINE DUMPCLASS(ATLHSM -
NODATASETRESTORE NORESET AUTOREUSE -
DISPOSITION(‘AUTOMATE LOCATION’))
/*
You can selectively move data into the ATL, depending on time constraints,
rack limitations and savings, or any number of factors. For example, if you
want to slowly move your data into the ATL, you can start with your
DFSMShsm backup data only and allow natural attrition to take its course.
SETSYS RECYCLEOUTPUT(BACKUP(3590-1))
Alternatively, for fast migration to the ATL, you can specify both BACKUP and
MIGRATION and then command RECYCLE your old volumes.
SETSYS RECYCLEOUTPUT(BACKUP(3590-1),MIGRATION(3590-1))
then
RECYCLE EXECUTE VOLUME(volser)
RECYCLE EXECUTE VOLUME(volser) FORCE
You can also use the RECYCLE command to selectively include or exclude
tape ranges. For example, if you choose to recycle all tapes, regardless of
whether the are backup or migration tapes, into the ATL and are not
concerned with how full they are, you can use the following command:
Or you can recycle only backup tapes less than 30% utilized.
Where, volserF and volserQ are the first and last volsers, respectively, in the
range that you chose to recycle.
The 3490E emulation feature can be used with Magstar 3590 Tape Drives
attached to an A50 or A60 controller installed in a 3590 Model A14
stand-alone solution, or in rack-mounted subsystem solutions.
Note
This feature is not available when the 3590 Model A50 or A60 is installed in
a Magstar 3494 Tape Library.
Note that you have to specify your existing esoteric ESO3480 on the
SETSYS USERUNITTABLE command, even if it is no longer used for
output, to allow your 3480 volumes associated with that esoteric name
to be used for input.
EMUL3490 is the esoteric unit name for our IBM 3590 in 3490
emulation mode.
• What updates do I make to DFSMSrmm?
There are no additional definitions to include in DFSMSrmm. If you do not
have already defined volume pools to DFSMSrmm, you have to define a
new volume pool by adding the following definition in EGDRMMxx
member of PARMLIB:
Where, h is the identifier of the host with the highest priority recall request.
• What if I have many tape drives but I never have tape recall requests
queued up behind each other?
In this instance the TAPERECALLLIMITS would most likely not interrupt
recall processing for a higher priority recall request; it would have already
been satisfied on another tape drive.
TMM is a method of managing tape data sets within the SMS storage
hierarchy. Here is how TMM works:
1. Tape data sets are categorized according to size, pattern of usage, and
other criteria, so that appropriate SMS policies can be assigned to TMM
candidates.
2. Data sets written to tape are intercepted at allocation and, if eligible for
tape mount management, redirected to a system-managed DASD pool.
The pool serves as a staging area for these data sets until they are
migrated to tape by DFSMShsm. The location of the data is transparent to
the application program.
3. During interval migration, DFSMShsm checks the occupancy of the DASD
buffer storage group to ensure that space is available when needed,
migrating data sets to a lower level of the storage hierarchy when they are
no longer required on primary DASD volumes.
4. DFSMShsm eventually moves the data to tape, using single-file format
and data compaction to create full tape cartridges.
5. If an application later requests a data set, DFSMShsm automatically
recalls it from where it resides in the storage hierarchy and allocates it on
primary DASD for access.
This process can significantly reduce tape mounts and the number of
cartridges required to store the data.
VMA can create reports that tell you what are the best management class
options for the TMM candidates, and the amount of primary DASD and ML1
DASD. These reports also show you the additional tape mount activity that
should occur with DFSMShsm as a result of TMM implementation.
/********************************************************************/
/* SETSYS COMMANDS IN THE ARCCMDXX PARMLIB MEMBER THAT DEFINE THE */
/* DFSMSHSM ENVIRONMENT FOR TMM IMPLMENTATION */
/********************************************************************/
/*
SETSYS COMPACT(DASDMIGRATE)
SETSYS SELECTVOLUME(SCRATCH)
SETSYS PARTIALTAPE(REUSE)
SETSYS TAPEDELETION(SCRATCHTAPE)
SETSYS TAPEMIGRATION(ML2TAPE)
SETSYS TAPESECURITY(RACFINCLUDE)
ADDVOL HSM21D UNIT(3390) MIGRATION(MIGRATIONLEVEL1 -
NOSMALLDATASETPACKING) -
THRESHOLD(90)
/*
ADDVOL can be used to add the ML1 volumes that are needed. VMA tells you
how much additional ML1 DASD space is needed for TMM implementation.
In most of the installations there are a limited amount of native drives which
limits the number of DFSMShsm tasks that can be run concurrently. The
unique VTS capability of having up to 64 virtual drives available can help to
circumvent drive-peak bottlenecks for those environments.
DFSMShsm data can be put into a VTS, specifying the correct values to
some parameters that can affect DFSMShsm performance.
Using a high value for backup tapes helps you minimize the number of
virtual volumes. Using a lower value for migration tapes does not produce
the expected results in speeding up the recall processing time, so it is
recommended to specify the same values used for native drives.
• Select what type of scratch pool to use:
SETSYS SELECTVOLUME(SCRATCH)
SETSYS PARTIALTAPE(MARKFULL)
SETSYS TAPEDELETION(SCRATCHTAPE)
Using a global scratch pool, you benefit from a fast mount time by using
the fast-ready attribute for the scratch category. The MARKFULL
parameter does not mean a waste of space using VTS, because the
stacked volume contains only the written data of each logical volume
copied and the same applies to the TVC.
• Reduce the tape spanning:
SETSYS TAPESPANSIZE(800)
Using a high value reduces tape spanning. This will reduce the number of
virtual volumes that need to be recalled to satisfy DFSMShsm
recall/recover requests. With VTS, you can be very generous with the
For more information on how to use VTS, see IBM Magstar Virtual Tape
Server: Planning, Implementing and Monitoring, SG24-2229.
The EXPIREBV command causes DFSMShsm to search the BCDS for old,
unwanted backup versions and to delete them (or just display information
about them) based on the attributes in the management class for each data
set.
You can use the EXPIREBV command with the DISPLAY parameter to see
which backup copies are eligible for deletion. The following command places
a list of the eligible backup versions into the specified output data set:
DISPLAY OF BACKUP VERSIONS ELIGIBLE FOR EXPIRATION AT 19:59:13 ON 2000/10/16 FOR SYSTEM=SC63
The output from the EXPIREBV EXECUTE command can be found in the
backup activity log (for more about activity logs, see 5.7.2, “Activity logs” on
page 266).
When you initially use EXPIREBV, you must issue it twice to delete unwanted
versions. The first time you issue the EXPIREBV command, DFSMShsm
determines that the user data set was scratched and stores the date of the
first EXPIREBV execution as the scratch date in the DFSMShsm BCDS data
set record (MCB). You can look at this date by using the following command:
In the data set pointed to by the OUTDATASET parameter, you will see the
MCB record for the data set (see Figure 85). The date EXPIREBV determined
as the date on which the user data set was deleted is at offset X’48’. A
subsequent EXPIREBV EXECUTE command deletes the unwanted backup
versions when the requested time has passed. The requested time is
+0000 C8E2D4F1 F4C4FFFF 00000000 00000000 16104368 0098210F 40007FF8 00508000 *HSM14D 8 *
+0040 00000000 00000000 0098211F 00000000 C8E2D44B C2C1C3D2 4BE3F4F3 F1F0F1F6 * HSM.BACK.T431016*
+0060 4BD4C8D3 E3E2E3F4 4BC3F2E2 D4E2E4D7 4BC9F8F2 F1F04040 40404040 C8E2D4F1 *.MHLTST4.C2SMSUP.I8210 HSM1*
+0080 F4C3C200 0098210F 00000002 00000000 C8E2D44B C2C1C3D2 4BE3F5F6 F0F9F1F6 *4CB HSM.BACK.T560916*
+00A0 4BD4C8D3 E3E2E3F4 4BC3F2E2 D4E2E4D7 4BC9F8F2 F1F04040 40404040 C8E2D4F1 *.MHLTST4.C2SMSUP.I8210 HSM1*
The EXPIREBV command allows you to delete all expired backup versions
from all of your backup volumes. You can also delete the backup versions of
specific data sets by issuing the BDELETE or HBDELETE commands.
The following command can delete the specified backup version nn of dsname:
Optionally, you may want to specify the maximum number of ML2 partial
tapes you may have in your HSMplex that are not associated with an ML2
output task. Use the ML2PARTIALSNOTASSOCIATEDGOAL parameter of
the SETSYS command, as explained in 2.7, “Space management” on
page 101.
Here we describe the most common commands you can use to consolidate
the DFSMShsm-owned tape data. The RECYCLE command can be issued
from an operator console or by using the HSENDCMD command. The
HSENDCMD command allows you to issue the RECYCLE command from
any TSO user ID that you have authorized with the AUTH command.
• How do I display the tape volumes eligible for recycle?
The DISPLAY parameter of the RECYCLE command allows you to see
which tapes have a low percentage of valid data. This percentage may
have been specified with the SETSYS ML2RECYCLEPERCENT
parameter, the SETSYS RECYCLEPERCENT, or the PERCENTVALID
parameter of the RECYCLE command.
You can use any of the following statements, depending on the set of
tapes that you want to recycle:
(a) displays all of the eligible tapes
(b) displays both daily and spill backups eligible to recycle
(c) displays only daily backup tapes eligible to recycle
(d) displays the spill volumes eligible to recycle
(e) displays only ML2 tapes eligible to recycle
If all of your tape volumes are in automated tape libraries, the output from
the TAPELIST or VERIFY parameters will benefit you as a reporting tool.
• How do I start the recycle process?
The EXECUTE parameter of the RECYCLE command specifies that
DFSMShsm should recycle a specific tape volume, a category of backup
volumes, tape ML2 volumes, or a combination of all volumes. Volumes
that meet the eligibility criteria are recycled.
The PERCENTVALID parameter specifies the maximum percentage of
valid data that a volume can have and still be eligible for recycling.
The following command causes DFSMShsm to recycle all eligible ML2
tapes that contain 25% or less valid data:
Using our example, during the RECYCLE process you may empty 44 ML2
tapes, but mount 4 scratch tapes for output. This results in the net 40
tapes, and so RECYCLE processing will quiesce after processing a total of
44 tapes. The LIMIT parameter is subject to the number of tapes allowed
by the PERCENTVALID parameter.
You can find a detailed example of migrating from 3480, 3480x, 3490 and
3490E tapes to IBM 3590 Magstar emulating 3490E tapes in 4.6, “Emulating
3490 cartridges on a 3590 device” on page 230.
If you issue a recycle command against all ML2 tape volumes and SETSYS
MAXRECYCLETASKS is set to 15, DFSMShsm processes 15 tapes at the
same time, requiring 30 tape drives.
DFSMShsm can use three data buffers for RECYCLE processing, with the
following exceptions:
• The FORCE parameter is specified on the RECYCLE command; or
The following command moves all DASD data sets that are on level 0 volume
to other level 0 volumes.
When processing SMS-managed data sets, you cannot direct the movement
to a specific volume. Although you can specify a volume, SMS-processing
determines the actual volume to which the data set is moved. The process for
moving data sets first migrates the data sets to ML1 volumes and then recalls
them to level 0 volumes. At the beginning of processing for MIGRATE
VOLUME commands, DFSMShsm obtains a list of the management classes
active in the system. As it processes each data set, DFSMShsm checks the
value specified for the data set which the COMMAND OR AUTO MIGRATE
attribute in the management class. If the value of the attribute is BOTH,
DFSMShsm processes the data set.
In recalling each data set, DFSMShsm invokes the ACS selection services of
DFSMSdfp. If SMS is active, the ACS routine may return to DFSMShsm a
storage class and, optionally, a management class. If the ACS routine returns
a storage class, DFSMShsm passes the data set name, along with its storage
class name and management class name (if present), to DFSMSdss, which
interfaces with DFSMSdfp to select a volume to receive the data set.
To prevent SMS from selecting the source volume as the target volume for
the recall, change the status attribute for the volume in the storage group.
Suitable status attributes are DISABLENEW and QUIESCENEW.
You use the following command to empty a specific volume from your ML1
pool:
The data sets that are in need of backup (that were migrated but are awaiting
automatic backup) and the backup versions that the BACKDS command
created are not moved off the volume. When you are planning to remove an
ML1 volume, you must first run AUTOBACKUP on the primary host, and then
execute the FREEVOL AGE(0) command.
After emptying the ML1 volume, you should delete the volume, using the
following command:
You do not have to reorganize the CDSs for performance reasons. The
occurrence of control interval (CI) or control area (CA) splits in the CDSs
does not affect DFSMShsm performance. Figure 86 shows the anatomy of a
CDS. For the MCDS, mid-section records are generated for each migrated
data set or VSAM component. For the BCDS, mid-section records are
generated for each backup copy.
Mid Free
Space(50)
MCDS Section
BCDS
Back Free
Section Space(0)
The mid-section of the CDS typically has more updates than the front section
or the back section. Allocating the CDSs with free space probably causes a
waste of space, as much of this free space will never be used because of the
way DFSMShsm works.
Figure 88 to Figure 91 on page 262 show the sample JCL for preparing CDSs
merge (you can also find this JCL in SYS1.SAMPLIB(ARCTOOLS).
After the above job is run, if any duplicate keys are found, handle them as
follow:
• MCDS duplicate records
MCDS duplicates that need to be considered when merging a second
host's CDSs into a copy of a first host's CDSs:
- Migrated data set records (type 0): Locate identical data sets and
delete the migrated data sets on the second host BEFORE merging the
MCDSs so that the MCA records get deleted and the migration space is
invalidated.
To alleviate this situation, issue the following commands, which are based on
a DFSMShsm started task name of HSM1:
1. F HSM1,SETSYS EMERGENCY
2. F HSM1,BACKVOL CONTROLDATASETS
3. F HSM1,SETSYS NOEMERGENCY
4. F HSM1,RELEASE ALL
If your journal data set fills frequently, it is undersized for the amount of
DFSMShsm activity that it processes. To remedy this situation, increase the
size of the journal data set:
1. F HSM1,SETSYS EMERGENCY
When the ARCPDOX trace log data set becomes full, and the trace log data
set names are swapped, any previously recorded data in the current
ARCPDOX data set is overlaid.
You need to copy the trace data in the ARCPDOY trace log data set to tape or
DASD before the ARCPDOX data set becomes full in order to archive it. The
PDA trace log data sets are automatically swapped when DFSMShsm is
started. To switch the log data sets before the ARCPDOX data set is filled,
issue the SWAPLOG PDA command. You can save the PDA trace data each
time message ARC0037I is issued. This practice provides a sequential
history of trace data over time so that the data is available when needed for
resolving problems; it is similar to how you handle your SMF data.
F DFSMSHSM,SETSYS PDA(ON)
F DFSMSHSM,SWAPLOG PDA
Figure 92 shows sample JCL to create a GDG to archive the PDA trace data.
You need to change the GDG name to correspond to the name you select for
the starter set.
Figure 93 shows sample JCL for copying the trace log data set to tape as a
GDS for archive purposes. The JCL must be changed to correspond to the
values you selected for your DFSMShsm starter set and your installation
standards.
When the PDA trace log switch occurs, DFSMShsm issues message
ARC0037I. You can use an automation product to trap this message and
automatically submit a copy job to archive the PDA trace data.
The formatter can be used to collect and print data you select with the
different options. Use the trace formatter facility to:
• Translate trace records into a readable format
• Edit raw trace data
• Select records based on your specific criteria
The selection options allows you to narrow your trace data search. Here are
some examples on different selections.
Where:
• Hmcvthost: DFSMShsm host ID from the DFSMShsm startup PROC
statement, preceded by H
• function: either ABACKUP, ARECOVER, BAKLOG, CMDLOG, DMPLOG,
or MIGLOG
• agname: Aggregate group name (only present if function is ABACKUP or
ARECOVER)
• Dyyddd: Year and day of allocation, preceded by D
• Thhmmss: Hour, minute, second of allocation, preceded by T
Several methods can be used to check the activity logs, such as browsing or
printing or processing them with a CLIST.
F DFSMSHSM,SWAPLOG
ARC0020I ******************************
ARC0027I DFSMSHSM LOG SWITCHED
ARC0020I ******************************
You can run the HSMLOG and HSMEDIT jobs to process the HSMLOGY data
set. The HSMLOG and HSMEDIT jobs are in the HSM.SAMPLE.CNTL data
set.
Since the information stored in the DFSMShsm log data sets is also present
in the activity logs, in the PDA trace log data sets, and in SMF records, IBM
recommends disabling the log to improve performance. Some obsolete,
out-dated, independent software vendor (ISV) products continue to use the
DFSMShsm logs.DFSMShsm. In that case, you will need to use the logs.
To generate an SVC dump, enter the DUMP command at the system console:
DUMP COMM=(text)
Where, the text you enter is the title you want the dump to have. You are then
prompted with an IEE094D message, which asks you to specify the operands
for the DUMP command. We suggest you reply to the IEE094D message with
these parameters:
R id,JOBNAME=(HSM54),SDATA=(LSQA,ALLNUC,NUC,CSA,LPA,PSA,SQA,
RGN,SUM,SWA,GRSQ,TRT),END
Figure 96 contains sample JCL to copy an SVC dump data set to tape.
To ensure data integrity, DFSMShsm uses numerous data set records to track
individual data sets. These records are contained in the:
• Master catalog, which is a list of data sets for the entire system
• User catalog, which is a list of data sets accessible from that catalog
• Journal, which keeps a running record of backup and migration
transactions
• SDSP data sets on migration volumes
• MCDS, which is an inventory of migrated data sets and migration volumes
• BCDS, which is an inventory of backed up data sets and volumes, dump
ed volumes, and backed up aggregates
• OCDS, which contains a tape table of contents (TTOC) inventory of
migration and backup tape volumes
The following example shows how to instruct DFSMShsm to audit the BCDS
and fix any errors:
In this chapter we explain how to use the DFSMShsm commands and the
DFSMS Optimizer HSM Monitor/Tuner to collect information about
DFSMShsm processing and monitor DFSMShsm activity.
Many options are available for each of the LIST commands; we do not show
each and every variation. The commands that we show cover each area of
DFSMShsm for which LIST gathers information. Some of the commands use
only the MCDS or BCDS to gather information, whereas others use both the
MCDS and BCDS. You may want to investigate the commands further to
determine whether there are additional parameters that suit your installation
requirements.
If you want to obtain a printed listing, use the following command to direct
the output to your SYSOUT class associated with print:
If you want to send the output to a DASD data set, use the following
command:
When directing the output to DASD, you must specify the fully qualified
data set name. If the output data set does not exist, DFSMShsm
dynamically allocates it. If the specified output data set exists, DFSMShsm
appends the output to the end of the data set.
In all of our examples, the output is directed to a DASD data set.
• How can I list all of the backup volumes that I have created through
DFSMShsm?
If you issue the following command, you get a list of all backup volumes
that exist and are known in your installation:
VOLSER DEVICE BACKUP VOL TOTAL FREE THRESH LAST BACKUP PSWD EXP RACF EMPTY IDRC DUPLEX PCT
TYPE TYPE FULL TRACKS TRACKS DATE
TST102 3590-1 DAILY NO ****** ****** *** 00/09/13 NO YES NO NO Y *NONE* 1.1
TST104 3590-1 DAILY NO ****** ****** *** 00/09/13 NO YES NO NO Y *NONE* 1.5
TST107 3590-1 DAILY NO ****** ****** *** 00/09/13 NO YES NO NO Y *NONE* 4.2
TST110 3590-1 DAILY NO ****** ****** *** 00/09/13 NO YES NO NO Y *NONE* 1.1
----- END OF - BACKUP VOLUME - LISTING -----
DATASET NAME MIGRATED LAST REF MIGRATED TRKS QTY TIMES DS SDSP QTY
LAST MIG
ON VOLUME DATE DATE ALLOC 2K BLKS MIG ORG DS 16K
BLKS VOLUME
• If I want to list all of the data sets that have been either migrated or
recalled, which command do I use?
If you want to obtain a list of all the data sets that have an entry in the
MCDS, even though they may already have been recalled to a primary
volume, issue the following command:
- DFSMSHSM CONTROL DATASET - MIGRATED DATASET-- LISTING ----- AT 13:35:34 ON 00/10/16 FOR SYSTEM=SC63
DATASET NAME MIGRATED LAST REF MIGRATED TRKS QTY TIMES DS SDSP QTY LAST MIG
ON VOLUME DATE DATE ALLOC 2K BLKS MIG ORG DS 16K BLKS VOLUME
• Can I list information recorded in the BCDS about data sets that have
been backed up and use the LEVEL parameter to restrict the amount
of output?
If you were to use this command, you would list out all data sets that have
the high-level qualifier HSMACT and have an entry in the BCDS:
The output that is written to a DASD data set looks like Figure 100:
- DFSMSHSM CONTROL DATASET - MIGRATED DATASET-- LISTING ----- AT 16:21: 54 ON 98/07/30 FOR SYSTEM=SC54
DATASET NAME MIGRATED LAST REF MIGRATED TRKS QTY TIMES DS SDSP QTY
LAST MIG
ON VOLUME DATE DATE ALLOC 2K BLKS MIG ORG DS 16K
BLKS VOLUME
Figure 100. Sample listing output for migrated data set level in ML1 volumes
• How can I list the contents of a primary volume at the time the last
incremental backup was taken?
This information is taken from the backup VTOC copy data sets. The
following command allows you to list out the contents of the latest
incremental backup for primary volume HSM14A:
HSEND LIST PVOL(HG6600) BCDS BACKUPCONTENTS ODS(MHLRES5.DSN6)
-- DFSMSHSM CONTROL DATASET -PRIMARY VOLUME-BCDS-- BCONTENTS --- AT 16:42:54 ON 98/07/30 FOR SYSTEM=SC54
CONTENTS OF BACKUP VTOC COPY # 00 FOR PRIMARY VOLUME HSM14A
DATASET NAME ORG MULTI CREATED REF ERENCED EXP DATE RACF PSWD CHANGED
HSM.BCDS VS *** 98/07/23 98/07/29 00/00/00 *** *** YES
HSM.BCDS.DATA VS *** 98/07/23 98/07/29 00/00/00 *** *** YES
HSM.BCDS.INDEX VS *** 98/07/23 00/00/00 00/00/00 *** *** NO
HSM.MCDS VS *** 98/07/23 98/07/29 00/00/00 *** *** YES
HSM.MCDS.DATA VS *** 98/07/23 98/07/29 00/00/00 *** *** YES
HSM.MCDS.INDEX VS *** 98/07/23 00/00/00 00/00/00 *** *** NO
HSM.OCDS VS *** 98/07/23 98/07/29 00/00/00 *** *** YES
HSM.OCDS.DATA VS *** 98/07/23 98/07/29 00/00/00 *** *** YES
HSM.OCDS.INDEX VS *** 98/07/23 00/00/00 00/00/00 *** *** NO
HSMACT.H1.BAKLOG.D98208.T182753 PS NO 98/07/27 98/07/27 00/00/00 NO NO YES
HSMACT.H1.BAKLOG.D98209.T105715 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
HSMACT.H1.BAKLOG.D98210.T154052 PS NO 98/07/29 98/07/29 00/00/00 NO NO YES
HSMACT.H1.BAKLOG.D98210.T165212 PS NO 98/07/29 98/07/29 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98204.T183225 PS NO 98/07/23 98/07/23 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98208.T182753 PS NO 98/07/27 98/07/27 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98208.T200850 PS NO 98/07/27 98/07/27 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98209.T104822 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98209.T105715 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98209.T134759 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
HSMACT.H1.CMDLOG.D98210.T165212 PS NO 98/07/29 98/07/29 00/00/00 NO NO YES
HSMACT.H1.DMPLOG.D98204.T183225 PS NO 98/07/23 98/07/23 00/00/00 NO NO YES
HSMACT.H1.DMPLOG.D98209.T104822 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
HSMACT.H1.MIGLOG.D98209.T105715 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
HSMACT.H1.MIGLOG.D98209.T132129 PS NO 98/07/28 98/07/28 00/00/00 NO NO YES
MHLTST4.COMPINFO PS NO 98/07/29 98/07/29 00/00/00 NO NO NO
MHLTST4.C2SYSBS PS NO 98/07/29 98/07/29 00/00/00 NO NO NO
MHLTST4.C3RECYCL PS NO 98/07/29 98/07/29 00/00/00 NO NO NO
MHLTST4.SC47.SPFLOG1.LIST PS NO 98/07/29 98/07/29 00/00/00 NO NO NO
MHLTST4.SYSOUT PS NO 98/07/29 98/07/29 00/00/00 NO NO NO
----- END OF - PRIMARY VOLUME - LISTING -----
The output that is written to the DASD data set looks like Figure 102:
--- DFSMSHSM CONTROL DATASET -DUMP CLASS-BCDS--- LISTING --- AT 13:45:06 ON 00/10/16 FOR SYSTEM=SC63
The output that is written to the DASD data set looks like Figure 103:
- DFSMSHSM CONTROL DATASET - PRIMARY VOLUME-BCDS--- ALLDUMPS----- AT 17 :53:26 ON 98/07/30 FOR SYSTEM=SC47
DACMC1 00 NO 98/07/29 21:16:24 SYSPLEX2 98/08/11 PLX466 PLX474 PLX495 ****** ****** ****** ****** ******
******
DACMC1 01 NO 98/07/22 21:31:42 SYSPLEX2 98/08/04 PLX243 PLX248 PLX231 ****** ****** ****** ****** ******
******
----- END OF - PRIMARY VOLUME - LISTING -----
• How can I find out which data sets were dumped to a specific dump
volume?
This information is in the dump volume VTOC copy data set that is
created. In the previous example we know that one of the dump volumes
that output from primary volume DACMC1 went to is dump volume
PLX466. Specifying the dump volume volser (PLX466) in the following
command lists out all the data sets in the specified dump volume:
• In the output from the LIST DUMPVOLUME, the dump tape data set
name is given. Can I use this dump tape data set name to restore a
volume outside DFSMShsm?
Yes. Remember that DFSMShsm performs only one volume restore at a
time. You can use the dump tape data set name in a job that invokes
DFSMSdss RESTORE directly.
• How can I list the information about ML1 volumes that is recorded in
the MCDS?
To obtain this information you use the following command:
HSEND LIST ML1 MCDS ODS(MHLRES5.DSN7)
- DFSMSHSM CONTROL DATASET - MIGRATE VOLUME-MCDS--- LISTING ----- AT 14:17:33 ON 00/10/16 FOR SYSTEM=SC63
VOLSER DEVICE VOLUME THRESHOLD FRAG HOSTID AUTO- AUTO SDSP MIN MIGRATED DATE---TIME SPACE-MGMT BUDEV DUMP
TYPE TYPE HI--LOW INDX MIG--BACK-DUMP RECL AVAIL AGE DS---TRKS LAST MIGRATED TYPE/AGE CATGY CLASS
HG661A 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG661B 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG661C 3390 L1-OV 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG661D 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG661E 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG661F 3390 LEV 1 100 *** .026 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG6620 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG671A 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG671B 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG671C 3390 L1-OV 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG671D 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG671E 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG671F 3390 LEV 1 100 *** .000 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
HG6720 3390 LEV 1 100 *** .012 **** **** NONE *** NO *** 0000 000000 00/00/00 00:00 *** *** **** ********
----- END OF - MIGRATE VOLUME - LISTING -----
The output that is written to the data set looks like Figure 106:
- DFSMSHSM CONTROL DATASET - PRIMARY VOLUME-MCDS--- LISTING ----- AT 14:22:28 ON 00/10/16 FOR SYSTEM=SC63
VOLSER DEVICE VOLUME THRESHOLD FRAG HOSTID AUTO- AUTO SDSP MIN MIGRATED DATE---TIME SPACE-MGMT BUDEV DUMP
TYPE TYPE HI--LOW INDX MIG--BACK-DUMP RECL AVAIL AGE DS---TRKS LAST MIGRATED TYPE/AGE CATGY CLASS
HG6605 3390 P SMS 080 001 .000 **** **** **** *** *** *** 0000 ****** 00/08/29 02:20 MIG *** **** ********
----- END OF - PRIMARY VOLUME - LISTING -----
The output that is written to the data set looks like Figure 107:
LIST TTOC ODS(MHLRES5.TTOC)
- DFSMSHSM CONTROL DATASET - TAPE VOLUME TTOC - LISTING - AT 14:24:05 ON 00/10/16 FOR SYSTEM=SC63
VOLSER UNIT VOL REUSE VALID PCT VOL RACF PREV SUCC NUM ONE ALT LIB STORAGE
NAME TYPE CAPACITY BLKS VALID STATUS VOL VOL REC FILE VOL GROUP
TST105 3590-1 ML2 01966000 00000000 000 PART NO *NONE* *NONE* 010 YES *NONE* LIB1 SGLIB1
TST109 3590-1 ML2 01966000 00000000 000 PART NO *NONE* *NONE* 010 YES *NONE* LIB1 SGLIB1
TST102 3590-1 D(01) 01966000 00003094 001 PART NO *NONE* *NONE* 001 YES *NONE* LIB1 SGLIB1
TST104 3590-1 D(01) 01966000 00000000 000 PART NO *NONE* *NONE* 001 YES *NONE* LIB1 SGLIB1
TST107 3590-1 D(01) 01966000 00000000 000 PART NO *NONE* *NONE* 001 YES *NONE* LIB1 SGLIB1
TST110 3590-1 D(01) 01966000 00000000 000 PART NO *NONE* *NONE* 001 YES *NONE* LIB1 SGLIB1
----- END OF - TAPE VOLUME TTOC - LISTING -----
• How can I list the data sets that have been copied to a particular
volume?
In the output from the previous command, one of the volumes listed has a
volser of TST102. If you specify the TST102 volser and issue the following
command, you will get data set information returned to you:
HSEND LIST TTOC(TST102) ODS(MHLRES5.TTOC1)
The output that is written to the data set looks like Figure 108:
LIST TTOC(TST102) ODS(MHLRES5.TTOC1)
- DFSMSHSM CONTROL DATASET - TAPE VOLUME TTOC - LISTING - AT 14:41:25 ON 00/10/16 FOR SYSTEM=SC63
VOLSER UNIT VOL REUSE VALID PCT VOL RACF PREV SUCC NUM ONE ALT LIB STORAGE
NAME TYPE CAPACITY BLKS VALID STATUS VOL VOL REC FILE VOL GROUP
TST102 3590-1 D(01) 01966000 00003094 001 PART NO *NONE* *NONE* 001 YES *NONE* LIB1 SGLIB1
DATA SET NAME NUM BLOCKS RELATIVE FBID VSAM RACF LAST REF DATE EXP DATE
HSM.BACK.T354713.HGPARK.S0000.J0256 000442 000001 NO NO ******** ********
HSM.BACK.T415713.HGPARK.S0001.J0256 000442 000002 NO NO ******** ********
HSM.BACK.T435713.HGPARK.S0002.J0256 000442 000003 NO NO ******** ********
HSM.BACK.T445713.HGPARK.S0003.J0256 000442 000004 NO NO ******** ********
HSM.BACK.T465713.HGPARK.S0004.J0256 000442 000005 NO NO ******** ********
HSM.BACK.T485713.HGPARK.S0005.J0256 000442 000006 NO NO ******** ********
HSM.BACK.T495713.HGPARK.S0006.J0256 000442 000007 NO NO ******** ********
----- END OF - TAPE VOLUME TTOC - LISTING -----
The following command generates a list of ML2 volumes that were taken
away from another function because the recall function needed a data set
on the volume:
The following command generates a list of ML2 partial tapes that are
available for an initial allocation, and are not currently associated for
output by any migration or recycle tasks
• How can I obtain a list of all DFSMShsm users that have been
authorized by the DFSMShsm AUTH command?
Use the following command to quickly identify users that should or should
not have DFSMShsm authorization:
HSEND LIST USER ODS(MHLRES5.DSN9)
The output that is written to the data set looks like Figure 109:
- DFSMSHSM CONTROL DATASET - USER-- LISTING ----- AT 19:06:22 ON 00/10/13 FOR YSYTEM=SC63
USERID AUTH
BYRNEF CNTL
HAIMO CNTL
HGPARK CNTL
KOHJI CNTL
MHLRES5 CNTL
----- END OF - USER - LISTING -----
You can also issue the QUERY command from a REXX program.
When you issue the QUERY command you must also specify one of the
optional parameters in order to produce any output. It is also possible to
place the QUERY command in your DFSMShsm startup procedure, but
remember that some of the information that may be displayed may be
incorrect as DFSMShsm is not yet fully initialized.
• Where will the output from the command be returned?
If you issue the HSEND command, the output is directed back to your TSO
terminal and to the DFSMShsm log. If you issue the MODIFY command,
the information is returned to the system log.
F HSM1, Q IMAGE
• How can I list what the current ABARS control parameters that are in
effect?
If you want to query the current DFSMShsm control parameters that apply
to aggregate backup and recovery, issue the following command:
F HSM1,Q AB
The same command gives the following result when automatic functions
are not in progress
To list out all backup parameters and additionally the daily backup
volumes, issue the following command:
F HSM1,QUERY BACK(DAILY)
The following command lists all requests associated with user MHLRES5
F HSM1,Q USER(MHLRES5)
Note:
If you omit the user ID, DFSMShsm lists requests for all users.
Note
ML2 volumes that are currently selected by recycle are not displayed.
• Is it possible to display the non-SMS recall pools that have been set
up at my installation?
If you are using recall pools, issue the following command to interrogate
the recall pool environment:
F HSM1,QUERY P
• What command can I use to show the non-SMS data sets that might
not be migrating because the SETMIG command has been used?
For data sets that are being prevented from migrating because a SETMIG
LEVEL(hlq) command has been issued, use the following command:
F HSM1,QUERY RET
Note
If we had omitted the volser, DFSMShsm would have returned this
information for all non-SMS primary and ML1 volumes. Additionally no
ARC0101I message would be issued.
F HSM1,Q STAR
• Is there a quick way that I can check on the DFSMShsm activity that
has taken place today?
DFSMShsm keeps track of activity on a daily basis in the daily statistics
record (DSR). To display the information at any time throughout the day,
issue the following command:
F HSM1,Q STAT
• How can I display the non-SMS volume pools that I have defined?
Issue the following command to see the volume pool information:
F HSM1,Q VOLUMEPOOL
Note
The output excludes requests generated as a result of primary and
secondary space management, automatic backup and automatic dump.
In this section we show you several REPORT commands that you can use, to
give you an idea of the type of information that is available. We also introduce
utilities in SYS1.SAMPLIB(ARCTOOLS).
SETSYS MIGRATIONCLEANUPDAYS(14 7)
You need to consider over which time period you want to keep statistics so
you can prevent deleting needed information.
• Where does DFSMShsm get its information from for the daily
statistics report?
DFSMShsm obtains its information from a record in the MCDS called the
daily statistics record (DSR). These records are written to the MCDS each
hour. Any activity in the hosts, other than the host from which the REPORT
command is issued, since the last update is not reported.
• Where does DFSMShsm get its information from for the volume
statistics report?
DFSMShsm obtains its information from a record in the MCDS called the
volume statistics record (VSR). These records are written to the MCDS
each hour. Any activity in the hosts, other than the host from which the
REPORT command is issued, since the last update is not reported.
• How many REPORT commands can I issue at any one time?
DFSMShsm allows only one REPORT command to run at a time.
• Where can I send the output of the REPORT command?
The REPORT command supports direction of the output to either a
SYSOUT class or to an output data set. If you want to obtain a printed
listing, use the following command to direct the output to your SYSOUT
class associated with print:
REPORT request SYSOUT(class)
When directing the output to DASD, you must specify the fully qualified
data set name. If it does not exist, DFSMShsm dynamically allocates it. If it
does exist and has the correct attributes, DFSMShsm appends the output
to the end of the data set.
• How can I obtain a summary of all function-related activity that has
taken place today?
Issue the following command:
HSEND REPORT DAILY FUNCTION ODS(MHLRES5.DAILY.STATS)
The output that is written to the data set looks like this:
STARTUPS=000, SHUTDOWNS=000, ABENDS=000, WORK ELEMENTS PROCESSED=000002, BKUP VOL RECYCLED=00000, MIG VOL RECYCLED=00000
DATA SET MIGRATIONS BY VOLUME REQUEST= 0000000, DATA SET MIGRATIONS BY DATA SET REQUEST= 00000, BACKUP REQUESTS= 0000000
EXTENT REDUCTIONS= 0000000 RECALL MOUNTS AVOIDED= 00000 RECOVER MOUNTS AVOIDED= 00000
FULL VOLUME DUMPS= 000000 REQUESTED, 00000 FAILED; DUMP COPIES= 000000 REQUESTED, 00000 FAILED
FULL VOLUME RESTORES= 000000 REQUESTED, 00000 FAILED; DATASET RESTORES= 000000 REQUESTED, 00000 FAILED
ABACKUPS= 00000 REQUESTED,00000 FAILED; EXTRA ABACKUP MOUNTS=00000
DATA SET MIGRATIONS BY RECONNECTION = 000000, NUMBER OF TRACKS RECONNECTED TO TAPE = 00000000
MIGRATION
PRIMARY - LEVEL 1 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
SUBSEQUENT MIGS 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
PRIMARY - LEVEL 2 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
RECALL
LEVEL 1 - PRIMARY 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
LEVEL 2 - PRIMARY 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
DELETE
MIGRATE DATA SETS 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
PRIMARY DATA SETS 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
BACKUP
DAILY BACKUP 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
SUBSEQUENT BACKUP 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
DELETE BACKUPS 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
RECOVER
BACKUP - PRIMARY 0000000 00000000 000000000K 00000000 000000000K 000000 00000 00000 00000 0000 00000 00000 00000
RECYCLE
BACKUP - SPILL 0000000 00000000 00000000 000000 00000 00000 00000 0000 00000 00000 00000
MIG L2 - MIG L2 0000000 00000000 00000000 000000 00000 00000 00000 0000 00000 00000 00000
The header of the REPORT output contains the number of mounts saved
by RECALL and RECOVER. This information is useful for addressing the
changes in mounts when using larger capacity tapes like the Magstar.
The output is similar to the DSR. The difference is that you now get
information at a function level:
- A function summary for the period July 24 to July 31 inclusive
- A function summary report totaling all activity for the requested period
• How do I request information detailing the statistics for a particular
function?
The options that are available to you on the FUNCTION parameter are:
- BACKUP
- DELETE
- MIGRATION
- RECALL
- RECOVER
- RECYCLE
- SPILL
If you were to issue the following command you would obtain a report
detailing the data sets that have been backed up to daily volumes:
HSEND REPORT DAILY FUNCTION(BACKUP) ODS(MHLRES5.BACKUP.REPORT)
To specify that you want the statistics for a specific volume, use the
following command:
HSEND REPORT VOLUMES(HSM14B) FUNCTION ODS(MHLRES5.VOL14B.STATS)
We have not shown all the REPORT command parameters. The information
that is available within the DSRs VSRs is enough to give you a good idea of
the activity. You may be able to spot patterns for particular days and
functions, or identify unusually high activity against specific volumes and take
some action to spread the work more evenly.
In this section we show how you can produce an output data set that can later
be used as input to a report creation package.
• How do I invoke the DCOLLECT function?
DCOLLECT can be called in three ways:
- As part of user JCL, using IDCAMS DCOLLECT
- By directly invoking the ARCUTIL utility, using JCL
- By invoking a user-written program that accesses the ARCUTIL module
• What is ARCUTIL?
ARCUTIL is a DFSMShsm-related program that you can use to capture a
copy of DFSMShsm-specific information.
• What is the relationship between ARCUTIL and DCOLLECT?
If DFSMShsm information is requested from within a DCOLLECT batch
job, the ARCUTIL load module is called, almost transparent to the end
user. The parameters, although specified in a different place, are the same
as you would use on the DCOLLECT SYSIN DD card.
From this panel you can make selections based on the information that
you want to capture. You can also capture data from your active SMS
environment.
• Is the output that is generated in the format of a report?
No. These options generate a sequential data set that can then be used
as input to a reporting mechanism of your choice.
• Which reporting mechanisms can I use?
You have number of choices. For example, you can:
- Access the records of the DCOLLECT data set with a user-written
program
- Use IBM DFSORT
The HSM Monitor/Tuner part of the host component runs in its own address
space and has a number of responsibilities:
• Provides real-time monitoring of major DFSMShsm functions on multiple
systems
• Periodically transfers DFSMShsm control block information to the
workstation through the communication address space
• Intercepts DFSMShsm messages for automation purposes
• Supports calls to user-written REXX routines when trigger events occur
• Processes commands issued at the console to refresh the REXX control
blocks or to terminate processing of the HSM Monitor/Tuner.
• Provides historical review of DFSMShsm activity by means of a
workstation playback file
• Provides logging functions
The HSM Monitor/Tuner can also anticipate and automate corrective actions
through customizable triggers that invoke host-resident user-written REXX
routines.
New users of the DFSMS Optimizer who have some experience with
DFSMShsm will find valuable information about installing, customizing, and
exploiting the functions of the DFSMS Optimizer Version 1 Release 2
workstation component (DFSMS Optimizer Monitor/Tuner and Charting
Facility). Experienced DFSMS Optimizer users will find useful information
about migrating to this release of the product, using the new functions of the
HSM Monitor/Tuner and REXX routines to automate responses to
DFSMShsm events.
DFSMShsm has many commands and parameters that allow a great deal of
flexibility and options. However, many installations have unique requirements
that are not supported by these commands and parameters that are available.
To support these unique requirements, help may be at hand with DFSMShsm
tuning patches and some functional enhancements provided in the form of
APARs.
Before applying any patches to your system you must take the following into
account:
• You must be familiar with the DFSMShsm PATCH command.
• To check for any errors when using the PATCH command, you must
specify the VERIFY parameter.
• To see the output from a PATCH command, specify the ODS parameter.
Following are some basic things you may need to know about using patches.
• What does the PATCH command do?
The PATCH command changes storage within the DFSMShsm address
space. You can identify the storage location to be changed with an
absolute address or a qualified address.
• Where can I find comprehensive information about tuning patches?
Refer to the OS/390 DFSMShsm Implementation and Customization
Guide, GC35-0385.
• Where can I find the full documentation for the DFSMShsm PATCH
command?
This command is fully documented in the OS/390 DFSMShsm Diagnosis
Guide, LY35-0111.
You can use this command in conjunction with the previous patch
command.
• How can I determine why my SMS-managed data sets were not
processing during automatic migration or backup?
This information is recorded in DFSMShsm message ARC0734I. If you
want to display this message for every SMS-managed data set during
migration, issue the following command:
• How can I change the RACF Facility class user ID for the console
operator's terminal?
To change the user ID to something other than the default of OPER issue
the following command, where userid is the user ID you want to change it
to:
• How can I handle independent software vendor (ISV) data in the data
set VTOC entry?
The 4-byte area beginning at offset X'4E' of the data set VTOC entry is
defined as reserved with DFP releases prior to DFP Version 3. Starting
with DFP Version 3, this field has been assigned meanings. Some
customer accounts, however, have placed data into the field at offset
X'4E', sometimes through ISV software. If altered data set VTOC entries
If you are running with DFP Version 2 on January 1, 1990 and you need to
have the values in the altered DSCBs returned during recalls, then you
need to set on the bit at offset X'431' of the MCVT. You also need to set
the cutover date at offset X'444' of the MCVT. In the following example,
two patches are applied. The first patch allows the data in the altered data
set entries to be returned to the user during recalls. The second patch sets
If automatic backup has run to completion and you want to start automatic
backup functions pertaining to phases 2 and 3, you must issue the
following command:
If automatic backup has run to completion and you want to start automatic
backup functions pertaining to phase 4, you must use the patch for
phase 1. The phase 1 patch enables automatic backup if the volumes have
not been processed in the last 14 hours. If the volumes have been
processed in the last 14 hours and you want to process them now, you
must additionally issue one or both of the following commands:
For an SMS-managed volume:
- Making the interval more frequent than one hour : To start interval
migration twice per hour requires two hosts. Issue the following
patches to start space check on the primary host on the hour and start
space check on the non-primary host at 30 minutes after the hour:
For the primary host, issue command
On the primary and non-primary host, issue the following patches to set
the minimum number of minutes between successive migrations of the
same volume to one-half the hourly value:
To never dump the activity log and instruction data set to a separate tape
volume, issue the following command:
• How can I change the default number of recall requests for a data set
residing on a volume that is in use by recycle or TAPECOPY
processing?
To fail recall if the tape is in use by recycle or tapecopy, issue the following
command:
You can also change the RECALL delay time of 15 minutes. For example,
to change the delay time to 20 minutes, issue the following patch
command:
• How can I change the delay by recall before taking away a needed
ML2 tape from ABACKUP?
When a WAIT-type recall needs an ML2 tape currently in use by
ABACKUP, recall keeps retrying the access to the tape. If ABACKUP is
still using the tape after a delay of ten minutes since recall first found the
tape in use, recall signals ABACKUP to give up the tape.
This change does not require that you change the QNAME.
To provide the needed protection, make sure that you use the same
resource name in each host of an HSMplex. For example, if a 2-host
HSMplex and a 3-host HSMplex share a GRS ring, then apply the same
patches to both systems in the 2-host HSMplex or to all three systems in
the 3-host HSMplex. One HSMplex can use the DFSMShsm-provided
names.
• How can I force UCBs to be obtained each time a volume is space
checked?
This patch causes the DFSMShsm space checking function to re-OBTAIN
each DASD volume’s UCB prior to addressing fields within the structure.
This prevents errors in an environment where dynamic I/O configurations
are occurring and the user does not want to stop and start DFSMShsm.
Issue the following patch command to force the UCBs to be OBTAINed for
each DASD volume processed during space checking:
- To turn off trace entries of rejection during volume selection, issue the
command:
These functional enhancements are all included in DFSMShsm 2.10 but are
listed here for those installations which are at a lower level and wish to
benefit of certain enhancements.
Figure 113. Storage class ACS routine for DFSMShsm data (part 1 of 5)
/*********************************************************************/
/**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**_**/
SELECT /* MAIN LOGIC BLOCKS */
/*********************************************************************/
/* INCUDE ALL STANDARDS ENFORCEMENT LOGIC IN THIS BLOCK, BUT ONLY */
/* IN EITHER THE DATA CLASS OR STORAGE CLASS ACS ROUTINE */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD DATA SET NAMING STANDARD HERE IF USED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD VOLUME FENCING STANDARD HERE IF USED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD DATA SET SIZE STANDARD HERE IF USED */
/*********************************************************************/
/*********************************************************************/
/* INCLUDE ALL DASD ALLOCATIONS IN THIS BLOCK, INCLUDE BOTH DASD */
/* ALLOCATIONS FOR SMS AND NON-SMS */
/*********************************************************************/
WHEN ((&UNIT EQ &VALID_DASD_UNIT)
AND (&ACSENVIR NE &VALID_OPTICAL_ACSENVIR))
SELECT /* DASD DATA ALLOCATION */
/*********************************************************************/
/* EXCLUDE DFSMSHSM RECALLS AND RECOVERIES FROM ACS PROCESSING IF */
/* A STORAGE CLASS IS ALREADY ASSIGNED TO THE DATA SET */
/*********************************************************************/
WHEN ((&ACSENVIR = ′ RECALL′ OR &ACSENVIR =′ RECOVER′ )
AND (&STORCLAS NE ′ ′ ) )
DO
SET &STORCLAS = &STORCLAS
EXIT
END /* DO */
/*********************************************************************/
/* ALLOW SPECIAL USERS TO PLACE SELECTED DATA SETS OUTSIDE OF SMS */
/* BY USING STORCLAS=SCNOSMS AT ALLOCATION */
/*********************************************************************/
WHEN ((&USER EQ &SPECIAL_SCNOSMS_USER)
AND (&STORCLAS EQ ′ SCNOSMS′ ) )
DO
SET &STORCLAS = ′ ′
EXIT
END /* DO */
Figure 114. Storage class ACS routine for DFSMShsm data (part 2 of 5)
/*********************************************************************/
/* TAILOR AND ADD EITHER TEMP AND VIO OR TEMP AND NO VIO HERE IF */
/* TEMP DATA IS SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TEMP SHORT DURATION HERE IF TEMP SHORT DURATION */
/* DATA AND IF IT IS SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TSO LOGON AND LIST DATA SUBTYPES IF THEY HAVE */
/* STORAGE CLASSES DIFFERENT THAN OTHER TSO DATA AND THEY ARE */
/* SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD OTHER TSO SUBTYPES HERE IF THEY ARE SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TEST SUBTYPES HERE IF THEY ARE SMS-MANAGED */
/*********************************************************************/
Figure 115. Storage class ACS routine for DFSMShsm data (part 3 of 5)
Figure 116. Storage class ACS routine for DFSMShsm data (part 4 of 5)
Figure 117. Storage class ACS routine for DFSMShsm data (part 5 of 5)
Figure 118. Management class ACS routine for DFSMShsm data (part 1 of 5)
/*********************************************************************/
/* INCLUDE ALL DASD ALLOCATIONS IN THIS BLOCK */
/*********************************************************************/
WHEN ((&UNIT EQ &VALID_DASD_UNIT)
AND (&ACSENVIR NE &VALID_OPTICAL_ACSENVIR))
SELECT /* DASD DATA ALLOCATION */
/*********************************************************************/
/* EXCLUDE DFSMSHSM RECALLS AND RECOVERIES FROM ACS PROCESSING IF */
/* A MANAGEMENT CLASS IS ALREADY ASSIGNED TO THE DATA SET */
/*********************************************************************/
WHEN ((&ACSENVIR = ′ RECALL′ OR &ACSENVIR =′ RECOVER′ )
AND (&MGMTCLAS NE ′ ′ ) )
DO
SET &MGMTCLAS = &MGMTCLAS
EXIT
END /* DO */
/*********************************************************************/
/* TAILOR AND ADD JCL EXCEPTIONS HERE IF THEY ARE USED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND SET MGMTCLAS FOR ALLOCATION EXCEPTIONS */
/*********************************************************************/
/* REPEAT THIS BLOCK FOR EACH SET OF SPECIAL USERS THAT ARE */
/* ALLOWED TO REQUEST SMS SERVICE THROUGH MGMTCLAS AT ALLOCATION */
/*********************************************************************/
WHEN ((&USER EQ &SPECIAL_MC_USER)
AND (&MGMTCLAS EQ &SPECIAL_MGMTCLAS))
DO
SET &MGMTCLAS = &MGMTCLAS
EXIT
END /* DO */
Figure 119. Management class ACS routine for DFSMShsm data (part 2 of 5)
/*********************************************************************/
/* SYSTEM TEMPORARY DATA SETS DO NOT HAVE MANAGEMENT CLASSES */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TEMP SHORT DURATION HERE IF IT EXISTS */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TSO LOGON AND LIST SUBTYPES IF THEY HAVE */
/* MANAGEMENT CLASSES DIFFERENT THAN OTHER TSO DATA */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD OTHER TSO SUBTYPES HERE IF THEY EXIST */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TEST SUBTYPES HERE IF THEY EXIST
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD BATCH PRODUCTION SUBTYPES HERE IF THEY EXIST */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD ONLINE PRODUCTION SUBTYPES HERE IF THEY EXIST */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND SET MGMTCLAS FOR OTHER SUBTYPES */
/*********************************************************************/
/* REPEAT THIS BLOCK FOR EACH OTHER SUBTYPE THAT HAS A DIFFERENT */
/* MANAGEMENT CLASS */
/*********************************************************************/
WHEN (&DSN EQ &HSM_BKCONT1_DATA_DSN)
DO
SET &MGMTCLAS =′ MC54NMIG′
EXIT
END /* DO */
WHEN (&DSN EQ &HSM_ACT_DATA_DSN)
DO
Figure 120. Management class ACS routine for DFSMShsm data (part 3 of 5)
/*********************************************************************/
/* TAILOR AND ADD SMS-MANAGED TAPE SUBTYPES HERE IF THEY EXIST */
/*********************************************************************/
/*********************************************************************/
/* ADD OTHERWISE FOR TAPE DATA HERE IF EITHER TAPE MOUNT MANAGEMENT */
/* OR SMS-MANAGED TAPE EXIST */
/*********************************************************************/
WHEN (&UNIT EQ &VALID_TAPE_UNIT)
SET &MGMTCLAS = &MGMTCLAS
END /* TAPE ALLOCATION SELECT */
/*********************************************************************/
/* INCLUDE ALL OPTICAL ALLOCATIONS IN THIS BLOCK */
/*********************************************************************/
WHEN (&ACSENVIR EQ &VALID_OPTICAL_ACSENVIR)
SELECT /* OPTICAL ALLOCATIONS */
WHEN (&ACSENVIR EQ &VALID_OPTICAL_ACSENVIR)
SET &MGMTCLAS = &MGMTCLAS
Figure 121. Management class ACS routine for DFSMShsm data (part 4 of 5)
/*********************************************************************/
/* TAILOR AND ADD OPTICAL TRANSITION AND CHANGE FUNCTIONS HERE IF */
/* OPTICAL DATA EXISTS */
/*********************************************************************/
/*********************************************************************/
/* ADD OTHERWISE FOR OPTICAL DATA HERE IF OPTICAL DATA EXISTS */
/*********************************************************************/
Figure 122. Management class ACS routine for DFSMShsm data (part 5 of 5)
Figure 123. Storage group ACS routine for DFSMShsm data (part 1 of 4)
/*********************************************************************/
/* INCLUDE ALL DASD ALLOCATIONS IN THIS BLOCK */
/*********************************************************************/
WHEN ((&UNIT EQ &VALID_DASD_UNIT)
AND (&ACSENVIR NE &VALID_OPTICAL_ACSENVIR))
SELECT /* DASD DATA ALLOCATION */
/*********************************************************************/
/* TAILOR AND ADD GUARANTEED SPACE LOGIC HERE IF GUARANTEED SPACE IS */
/* USED */
/*********************************************************************/
WHEN ((&USER EQ &SPECIAL_SC_USER)
AND (&STORCLAS EQ ′ SC54GRT′ ) )
DO
SET &STORGRP EQ ′ SG54HSM′
EXIT
END
/*********************************************************************/
/* TAILOR AND ADD DATA SET LIST EXCEPTIONS HERE IF THEY ARE USED */
/* INCLUDE SEQUENTIAL STRIPING AND CONCURRENT COPY */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD EITHER TEMP AND VIO OR TEMP AND NO VIO HERE IF */
/* TEMPORARY DATA IS SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TEMP SHORT DURATION HERE IF THERE IS TEMP SHORT */
/* DURATION DATA AND IF IT IS SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD TSO LOGON AND LIST SUBTYPE IF THEY HAVE STORAGE */
/* GROUPS DIFFERENT THAN OTHER TSO SUBTYPES AND THEY ARE SMS-MANAGED */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD OTHER TSO SUBTYPES HERE IF THEY ARE SMS-MANAGED */
/*********************************************************************/
Figure 124. Storage group ACS routine for DFSMShsm data (part 2 of 4)
/*********************************************************************/
/* TAILOR AND SET STORGRP FOR ALL OTHER SMS-MANAGED SUBTYPES */
/*********************************************************************/
WHEN (&DSN EQ &OMVS_DATA_DSN)
DO
SET &STORGRP =′ OPENMVS′
END /* DO */
OTHERWISE /* UNEXPECTED DASD DATA */
DO
SET &STORGRP = ′ SG54HSM′
EXIT
END /* DO */
END /* DASD ALLOCATION SELECT */
/*********************************************************************/
/* INCLUDE ALL TAPE ALLOCATIONS IN THIS BLOCK */
/*********************************************************************/
WHEN (&UNIT EQ &VALID_TAPE_UNIT)
SELECT /* TAPE ALLOCATIONS */
/*********************************************************************/
/* TAILOR AND ADD TAPE MOUNT MANAGEMENT SUBTYPES HERE IF THEY EXIST */
/*********************************************************************/
/*********************************************************************/
/* TAILOR AND ADD SMS-MANAGED TAPE SUBTYPES HERE IF THEY EXIST */
/*********************************************************************/
/*********************************************************************/
/* ADD OTHERWISE FOR TAPE DATA HERE IF EITHER TAPE MOUNT MANAGEMENT */
/* OR SMS-MANAGED TAPE EXIST */
/*********************************************************************/
Figure 125. Storage group ACS routine for DFSMShsm data (part 3 of 4)
/*********************************************************************/
/* TAILOR AND ADD OPTICAL TRANSITION FUNCTION HERE IF OPTICAL DATA */
/* EXISTS */
/*********************************************************************/
/*********************************************************************/
/* ADD OTHERWISE FOR OPTICAL DATA HERE IF OPTICAL DATA EXISTS */
/*********************************************************************/
Figure 126. Storage group ACS routine for DFSMShsm data (part 4 of 4)
Figure 127. Data class ACS routine for DFSMShsm data (part 1 of 3)
/*********************************************************************/
/* END STANDARDS ENFORCEMENT LOGIC BLOCK */
/*********************************************************************/
/*********************************************************************/
/* INCLUDE ALL DASD ALLOCATIONS IN THIS BLOCK, INCLUDE */
/* BOTH DASD ALLOCATIONS TO SMS AND TO NON SMS */
/*********************************************************************/
/*********************************************************************/
/* DO NOT MANAGE DATA FOR SPECIAL USERS THAT HAVE BEEN */
/* GIVEN AUTHORITY TO USE DATACLAS=SCNONSMS ON THEIR JCL */
/* THIS ALLOWS SELECTIVE OVERRIDE OF THE DATA CLASS */
/* ACS LOGIC DURING AN EMERGENCY SITUATION SO DATA THAT */
/* WOULD NORMALLY BE MANAGED BY SMS CAN BE ALLOCATED OUTSIDE OF SMS */
/*********************************************************************/
WHEN (&DATACLAS NE ¢¢)
DO
SET &DATACLAS = &DATACLAS
EXIT
END /* DO */
/*********************************************************************/
/* FOR ANY OTHER DATA TYPES NOT IDENTIFIED FOR */
/* SMS MANAGEMENT, PLACE THEM IN NON SMS STORAGE */
/*********************************************************************/
/*********************************************************************/
/* INCLUDE ALL TAPE ALLOCATIONS IN THIS BLOCK, INCLUDE */
/* BOTH TAPE ALLOCATIONS TO SMS AND TO NON SMS */
/* PRIOR TO SMS MANAGED TAPE OR TAPE MOUNT MANAGEMENT */
/* ALL TAPE ALLOCATION WOULD BE TO NON SMS */
/*********************************************************************/
Figure 128. Data class ACS routine for DFSMShsm data (part 2 of 3)
/*********************************************************************/
/* END TAPE ALLOCATION LOGIC BLOCK */
/*********************************************************************/
/*********************************************************************/
/* INCLUDE ALL OPTICAL ALLOCATIONS IN THIS BLOCK, INCLUDE */
/* LOGIC FROM PRODUCTS LIKE IAFC OR IMAGE PLUS HERE */
/*********************************************************************/
/*********************************************************************/
/* START OPTICAL ALLOCATION LOGIC BLOCK */
/*********************************************************************/
/*********************************************************************/
/* END OPTICAL ALLOCATION LOGIC BLOCK */
/*********************************************************************/
Figure 129. Data class ACS routine for DFSMShsm data (part 3 of 3)
IBM may have patents or pending patent applications covering subject matter
in this document. The furnishing of this document does not give you any
license to these patents. You can send license inquiries, in writing, to the IBM
Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY
10504-1785.
Licensees of this program who wish to have information about it for the
purpose of enabling: (i) the exchange of information between independently
created programs and other programs (including this one) and (ii) the mutual
use of the information which has been exchanged, should contact IBM
Corporation, Dept. 600A, Mail Drop 1329, Somers, NY 10589 USA.
The information contained in this document has not been submitted to any
formal IBM test and is distributed AS IS. The use of this information or the
implementation of any of these techniques is a customer responsibility and
depends on the customer's ability to evaluate and integrate them into the
customer's operational environment. While each item may have been
Any pointers in this publication to external Web sites are provided for
convenience only and do not in any manner serve as an endorsement of
these Web sites.
Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Sun Microsystems, Inc. in the United States and/or other
countries.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States and/or other countries.
SET, SET Secure Electronic Transaction, and the SET Logo are trademarks
owned by SET Secure Electronic Transaction LLC.
The publications listed in this section are considered particularly suitable for a
more detailed discussion of the topics covered in this redbook.
This section explains how both customers and IBM employees can find out about IBM Redbooks,
redpieces, and CD-ROMs. A form for ordering books and CD-ROMs by fax or e-mail is also provided.
• Redbooks Web Site ibm.com/redbooks
Search for, view, download, or order hardcopy/CD-ROM Redbooks from the Redbooks Web site.
Also read redpieces and download additional materials (code samples or diskette/CD-ROM images)
from this Redbooks site.
Redpieces are Redbooks in progress; not all Redbooks become redpieces and sometimes just a few
chapters will be published this way. The intent is to get the information out much quicker than the
formal publishing process allows.
• E-mail Orders
Send orders by e-mail including information from the IBM Redbooks fax order form to:
e-mail address
In United States or Canada [email protected]
Outside North America Contact information is in the “How to Order” section at this site:
http://www.elink.ibmlink.ibm.com/pbl/pbl
• Telephone Orders
United States (toll free) 1-800-879-2755
Canada (toll free) 1-800-IBM-4YOU
Outside North America Country coordinator phone number is in the “How to Order”
section at this site:
http://www.elink.ibmlink.ibm.com/pbl/pbl
• Fax Orders
United States (toll free) 1-800-445-9269
Canada 1-403-267-4455
Outside North America Fax phone number is in the “How to Order” section at this site:
http://www.elink.ibmlink.ibm.com/pbl/pbl
This information was current at the time of publication, but is continually subject to change. The latest
information may be found at the Redbooks Web site.
Company
Address
We accept American Express, Diners, Eurocard, Master Card, and Visa. Payment by credit card not
available in all countries. Signature mandatory for credit card payment.
361
362 DFSMShsm Primer
Index
NOVALIDATE and ABARS 319
overview 12
A PPRC/XRC synergy 324
ABARS
QUERY ABARS command 287
See aggregate backup and recovery support
query ABARS parameters 287
ABARS activity log 266
RACF protection 66
ABR record 275
secondary address space 42, 175
activity log 46
selection data 140
administration
SETSYS ABARSKIP 144
converting level 0 DASD volumes 252
SETSYS ABARSOPTIMIZE 144
converting level 1 DASD volumes 253
startup procedure 42
display tapes for recycle 247
using in batch 127
expire old backup versions 245
using with DFSMSrmm 213
EXPIREBV command output 246
allocating trace log data sets 262
FREEVOL command 253
ARCCATGP group 64
HSMPRESS job 255
ARCCMDxx PARMLIB member 35
journal data set maintenanceu 260
ARCINBAK program 123
merging CDSs 256, 325
ARCPRPDO program 264
PDA trace formatter program 264
ARCRPEXT exit 324
query automatic functions 288
ARCTOOLS
query DFSMShsm requests 292
CDS merge 256
recycle function 247
ARCTOOLS utilities 301
reorganizing CDSs 253
ARCUTIL program 302
tasks 245
AUDIT command 271
aggregate backup and recovery support
AUTH command 43, 63
ABACKUP and multivolume BDAM 318
authorized user 43
ABACKUP command 143
automatic backup 123
ABACKUP deletion of output files 318
automatic class selection routines
ABACKUP extra tape volumes 318
defining DFSMShsm data sets 32
ABACKUP tape wait 313
management class 23
ABACKUP task output 145
processing order 9
ABACKUP wait for ML2 321
sample ACS routines 331
ABARS address space initialization 319
specifying tape library functions 223
ABARS dump capture 319
storage class 18
aggregate group definition 138
storage group 29
ARC6030I routing 319
automatic primary space management 5
ARC6035E message 185
automatic secondary space management 6
ARCCMDxx parameters 142
auxiliary host 173
ARECOVER command 148
availability management
ARECOVER JCL 150
ARCCMDxx PARMLIB settings 129
ARECOVER tape wait 313
ARCHBACK macro 155
ARECOVER task output 151
ARCINBAK program 124, 155
deletion of output files during ABACKUP 318
automatic backup 111
disaster recovery 213
back up in batch environment 123
instruction data set 140
BACKDS command 155
ISMF panels 138
BACKVOL command 154
LIST AGGREGATE command 275
command backup 125, 154, 155
management class parameters 141
365
functions for non-SMS-managed volumes 11 DFSMShsm monitoring
functions for SMS-managed volumes 9 ARCTOOLS utilities 301
holding functions 178 ARCUTIL program 302
implementation activities 17 collecting statistics 298
installation exits 44 DCOLLECT 302
interval space management 6 DCOLLECT function 302
management class 23 filtering LIST output 275
management classes for DFSMShsm data 25 function summary report 299
merging CDSs 325 generating reports from DCOLLECT data 305
migration data set prefix 107 getting backup volume statistics 290
monitoring DFSMShsm 273 HSM Monitor/Tuner 305
multihost startup procedure 40 incremental backup information 278
multiple host support 162 information sources 273
operation 173 invoking DCOLLECT using ISMF 304
orderly shutdown 176 LIST BACKUPVOLUME command 275
overview 3 LIST command output 274
primary host 173 LIST command syntax 274
primary system identification 35 LIST DATASETNAME MCDS command 276
problem determination 261 LIST DUMPCLASS command 279
protecting tapes 53, 61 LIST DVOL BCDS command 280
RACF security 56 LIST LEVEL BCDS command 277
reblocking data sets 43 LIST LEVEL command 275, 278
secondary address space 175 LIST PRIMARY BCDS command 280
secondary host promotion 169 LIST PRIMARYVOLUME command 278
secondary system identification 35 listing backup data sets 277
selecting scratch pool 50 listing backup volumes 275
SETSYS command 42 listing dump class attributes 279
small data set packing 109 listing dump volumes 280
SMF records 45 listing migrated data sets 276
SMS considerations 17 listing migration volumes 282
SMS interaction 7 listing ML1 volumes 278
SMS update checklist 33 listing recalled data sets 276
space management 4 QUERY ABARS command 287
spill processing 122 QUERY ACTIVE command 288
start parameters 35 query automatic functions 288
start procedure 174 QUERY BACKUP command 289
starter set 34 query CDS backup information 291
startup parameters 35 QUERY CDS command 292
startup procedure 35 query CDS usage 292
stopping DFSMShsm 176 QUERY CDSVERSIONBACKUP command
storage class 18 291
storage group 29 QUERY command 285
sysplex considerations 167 QUERY command output 285
system dump data set 46 query daily statistics 295
tape management 189 QUERY DATASETNAME command 292
tape reuse 48 query DFSMShsm control parameters 294
TMM parameters 239 query DFSMShsm requests 292
trace log data sets 262 query DFSMShsm statistics 295
tuning 309 QUERY MIGRATIONLEVEL2 command 293
367
I AUTO BACKUP attribute 116
ICHRIN03 module 58 backup attributes 112
IDRC 48 BACKUP FREQUENCY attribute 113
IGDSMSxx 93 definition 23
implementation ISMF panels 23
activities 17 using concurrent copy 117
alias definition 68 MCDS
allocating trace log data sets 262 See migration control data set
CDS allocation 70 merging CDSs 256
initialization 175 messages
orderly shutdown 176 ARC0003I 185
PROCLIB and PARMLIB setup 34 ARC0164I 291
query daily statistics 295 ARC0312I 236
start procedure 174 ARC0427I 211
stopping DFSMShsm 176 ARC0436I 209
incremental backup ARC0637I 136
eligible data sets 156 ARC0734I 46, 310
inline backup 7 ARC0909E 260
installation exits 44 ARC6030I 319
interval space management 6 ARC6035E 185
migration control data set
CDS reorganization 253
J filtering LIST output 275
journal data set
LIST command 273
BACKVOL CDS command 260
LIST DATASETNAME MCDS command 276
clearing the data set 260
LIST LEVEL command 275, 278
data set maintenance 260
listing migrated data sets 276
manual backup 83
listing migration volumes 282
overview 70
listing ML1 volumes 278
sample allocation JCL 73
listing recalled data sets 276
SETSYS JOURNAL 45
record retention 108
threshold value 47
sample allocation JCL 71
sharing considerations 164
L threshold value 47
log data sets VSAM SHAREOPTIONS 164
activity log data sets 266 migration data set prefix 107
allocating trace log data sets 262 monitoring DFSMShsm 273
archival 267 multicluster control data sets
disabling log functions 268 conversion steps 96
SETSYS ACTLOGTYPE command 266 overview 95
swapping 267 performance considerations 95
switching trace log data sets 263 multihost procedure 40
trace log data sets 262 multihost startup procedure 40
viewing log data sets 266 multiple host environment
control data sets sharing 164
defining all the hosts 163
M defining primary host 162
Magstar tape drives 230
highlights 174
management class
multitasking 166
369
record level sharing SETSYS RECYCLEPERCENT command 248
altering IGDSNSxx member 93 SETSYS TAPEDELETION command 250
altering SMS configuration 90 setting a threshold 248
cache and lock structures 88 specifying tape units 109
DFSMShsm procedure 94 start the process 249
implementation 87 tape copy considerations 250
implementation checklist 94 tape drives 47
RACF Facility class profiles 93 RECYCLE command 247
RACF facility class profiles 93 recycle function 247
sample SHCDS allocation JCL 88 restore process
serialization 85 restoring from a dump copy 159
SHCDS activation 94 SETSYS parameters 158
SMSVSAM address space 93 restore processing
storage class update 92 functions for non-SMS-managed volumes 11
recover processing functions for SMS-manages volumes 10
functions for SMS-managed volumes 10 RLS
recovery process See record level sharing
date limit 161
full-volume restore 161
HRECOVER command 159
S
sample ACS routines 331
out-of-space conditions 160
secondary address space 175
RECOVER command 159, 160
secondary DFSMShsm system 35
recovering cataloged data sets 159
secondary host promotion 43, 169
recovering from a specific dump volume 160
configuring automatic backup 171
recovering from incremental backup 162
enabling secondary host 169
replacing existing data sets 159
primary host 169
restrictions 158
secondary host 169
SETSYS parameters 158
SETSYS PROMOTE 170
specifying number of recovery tasks 158
SSM host 169
using generation data sets 161
take back function 171
recovery processing
secondary system parameters 40
functions for non-SMS-managed volumes 11
security
RECYCLE
providing security to DFSMShsm tapes 53
conversion to new tape media 250
SETSYS parameter
converting a range of media 251
BACKUPPREFIX 65
converting to new DASD Volumes 252
SETSYS parameters
display eligible tapes 247
ABARSKIP 144
DUPLEX tape 206
ABARSPROCNAME 42
move to new tape media 233
ACCEPTPSCBUSERID 54
moving data sets 252
ACTLOGMSGLVL 46
number of tasks 47
ACTLOGTYPE 46, 61, 266
RECYCLE command 233
authorization 186
RECYCLE DISPLAY command 248
AUTOBACKUPSTART 118, 186
RECYCLE EXECUTE command 249
AUTODUMPSTART 132, 186
RECYCLE SELECT command 250
BACKUP 120, 158
RECYCLE VERIFY command 249
BACKUPCOPIES 75
security considerations 250
BACKUPPREFIX 121
SETSYS ML2RECYCLEPERCENT command
CDSVERSIONBACKUP 74, 83
105, 248
371
interval migration tasks 106 sample storage class ACS routine 331
interval space management 6 sample storage group ACS routine 341
migration 4 storage class 8
migration data set prefix 107 storage group 8
output unit allocation 105 update checklist 33
overview 4
recall 4
recycle 5
T
tape management
recycle tape unit 109
3490E emulation 230
recycling ML2 tape 105
ABARS 213
small data set packing 109
ACS routine parameters 223
specifying data set extents 109
ADDVOL command 191
tape recall tasks 106
ARCCMDxx PARMLIB member 231
volume migration tasks 106
ARCTVEXT exit 191
spanning data sets 49
ATL RECALL processing 235
specific scratch pool 191
conversion to new media 250
spill processing 122
data class definition 216
spill tape volumes 247
DELVOL command 208
starter set
DFSMSrmm interaction 192
ARCSTRST 68
disaster alternate volumes 211
starter set JCL
duplex tape 51, 121, 223
HSMPRESS job 255
DUPLEX tape data set names 206
storage class
EDGTVEXT exit 192
definition 18
erase-on-scratch 53
ISMF panels 19
esoteric names 120
RLS changes 91
esoteric removal of ACL 321
using concurrent copy 118
esoteric unit names 50
storage group
global scratch pool 50, 189, 190, 215
AUTOBACKUP attribute 111
ISMF data class panels 217
backup attributes 113
LIBRARYBACKUP subparameter 52
definition 29
LIBRARYMIGRATION subparameter 52
ISMF panels 30
list available tapes 232
storage management system
list partial tapes 232
updating configuration for RLS 90
LIST TTOC command 209
sysplex considerations
Magstar tape drives 230
CDS extended addressability 172
marking tapes full 232
coexistence 168
marking volumes full 208
overview 167
mount wait time 51
single GRSplex serialization 167
move to new tape media 233
system dump data set 46
operator prompts 51
system managed storage
optimizing usage 236
ACS routines 8
overview 189
aggregate group 8
PERCENTFULL parameter 233
data class 7
RACF protecting tapes 61
DFSMShsm implementation 17
releasing command backup tapes 126
management class 8
replacing tape volumes 210
overview 7
SETSYS PARTIALTAPE command 208, 223
sample data class ACS routine 346
SETSYS SELECTVOLUME command 223
sample management class ACS routine 336
373
374 DFSMShsm Primer
IBM Redbooks review
Your feedback is valued by the Redbook authors. In particular we are interested in situations where a
Redbook "made the difference" in a task or problem you encountered. Using one of the following
methods, please review the Redbook, addressing value, subject matter, structure, depth and
quality as appropriate.
• Use the online Contact us review redbook form found at ibm.com/redbooks
• Fax this form to: USA International Access Code + 1 845 432 8264
• Send your comments in an Internet note to [email protected]
Review
Questions about IBM’s privacy The following link explains how we protect your personal information.
policy? ibm.com/privacy/yourprivacy/
(0.5” spine)
0.475”<->0.875”
250 <-> 459 pages
®
DFSMShsm Primer
A MUST READ book DFSMShsm provides space, availability, and tape mount
for those new to management functions in a storage device hierarchy for both
INTERNATIONAL
DFSMShsm system-managed, and non-system-managed storage TECHNICAL
environments. DFSMShsm allows you to automate your SUPPORT
Learn about the storage management tasks improving the productivity by ORGANIZATION
effectively managing the storage devices.
latest DFSMShsm
enhancements
This IBM Redbook provides technical storage specialists and
storage administrators with the basic DFSMShsm knowledge BUILDING TECHNICAL
Many examples of for implementing and customizing DFSMShsm at the 2.10 INFORMATION BASED ON
how to use PRACTICAL EXPERIENCE
level. Hints and tips on the daily operation, monitoring, and
DFSMShsm tuning are included. Sysplex environment considerations are
also included. IBM Redbooks are developed by
the IBM International Technical
Those implementing DFSMShsm for the first time will find Support Organization. Experts
from IBM, Customers and
valuable information for exploiting the DFSMShsm functions.
Partners from around the world
Experienced persons will find that this redbook can be used create timely technical
as an update to the latest DFSMShsm functions, and it shows information based on realistic
how to use those functions in an existing DFSMShsm scenarios. Specific
installation. recommendations are provided
to help you implement IT
solutions more effectively in
your environment.