advertisement
Chapter 15. DFSMShsm libraries and procedures
The following information discusses DFSMShsm procedure library (PROCLIB) members, parameter library (PARMLIB) members, and procedures (PROCs).
When the DFSMShsm product is installed on your system, SMP processing loads parts of the DFSMShsm product into MVS system libraries during APPLY processing. SMP loads no DFSMShsm parts into the SYS1.PROCLIB and
SYS1.PARMLIB. Creating additional parts for SYS1.PROCLIB and SYS1.PARMLIB
(or an alternate parameter library) is the responsibility of the MVS system programmer. In fact, SYS1.PROCLIB and SYS1.PARMLIB are system libraries that are intentionally provided for the use of the MVS system programmer.
As an aid to creating the additional parts in SYS1.PROCLIB and in a parameter library, the DFSMShsm product comes with a starter set. The starter set helps installers of DFSMShsm to build SYS1.PROCLIB members and SYS1.PARMLIB
members that define a unique DFSMShsm operating environment for your site.
DFSMShsm libraries
This section discusses procedure library (PROCLIB) members and parameter library (PARMLIB) members. To run DFSMShsm, you need a startup procedure in
SYS1.PROCLIB and you need a sequence of commands in a parameter library.
Procedure libraries (PROCLIB)
Procedure libraries (PROCLIBs) are data sets that contain JCL procedures and JCL job steps. The procedures include a startup procedure for starting DFSMShsm, a startup procedure for the ABARS secondary address space, and utility jobs for formatting and printing the DFSMShsm logs.
SYS1.PROCLIB is a system library in which the procedures that are included with the DFSMShsm product are placed when you run the starter job. You can create an alternate PROCLIB data set for the startup procedures, the HSMEDIT procedure, and the HSMLOG procedure.
Parameter libraries (PARMLIB)
Parameter libraries (PARMLIBs) are partitioned data sets in which reside a list of commands and directives that MVS reads to determine an operating environment for a program.
If you run the STARTER job provided with the product, the PARMLIB member
ARCCMD00 is placed in the SYS1.PARMLIB data set. You can create alternate
PARMLIB data sets for ARCCMDxx members. There is no requirement to use
SYS1.PARMLIB.
When you start DFSMShsm, the PARMLIB pointed to by the HSMPARM DD statement (if there is one) obtains the member ARCCMD00 or an alternate member indicated by the CMD keyword and (if desired) the member ARCSTR00 or an alternate member indicated by the STR keyword. If no HSMPARM DD statement exists, MVS uses concatenated PARMLIB support to obtain members ARCCMDxx and ARCSTRxx.
© Copyright IBM Corp. 1984, 2017
303
Note:
If you are using a concatenated parameter library, do not use an HSMPARM
DD statement in your startup JCL because it overrides the concatenated PARMLIB support function.
For general information regarding the concatenated PARMLIB support function, refer to the z/OS MVS Initialization and Tuning Reference.
Creating alternate DFSMShsm parameter library members
You can create alternate PARMLIB members for different DFSMShsm operating environments.
Note:
If you are using concatenated PARMLIB support, refer to the z/OS MVS
System Commands for information about creating alternate parameter library data sets.
If you use an alternate member, you must: v Call the alternate member name ARCCMDxx, where xx is the two characters
(numbers or letters) identifying the alternate member name or the alternate startup member ARCSTRyy where yy is the two characters (numbers or letters) identifying the alternate member name.
Additionally, you must communicate the name of the new PARMLIB member to the MVS operating system. You can either: v Change the DFSMShsm startup procedure to correspond to the two characters xx identifying the alternate member name.
or v Use CMD=xx or STR=yy on the MVS START command for DFSMShsm. Either keyword used this way must be specified on the PROC statement in the
DFSMShsm startup procedure.
For example, in Figure 84, the alternate PARMLIB member is named ARCCMD01,
so CMD=01 is specified in the startup procedure.
//DFHSM PROC CMD=01,EMERG=NO,LOGSW=YES,STARTUP=NO,
// UID=HSM,SIZE=6144K,DDD=50,HOST=1Y
Figure 84. Example DFSMShsm Startup Procedure. This JCL directs DFSMShsm to start with the command in
PARMLIB member ARCCMD01.
Commands for PARMLIB member ARCCMDxx
v The DFSMShsm commands you can specify in the DFSMShsm PARMLIB v The purpose of the commands v What information you must re-specify for each startup v What information you do not have to re-specify for each startup.
304
z/OS DFSMShsm Implementation and Customization Guide
Table 49. Commands You Can Specify in the DFSMShsm PARMLIB Member ARCCMDxx
DFSMShsm
Command
ADDVOL
AUTH
DEFINE
HOLD
Purpose
Adds a volume to DFSMShsm control or defines a space management attribute for a specific volume.
Identifies the user who can issue
DFSMShsm-authorized commands.
Note:
This command is only used in a non-FACILITY class environment.
Defines the control structures within DFSMShsm control.
v v
Information You Must
Specify Each Startup
For primary or migration level 1 volumes: v Each volume v Each type of unit
Each type of volume
None
Recall pools v Aggregate recovery pools
Information You Do Not Specify Each
Startup
v Migration level 2 volumes v Backup volumes v Primary volume attributes of a volume you added during an earlier startup v Space management technique of a volume you added during an earlier startup
userid
DATABASEAUTHORITY(CONTROL) for the user who can affect the authority of other DFSMShsm users v Level 2 structure v Backup cycle v Automatic primary space management cycle v Automatic secondary space management cycle v
Dump cycle v Dump classes
None
ONLYIF
PATCH
RELEASE
SETMIG
SETSYS
TRAP
Prevents processing of all or part of DFSMShsm functions.
Allows conditional execution of the single command, or group of commands contained within a
BEGIN ... END block, immediately following the
ONLYIF command.
Changes contents of storage in the address space.
Releases all or part of the
DFSMShsm process that is previously being held using the
HOLD command.
Changes the space management status of data sets, groups of data sets, or all primary volumes.
Establishes or changes parameters under which
DFSMShsm operates.
Specifies when DFSMShsm should produce a snap dump or an abnormal end dump when a specified error occurs.
All parameters
All parameters
All parameters
All parameters
Migration controls for level qualifiers
All parameters
All parameters
None
None
None
Migration controls for data sets or primary volumes
None
None
Chapter 15. DFSMShsm libraries and procedures
305
Command sequence for PARMLIB member ARCCMDxx
In the DFSMShsm environment, certain commands must follow a particular sequence to ensure that the command does not malfunction or fail. The following table lists these combinations:
ISSUE THIS COMMAND
SETSYS JES2 or JES3
ADDVOL
DEFINE BACKUP(...
DEFINE DUMPCLASS
SETSYS MAXRECALLTASKS(tasks)
SETSYS SMALLDATASETPACKING
SETSYS SYSOUT
SETSYS USERUNITTABLE
SETSYS USERDATASETSERIALIZATION
BEFORE THIS COMMAND
Not Applicable
DEFINE POOL
SETSYS NOBACKUP
ADDVOL with either the AUTODUMP or the DUMPCLASS parameters
SETSYS TAPEMAXRECALLTASKS(tasks)
ADDVOL with SDSP
SETSYS ACTLOGTYPE
ADDVOL
DEFINE ARPOOL
DEFINE DUMPCLASS with unit
SETSYS ARECOVERUNITNAME
SETSYS BACKUP(TAPE)
SETSYS CDSVERSIONBACKUP
SETSYS MIGUNITNAME
SETSYS RECYCLEOUTPUT
SETSYS SPILL
SETSYS TAPEMIGRATION
SETSYS UNITNAME
SETSYS TAPEUTILIZATION for any esoteric
SETSYS DAYS
Note:
1.
If you use the ONLYIF HSMHOST(hostid) command with both the DEFINE
BACKUP and SETSYS NOBACKUP commands, and assign the commands to different hosts, there is no need for a specific command sequence.
2.
SETSYS UNITNAME(unitname) should be specified before SETSYS
CDSVERSIONBACKUP if you are not specifying a unit name as part of the
BACKUPDEVICECATEGORY subparameter. If you do not specify SETSYS
CDSVERSIONBACKUP BACKUPDEVICECATEGORY UNITNAME(unitname), and have not previously specified SETSYS UNITNAME(unitname), the default unit is 3590-1.
3.
In an HSMplex environment, you should not use the SETSYS
EXTENDEDTTOC(Y) command to enable extended TTOCs on any host in the
HSMplex until the shared OCDS has been redefined with a record size of 6144 bytes.
Sample libraries (SAMPLIB)
SYS1.SAMPLIB is a system library in which system modification program/extended (SMP/E) logic places the MVS jobs that create rudimentary procedures. If you run the DFSMShsm STARTER job, the DFSMShsm startup
306
z/OS DFSMShsm Implementation and Customization Guide
procedure is automatically placed in SYS1.PROCLIB and the command sequence
(ARCCMD00) is placed in SYS1.PARMLIB. HSMSTPDS places other procedures in a partitioned data set named HSM.SAMPLE.CNTL. You must move the other procedures you want (for example, HSMEDIT and HSMLOG) from
HSM.SAMPLE.CNTL to SYS1.PROCLIB.
DFSMShsm procedures
The DFSMShsm procedures and jobs that are provided in SAMPLIB members include: v A DFSMShsm startup procedure v An ABARS secondary address space startup procedure v An installation verification procedure (IVP) v A functional verification procedure (FVP) v An HSMLOG procedure to format and print the DFSMShsm log v An HSMEDIT procedure to print the DFSMShsm edit log
If you are using the starter set, only the HSMLOG procedure and the HSMEDIT procedure must be manually placed in SYS1.PROCLIB. If you are not using the starter set, add the following four procedures to the PROCLIB data set:
1.
DFSMShsm startup procedure. This is invoked with an operator START command.
2.
ABARS startup procedure. This procedure starts the ABARS secondary address space.
3.
HSMLOG procedure. This procedure formats and prints the DFSMShsm log after a log swap has occurred.
4.
HSMEDIT procedure. This procedure prints the edit log.
For more information about the DFSMShsm startup procedure for a multiple
DFSMShsm startup procedure
The DFSMShsm startup procedure, shown in Figure 85 on page 313 and shown in
the starter set in topic “Starter set example” on page 109 provides the MVS system
with DFSMShsm environmental information through the startup procedure keywords and the HSMPARM DD statements, if there are any. You specify these keywords and DD statements to define your processing environment.
Note:
1.
If you need to use more startup procedure keywords than can be accommodated by the 100-character PARM limit as detailed in z/OS MVS JCL
Reference under the EXEC parameter, use the STR=xx keyword within the
PARM keywords to create a PARMLIB member ARCSTRxx to contain the remaining startup parameters.
2.
The starter set does not include the RESTART keyword.
When DFSMShsm is started, the MVS operating system reads the DFSMShsm startup procedure and receives information about the DFSMShsm environment.
Chapter 15. DFSMShsm libraries and procedures
307
Startup procedure keywords
The following is a listing and description of the DFSMShsm startup procedure keywords:
CMD (default = 00):
Specifies the PARMLIB member that DFSMShsm should start with. The CMD=00 keyword refers to the ARCCMD00 member of a PARMLIB
and is discussed in “Parameter libraries (PARMLIB)” on page 303. Throughout the
DFSMShsm library the term ARCCMDxx is used to discuss the PARMLIB member.
You can create more than one ARCCMDxx member and designate a different number for each PARMLIB member you create by substituting a number for xx
(the last two characters of the ARCCMDxx member).
EMERG (default = NO):
Specifies whether DFSMShsm starts processing immediately. The EMERG=NO keyword allows DFSMShsm to begin functioning as soon as it is started. The EMERG=YES keyword allows DFSMShsm to start, but does not allow DFSMShsm to perform any functions until a SETSYS
NOEMERGENCY command is issued.
LOGSW (default = NO):
Specifies whether to swap the DFSMShsm log data sets automatically at startup. Because the problem determination aid (PDA) logs are automatically swapped at startup, you should specify LOGSW=YES to synchronize the DFSMShsm logs with the PDA logs. If you specify LOGSW=YES, you must also change your JCL disposition (DISP) to DISP=OLD for the LOGX and LOGY data sets.
For a discussion of the DFSMShsm log data sets, see “DFSMShsm log data set” on page 45.
STARTUP (default = NO):
Specifies whether DFSMShsm displays startup messages at the operator console.
UID (default = HSM):
Specifies the DFSMShsm authorized-user identification
(UID) in 1 to 7 characters. You must use this UID as the first qualifier of the data set name of the SDSP data sets. In the DFSMShsm starter set sample jobs (see
Chapter 6, “DFSMShsm starter set,” on page 101), the UID is the prefix name for
the migrated and backed up data sets. The UID is also the first qualifier of the
Note:
Changing the UID parameter after your environment has been set up requires coordination, because DFSMShsm expects the UID to be the high-level qualifier for SDSP data sets. If you change the UID, you must also change the high-level qualifier of existing SDSP data sets to match the new UID. Although the
UID also appears as the high-level qualifier of tape data sets, DFSMSrmm and most other tape management systems allow the high-level qualifier to be different.
HOSTMODE (default = MAIN):
Specifies how this instance of DFSMShsm is related to various functions of DFSMShsm.
HOSTMODE=MAIN specifies that this DFSMShsm: v Processes implicit requests, like recalls and deleting migrated data sets, from user address spaces v Processes explicit commands from TSO, like HSENDCMD and HBACKDS v Manages ABARS secondary address spaces v Allows MODIFY commands from a console
308
z/OS DFSMShsm Implementation and Customization Guide
v Can run an automatic backup, dump, and space management
Within a z/OS image, only one DFSMShsm can operate in this mode and any other DFSMShsm host in that image must have HOSTMODE=AUX.
HOSTMODE=AUX specifies that this DFSMShsm: v Allows MODIFY commands from a console v Can run automatic backup, dump, or space management
Within a z/OS image, zero or more DFSMShsm hosts can operate in this mode.
If HOSTMODE is not specified, the default is MAIN.
SIZE:
Specifies the region size in K bytes (K=1024) that DFSMShsm is running under. You should specify 0M for SIZE which directs DFSMShsm to allocate the largest possible region size. For more detailed information about DFSMShsm
storage requirements, see “DFSMShsm address spaces” on page 299.
Note:
The DFSMShsm region size requirements depend on the type and number of concurrent data movement tasks.
DDD:
Specifies the number of dynamically allocated resources that can be held in anticipation of reuse. This value is used in the DYNAMNBR parameter of the
EXEC statement. Refer to z/OS MVS JCL Reference for further explanation of the
DYNAMNBR parameter.
HOST=x:
Identifies this DFSMShsm host in an HSMplex. The HOST=x keyword specifies a unique identifier for each instance of DFSMShsm. For x, substitute the host identification as an upper-case alphabetic character from A to Z, a digit from 0 to 9, or the character @, #, or $.
Note:
1.
The earlier definition of the HOST= keyword allowed 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.
2.
DFSMShsm supports the use of @, #, and $ as host identifier characters that may show up in dataset names and TSO output. You are not required to use them and, (especially if you are a non-US customer) you may choose to limit yourself to characters A-Z, and 0-9, reducing the total number of host address spaces per HSMplex to 36 instead of 39.
PRIMARY (default = YES):
Specifies whether this DFSMShsm host is the primary host within its HSMplex, and thus performs the backup and dump level functions as part of automatic processing. Automatic primary space management and automatic secondary management can be performed on any DFSMShsm host.
If you do not specify the PRIMARY= keyword: v If the HOST= keyword value has a second character Y, this DFSMShsm host is the primary host v If the HOST= keyword value has a second character N, this host is not the primary host v If the HOST= keyword has no valid second character, this host is the primary host
Chapter 15. DFSMShsm libraries and procedures
309
RESTART:
Specifies that DFSMShsm should be automatically restarted for all
DFSMShsm abnormal ends. The RESTART=‘(a, b)’ keyword specifies that
DFSMShsm should be automatically restarted for all DFSMShsm abnormal ends. a specifies the name of the procedure to be started and b specifies any additional keywords or parameters to be passed to the procedure. For example, if the
DFSMShsm procedure DFHSM01 is started for all automatic restarts, and EMERG is set to YES, then the RESTART keyword would be specified as:
RESTART=‘(DFHSM01.HSM,EMERG=YES)’. Note that in this example HSM can be used by the operator as an identifier for DFHSM01.
Note:
If you are accessing your CDSs in RLS mode, use the RESTART keyword so that DFSMShsm automatically restarts after shutting down due to SMS VSAM server error.
For a detailed example of using the RESTART keyword to restart DFSMShsm after
an abnormal end, see “Using the RESTART keyword to automatically restart
DFSMShsm after an abnormal end” on page 312.
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 z/OS images) with a global (SYSTEMS) exclusive enqueue and still allows multiple tasks within a single z/OS image to access the control data sets concurrently. All DFSMShsm hosts within an HSMplex must use the same serialization technique.
If you specify CDSQ=NO (without CDSSHR=RLS), the only allowable
HOSTMODE for any DFSMShsm host within the HSMplex is MAIN.
For more information about serializing CDSs with the CDSQ keyword, see
“Serialization of control data sets with global resource serialization” on page 262.
CDSR:
Specifies that DFSMShsm serializes its control data sets with volume reserves.
If you have installed a global resource serialization (GRS) product, you can serialize your CDSs with GRS.
When you specify YES for this parameter, DFSMShsm serializes the use of the control data sets with a shared ENQ/RESERVE.
All the hosts in an HSMplex must implement the same serialization technique.
When a serialization technique has not been specified, the default serialization technique depends on the following specified HOSTMODE: v If HOSTMODE=MAIN, DFSMShsm assumes CDSR=YES v If HOSTMODE=AUX, DFSMShsm indicates an error with message ARC0006I
For more information about serializing CDSs with the CDSR keyword, see
“Serialization of control data sets with global resource serialization” on page 262.
CDSSHR:
Specifies that the DFSMShsm being started will run in a particular multiple-image or single-image environment.
310
z/OS DFSMShsm Implementation and Customization Guide
Because this keyword is not normally specified, it has no default value. Its main uses are for testing and for merging multiple CDSs.
When you specify NO for this keyword, DFSMShsm does no multiple-host serialization; no other system should be concurrently processing this set of CDSs.
The HOSTMODE of this DFSMShsm can only be MAIN. For performance reasons, specify NO in a single image environment with no auxiliary hosts and where the index of the MCDS is on a DASD device that is configured as shared.
When you specify YES for this keyword, DFSMShsm does multiple-host serialization of the type requested by the CDSQ and CDSR keywords.
When you specify RLS for this keyword, DFSMShsm performs multiple-host serialization using record level sharing (RLS). When RLS is specified, the CDSs are accessed in RLS mode and any values specified for CDSQ and CDSR are ignored.
If you do not specify the CDSSHR keyword in the startup procedure,
DFSMShsmperforms multiple-host serialization if the index component of the
MCDS resides on a DASD volume that has been SYSGENed as SHARED or
SHAREDUP.
CELLS (default = (200,100,100,50,20)):
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.
For more information about DFSMShsm storage, see “Adjusting the size of cell pools” on page 301.
PDA (default = YES):
Specifies that problem determination aid (PDA) tracing begins before the SETSYS PDA command has been processed. When you specify
YES for this parameter, the DFSMShsm problem determination aid facility begins its tracing functions at the beginning of startup processing instead of waiting for a
SETSYS PDA command or instead of waiting for DFSMShsm to complete its initialization.
RNAMEDSN (default = NO):
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.
For more information about the GRSplex serialization function, see Chapter 13,
“DFSMShsm in a sysplex environment,” on page 283.
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, but it need not be the same as the value for the CMD keyword.
As with member ARCCMDxx, if you are not using MVS concatenated PARMLIB support, member ARCSTRxx must be in the data set specified with DD statement
Chapter 15. DFSMShsm libraries and procedures
311
HSMPARM in the startup procedure. If you are using MVS concatenated PARMLIB support, members ARCCMDxx and ARCSTRxx need not be in the same PARMLIB data set.
No other keywords need be specified with PARM= on the EXEC statement, but note that no substitution of symbolic parameters occurs in member ARCSTRxx.
Thus parameters specified on the START command are limited to symbolic parameters specified on the PROC statement.
Each record in member ARCSTRxx contains one or more startup keywords, separated by commas. There is no explicit continuation character defined.
DFSMShsm assumes that the last eight characters (73 – 80) in each record are a sequence number field, and does not scan that field. Keywords can be specified in any order. If the same keyword is specified more than once, the last instance is the one that is used.
If the first nonblank characters in a record are “/*” DFSMShsm considers the record a comment and ignores it.
If a keyword is specified both with PARM= and in the ARCSTRxx member, the specification in PARM= overrides that in the member.
If member ARCSTRxx exists, DFSMShsm reads each record and processes its parameters as if they had been specified using PARM=. Then the parameters (if any) specified with PARM= are processed.
Neither an empty member nor the absence of the STR= keyword is considered an error.
You can use the STR keyword for at least two purposes: v To allow specifying more startup parameters than can be accommodated in the
PARM= field v To split keywords between host-unique ones in the PARM= field, for example;
PARM=('CMD=&CMD', 'HOST=&HOST', 'STR=&STR')
Using the RESTART keyword to automatically restart DFSMShsm after an abnormal end:
If you are running DFSMShsm in an MVS/ESA environment, you can use the RESTART keyword in the DFSMShsm startup procedure to automatically restart DFSMShsm after an abnormal termination.
When you specify the RESTART keyword in the DFSMShsm start procedure, no operator intervention is required to automatically restart DFSMShsm. The protocol for the RESTART keyword is: RESTART=(A,B), where A is required and is the name of the DFSMShsm procedure to be started, and B is optional and specifies any additional parameters to be passed to the procedure.
Figure 85 on page 313 is an example of the DFSMShsm startup procedure. Notice
that the EMERG keyword NO allows all DFSMShsm functions and that the
RESTART keyword restarts DFSMShsm automatically. However, when DFSMShsm is restarted the status of the EMERGENCY keyword in the restarted procedure is
YES. When EMERG=YES, DFSMShsm does not allow any functions to start.
312
z/OS DFSMShsm Implementation and Customization Guide
//**********************************************************************/
//* EXAMPLE DFSMSHSM STARTUP PROCEDURE THAT SPECIFIES THE RESTART */
//* KEYWORD TO RESTART DFSMSHSM WITH A DIFFERENT STATUS FOR THE EMERG */
//* KEYWORD.
*/
//**********************************************************************/
//*
//DFSMSHSM PROC CMD=00, USE PARMLIB MEMBER ARCCMD00
//
//
//
LOGSW=YES,
STARTUP=YES,
UID=HSM,
SWITCH LOGS AT STARTUP
STARTUP INFO PRINTED AT STARTUP
DFSMSHSM-AUTHORIZED USER ID
//
//
//
//
PDA=YES,
SIZE=0M,
DDD=50,
HOST=?HOSTID,
BEGIN PDA TRACING AT STARTUP
REGION SIZE FOR DFSMSHSM
MAX DYNAMICALLY ALLOCATED DATA SETS
PROC.UNIT ID AND LEVEL FUNCTIONS
//
//
PRIMARY=?PRIMARY, LEVEL FUNCTIONS
RESTART=’(DFHSM00,EMERG=YES)’ RESTART INFORMATION
//DFSMSHSM EXEC PGM=ARCCTL,DYNAMNBR=&DDD,REGION=&SIZE,TIME=1440,
// PARM=(’LOGSW=&LOGSW’,’CMD=&CMD’,’UID=&UID’,
//
//
’HOST=&HOSTID’,’PRIMARY=&PRIMARY’,
’STARTUP=&STARTUP’,’PDA=&PDA’,’RESTART=&RESTART’)
//**********************************************************************/
//* 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
//MIGCAT DD DSN=&UID...MCDS,DISP=SHR
//BAKCAT DD DSN=&UID...BCDS,DISP=SHR
//OFFCAT DD DSN=&UID...OCDS,DISP=SHR
//JOURNAL DD DSN=&UID...JRNL,DISP=SHR
//ARCLOGX DD DSN=&UID...HSMLOGX1,DISP=OLD
//ARCLOGY DD DSN=&UID...HSMLOGY1,DISP=OLD
//ARCPDOX DD DSN=&UID...HSMPDOX1,DISP=OLD
//ARCPDOY DD DSN=&UID...HSMPDOY1,DISP=OLD
//*
Figure 85. Example of Automatically Restarting DFSMShsm. The status of the keyword EMERG is changed when
DFSMShsm automatically restarts.
Figure 86 on page 314 shows an alternate way of obtaining the same results; restart
DFSMShsm using a different startup procedure with a different name.
specify a RESTART keyword and specifies EMERG=YES. If DFSMShsm ends with an abnormal termination, DFSMShsm does not automatically restart.
Rule:
Any alternate procedures (DFHSM05, for example) must have an entry in the
RACF started-procedures table and must be associated with the DFSMShsm user
ID for RACF.
Chapter 15. DFSMShsm libraries and procedures
313
//**********************************************************************/
//* EXAMPLE DFSMSHSM STARTUP PROCEDURE THAT RESTARTS DFSMSHSM WITH A */
//* DIFFERENT STARTUP PROCEDURE (DFHSM05) AFTER AN ABEND.
*/
//**********************************************************************/
//*
//DFSMSHSM PROC CMD=00,
// LOGSW=YES,
USE PARMLIB MEMBER ARCCMD00
SWITCH LOGS AT STARTUP
//
//
//
STARTUP=YES,
UID=HSM,
PDA=YES,
STARTUP INFO PRINTED AT STARTUP
DFSMSHSM-AUTHORIZED USER ID
BEGIN PDA TRACING AT STARTUP
//
//
//
//
SIZE=0M,
DDD=50,
REGION SIZE FOR DFSMSHSM
MAX DYNAMICALLY ALLOCATED DATA SETS
HOST=?HOSTID, PROC.UNIT ID AND LEVEL FUNCTIONS
PRIMARY=?PRIMARY, LEVEL FUNCTIONS
// RESTART=’(DFHSM05,EMERG=YES)’ RESTART INFORMATION
//DFSMSHSM EXEC PGM=ARCCTL,DYNAMNBR=&DDD,REGION=&SIZE,TIME=1440,
//
//
PARM=(’LOGSW=&LOGSW’,’CMD=&CMD’,’UID=&UID’,
’HOST=&HOSTID’,’PRIMARY=&PRIMARY’,
// ’STARTUP=&STARTUP’,’PDA=&PDA’,’RESTART=&RESTART’)
//**********************************************************************/
//*
//*
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
//MIGCAT DD DSN=&UID...MCDS,DISP=SHR
//BAKCAT DD DSN=&UID...BCDS,DISP=SHR
//OFFCAT DD DSN=&UID...OCDS,DISP=SHR
//JOURNAL DD DSN=&UID...JRNL,DISP=SHR
//ARCLOGX DD DSN=&UID...HSMLOGX1,DISP=OLD
//ARCLOGY DD DSN=&UID...HSMLOGY1,DISP=OLD
//ARCPDOX DD DSN=&UID...HSMPDOX1,DISP=OLD
//ARCPDOY DD DSN=&UID...HSMPDOY1,DISP=OLD
//*
Figure 86. Example of Automatically Restarting DFSMShsm with a Different Procedure. If an abnormal end occurs, the
startup procedure calls a different startup procedure (DFHSM05), shown in Figure 87.
//**********************************************************************/
//* EXAMPLE DFHSM05 STARTUP PROCEDURE THAT IS CALLED FROM THE */
//* PRECEDING STARTUP PROCEDURE FOR UNEXPECTED DFSMSHSM ABENDS.
*/
//**********************************************************************/
//*
//DFSMSHSM PROC CMD=00,
//
//
LOGSW=YES,
STARTUP=YES,
USE PARMLIB MEMBER ARCCMD00
SWITCH LOGS AT STARTUP
STARTUP INFO PRINTED AT STARTUP
//
//
//
//
//
//
//
//
//
UID=HSM,
PDA=YES,
SIZE=0M,
DDD=50,
DFSMSHSM-AUTHORIZED USER ID
BEGIN PDA TRACING AT STARTUP
REGION SIZE FOR DFSMSHSM
MAX DYNAMICALLY ALLOCATED DATA SETS
//
//
HOST=?HOSTID,
PRIMARY=?PRIMARY
PROC.UNIT ID AND LEVEL FUNCTIONS
LEVEL FUNCTIONS
//DFSMSHSM EXEC PGM=ARCCTL,DYNAMNBR=&DDD,REGION=&SIZE,TIME=1440,
// PARM=(’LOGSW=&LOGSW’,’CMD=&CMD’,’UID=&UID’,
// ’HOST=&HOSTID’,’PRIMARY=&PRIMARY’,
’STARTUP=&STARTUP’,’PDA=&PDA’
.
.
.
.
Figure 87. Example of Alternate Startup Procedure
As you can see, the RESTART keyword not only allows you to tell DFSMShsm to restart itself, but allows you to modify the manner in which DFSMShsm is
314
z/OS DFSMShsm Implementation and Customization Guide
restarted when an abnormal termination occurs. Any keyword that can be specified in the MVS start command can be specified in the RESTART keyword as part of parameter B.
Startup procedure DD statements
If you are not using concatenated PARMLIB support, this section discusses the required DD statements for the HSMPARM statement of the DFSMShsm startup procedure. The DD statement names must appear as they are shown in the
DFSMShsm starter set topic “Starter set example” on page 109. The high-level
qualifier (HLQ) for these required DD statements does not have to be UID and the control data sets are not required to share the same high-level qualifier.
Required DD Name
HSMPARM DD DSN=HLQ...PARMLIB,
DISP=SHR
MSYSOUT DD SYSOUT=A
MSYSIN DD DUMMY
SYSPRINT DD SYSOUT=A, FREE=CLOSE
SYSUDUMP DD SYSOUT=A
MIGCAT DD DSN=HLQ...MCDS, DISP=SHR
BAKCAT DD DSN=HLQ...BCDS, DISP=SHR
OFFCAT DD DSN=HLQ...OCDS, DISP=SHR
JOURNAL DD DSN=HLQ...JRNL, DISP=SHR
ARCLOGX DD DSN=HLQ...HSMLOGX1,
DISP=OLD
ARCLOGY DD DSN=HLQ...HSMLOGY1,
DISP=OLD
ARCPDOX DD DSN=HLQ...HSMPDOX,
DISP=OLD
Description
This DD statement identifies the
PARMLIB member that contains commands and directives to establish a
DFSMShsm operating environment.
The FREE=CLOSE parameter on the
DD statement should NOT be used, as
DFSMShsm will automatically deallocate the parmlib dataset.
This DD statement identifies a system data set that provides DFSMShsm with the messages issued by the terminal monitor program (TMP) and with messages issued when dynamic memory allocation takes place.
This DD statement identifies a system data set that provides DFSMShsm with a DUMMY SYSIN data set for
DFSMShsm support of TSO processing.
This DD statement identifies the output destination for SYSPRINT requests.
This DD statement identifies the
SYSOUT class for SYSUDUMPs.
This DD statement identifies the migration control data set to
DFSMShsm.
This DD statement identifies the backup control data set to DFSMShsm.
This DD statement identifies the offline control data set to DFSMShsm.
This DD statement identifies the journal data set to DFSMShsm.
This DD statement identifies the LOGX
(DFSMShsm log) data set to
DFSMShsm. If you specify
LOGSW=YES, specify DISP=OLD.
This DD statement identifies the LOGY
(DFSMShsm log) data set to
DFSMShsm. If you specify
LOGSW=YES, specify DISP=OLD.
This DD statement identifies the PDOX
(PDA trace) data set to DFSMShsm.
Chapter 15. DFSMShsm libraries and procedures
315
Required DD Name
ARCPDOY DD DSN=HLQ...HSMPDOY,
DISP=OLD
Description
This DD statement identifies the PDOY
(PDA trace) data set to DFSMShsm.
Using DD statement AMP parameters to override DFSMShsm default values:
Default values specified in the ACB are used by DFSMShsm when opening a CDS.
The default values specified in the ACB are: STRNO=40, BUFND=41, and
BUFNI=60. You can override the default values by specifying AMP parameters in a
DD statement for each CDS.
In general, you should not override the default values unless the values are increased. For example, if VSAM dynamic string addition is causing a problem in your operating environment, you can increase the number of strings (STRNO) used for concurrent access by specifying an AMP parameter in the DD statement.
For an example of using DD statement AMP parameters to override the default
Note:
1.
When using the AMP parameter to increase the number of strings, the value specified for STRNO should be determined by the number of concurrent requests you expect to process for a given CDS. The maximum value is 255 strings. However, the region size must be large enough to support the increased size of extended private storage used for VSAM control blocks when increasing the STRNO value.
2.
When the STRNO value is changed, the BUFND and BUFNI values might also need to be changed. The BUFND value should be 1 greater than the STRNO value and a large BUFNI value can increase performance.
You can also improve performance that is related to control data sets by having
RLS manage the control data sets. For more information, see the topics about
Processing VSAM Data Sets and Using VSAM Record-Level Sharing in z/OS
DFSMS Using Data Sets.
Example of using a DD statement to override default values stored in the ACB: The following example overrides the default values stored in the ACB by specifying
AMP parameters in the DD statement; where nnn is the desired value
//MIGCAT DD DSN=&UID..MCDS,DISP=SHR, AMP=(’STRNO=nnn’,’BUFND=nnn’,’BUFNI=nnn’)
For more information, see the topic about Optimizing VSAM Performance in z/OS
DFSMS Using Data Sets.
ABARS secondary address space startup procedure
The ABARS startup procedure, shown in Figure 88 on page 317, and in the starter
set topic “Starter set example” on page 109, provides the MVS operating system
with environmental information about the ABARS secondary address space.
When DFSMShsm is started, the MVS operating system reads the ABARS startup procedure to get information about the ABARS secondary address space.
316
z/OS DFSMShsm Implementation and Customization Guide
//**********************************************************************/
//* ABARS SECONDARY ADDRESS SPACE STARTUP PROCEDURE */
//**********************************************************************/
//*
//DFHSMABR PROC
//DFHSMABR EXEC PGM=ARCWCTL,REGION=0M
//SYSUDUMP DD SYSOUT=A
//MSYSIN DD DUMMY
//MSYSOUT DD DUMMY
//*
Figure 88. Example of an Aggregate Backup and Recovery Startup Procedure. This procedure starts the ABARS secondary address space.
DFSMShsm installation verification procedure (IVP) startup procedure
SMP/E installation of the DFSMShsm product.
DFSMShsm functional verification procedure (FVP)
The functional verification procedure (FVP), described in detail in Chapter 8,
“Functional verification procedure,” on page 153, is a procedure that can be used
to exercise and test the functions of DFSMShsm.
HSMLOG procedure
The HSMLOG procedure, shown in Figure 89, is a procedure that formats and
prints the DFSMShsm log and places selected information in the edit log.
//HSMLOG JOB JOBPARM
//*
//**********************************************************************/
//* THIS SAMPLE JOB PRINTS THE DFSMSHSM LOG.
REPLACE THE UID VARIABLE */
//* WITH THE DFSMSHSM-AUTHORIZED USER ID ( 1 TO 7 CHARACTERS).
*/
//**********************************************************************/
//*
//PRINTLOG EXEC PGM=ARCPRLOG
//ARCPRINT DD SYSOUT=*
//ARCLOG DD DSN=UID.HSMLOGY1,DISP=OLD
//ARCEDIT DD DSN=UID.EDITLOG,DISP=OLD
//*
//EMPTYLOG EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT2 DD DSN=UID.HSMLOGY1,DISP=OLD
//SYSUT1 DD DUMMY,DCB=(UID.HSMLOGY1)
/*
Figure 89. Example of the HSMLOG Procedure
Note:
Do not compress the log data set that is used as input to the ARCPRLOG program. The log data set is created with RECFM=F, but is opened by ARCPRLOG for update with RECFM=U, which is not allowed for compressed data sets.
HSMEDIT procedure
The HSMEDIT procedure, shown in Figure 90 on page 318 and in the starter set in
“HSMEDIT” on page 142, is a procedure that prints the edit log.
Chapter 15. DFSMShsm libraries and procedures
317
//EDITLOG JOB JOBPARM
//*
//**********************************************************************/
//* THIS SAMPLE JOB PRINTS THE DFSMSHSM EDIT LOG.
REPLACE THE UID */
//* VARIABLE WITH THE DFSMSHSM-AUTHORIZED USER ID (1 TO 7 CHARACTERS). */
//**********************************************************************/
//*
//EDITLOG EXEC PGM=ARCPEDIT
//ARCPRINT DD SYSOUT=*
//ARCLOG DD DSN=UID.EDITLOG,DISP=SHR
/*
Figure 90. Example of the HSMEDIT Procedure
Note:
To send the output to a data set (see Figure 91), change ARCPRINT to:
//ARCPRINT DD DSN=uid.EDITOUT,DISP=(NEW,CATLG),UNIT=unitname,
//
//
VOL=SER=volser,SPACE=spaceinfo,
DCB=(RECFM=FBA,LRECL=133,BLKSIZE=26600)
Figure 91. Example of a Change to ARCPRINT
318
z/OS DFSMShsm Implementation and Customization Guide
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 3 Contents
- 9 Figures
- 11 Tables
- 13 About this document
- 13 Who should read this document
- 13 Major divisions of this document
- 14 Required product knowledge
- 14 z/OS information
- 15 How to send your comments to IBM
- 15 If you have a technical problem
- 17 Summary of changes
- 17 Summary of changes for z/OS Version 2 Release 3 (V2R3)
- 17 Summary of changes for z/OS Version 2 Release 2 (V2R2)
- 17 Summary of changes for z/OS Version 2 Release 1 (V2R1) as updated September 2014
- 18 z/OS Version 2 Release 1 summary of changes
- 19 Part 1. Implementing DFSMShsm
- 21 Chapter 1. Introduction
- 21 How to implement DFSMShsm
- 22 Starter set
- 22 Starter set adaptation jobs
- 23 Functional verification procedure (FVP)
- 25 Chapter 2. Installation verification procedure
- 27 Chapter 3. DFSMShsm data sets
- 27 Control and journal data sets
- 28 Preventing interlock of control data sets
- 28 Migration control data set
- 29 Migration control data set size
- 31 Backup control data set
- 32 Backup control data set size
- 34 Offline control data set
- 35 Offline control data set size
- 37 Enabling the use of extended TTOCs
- 37 Journal data set
- 38 Journal data set size
- 39 Migrating the journal to a large format data set
- 39 Updating IFGPSEDI for the enhanced data integrity function
- 40 Specifying the names of the backup data sets
- 40 Defining the backup environment for control data sets
- 41 Steps for defining the CDS and journal backup environment
- 43 Improving performance of CDS and journal backup
- 44 Monitoring the control and journal data sets
- 45 Reorganizing the control data sets
- 45 Control data set and journal data set backup copies
- 46 Storage guidance for control data set and journal data set backup copies
- 46 Size of the control data set and journal data set backup copies
- 47 Considerations for DFSMShsm control data sets and the journal
- 47 Backup considerations for the control data sets and the journal
- 47 Migration considerations for the control data sets and the journal
- 48 Volume allocation considerations for the control data sets and the journal
- 50 RACF considerations for the control data sets and the journal
- 50 Translating resource names in a GRSplex
- 50 Determining the CDS serialization technique
- 50 Using VSAM record level sharing
- 50 Requirements for CDS RLS serialization
- 51 Multiple host considerations
- 51 Required changes to the CDS before accessing RLS
- 51 VSAM RLS coupling facility structures recommendations
- 51 Required CDS version backup parameters
- 51 Invoking CDS RLS serialization
- 52 Using multicluster control data sets
- 52 Considerations for using multicluster control data sets
- 53 Converting a multicluster control data set from VSAM key range to non-key-range
- 53 Determining key ranges for a multicluster control data set
- 54 Multicluster control data set conversion
- 56 Changing the number of clusters of a multicluster control data set
- 56 Changing only the key boundaries of a multicluster control data set
- 57 Updating the startup procedure for multicluster control data sets
- 57 Updating the DCOLLECT JCL for multicluster control data sets
- 58 Using VSAM extended addressability capabilities
- 59 Converting control data sets to extended addressability with either CDSQ or CDSR serialization
- 59 DFSMShsm problem determination aid facility
- 59 Problem determination aid log data sets
- 60 Planning to use the problem determination aid (PDA) facility
- 60 Determining how long to keep trace information
- 60 Problem determination aid (PDA) log data set size requirements
- 61 Controlling the problem determination aid (PDA) facility
- 61 Allocating the problem determination aid (PDA) log data sets
- 62 Printing the problem determination aid (PDA) log data sets
- 62 DFSMShsm logs
- 63 DFSMShsm log data set
- 64 DFSMShsm log size
- 64 Optionally disabling logging
- 64 Printing the DFSMShsm log
- 64 Edit log data sets
- 65 Printing the edit log
- 65 Activity log data sets
- 66 Activity log information for the Storage Administrator
- 66 Activity log information for the System Programmer
- 66 Controlling the amount of information written to the activity logs
- 68 Controlling the device type for the activity logs
- 69 Considerations for creating log data sets
- 69 DFSMShsm small-data-set-packing data set facility
- 70 Preparing to implement small-data-set-packing data sets
- 70 Defining the size of a small user data set
- 70 Allocating SDSP data sets
- 70 Specifying the SDSP parameter on the ADDVOL statement
- 70 Data mover considerations for SDSP data sets
- 71 VSAM considerations for SDSP data sets
- 72 Multitasking considerations for SDSP data sets
- 76 System data sets
- 76 Data set with DDNAME of MSYSIN
- 76 Data set with DDNAME of MSYSOUT
- 77 Chapter 4. User data sets
- 77 User data sets supported by DFSMShsm
- 77 Physical sequential data sets
- 78 Physical sequential data sets and OSAM
- 78 Direct access data sets and OSAM
- 78 Direct access data sets
- 79 Hierarchical file system data sets
- 79 zFS data sets
- 79 Exceptions to the standard MVS access methods support
- 79 Size limit on DFSMShsm DASD copies
- 79 Supported data set types
- 79 Data set type support for space management functions
- 82 Data set type support for availability management functions
- 85 Chapter 5. Specifying commands that define your DFSMShsm environment
- 85 Defining the DFSMShsm startup environment
- 85 Allocating DFSMShsm data sets
- 86 Establishing the DFSMShsm startup procedures
- 86 Primary address space startup procedure
- 88 Secondary address space startup procedure
- 89 Establishing the START command in the COMMNDnn member
- 89 Establishing SMS-related conditions in storage groups and management classes
- 89 Writing an ACS routine that directs DFSMShsm-owned data sets to non-SMS-managed storage
- 90 Directing DFSMShsm temporary tape data sets to tape
- 91 Establishing the ARCCMDxx member of a PARMLIB
- 91 Modifying the ARCCMDxx member
- 91 ARCCMDxx member for the starter set
- 92 Issuing DFSMShsm commands
- 92 Implementing new DFSMShsm ARCCMDxx functions
- 92 Defining storage administrators to DFSMShsm
- 92 The RACF FACILITY class environment
- 92 The DFSMShsm AUTH command environment
- 93 Defining the DFSMShsm MVS environment
- 94 Specifying the job entry subsystem
- 94 JES3 considerations
- 95 Specifying the amount of common service area storage
- 96 Selecting values for the SETSYS CSA command subparameters
- 99 Specifying the size of cell pools
- 99 Specifying operator intervention in DFSMShsm automatic operations
- 99 Specifying data set serialization
- 100 Specifying the swap capability of the DFSMShsm address space
- 101 Specifying maximum secondary address space
- 101 Defining the DFSMShsm security environment for DFSMShsm-owned data sets
- 102 Determining batch TSO user IDs
- 102 Specifying whether to indicate RACF protection of migration copies and backup versions of data sets
- 103 Specifying security for scratched DFSMShsm-owned DASD data sets
- 104 Erase-on-scratch considerations
- 104 Defining data formats for DFSMShsm operations
- 105 Data compaction option
- 105 Compaction tables
- 106 Compaction percentage
- 107 Compaction considerations
- 108 Optimum DASD blocking option
- 108 Data Set Reblocking
- 108 Defining DFSMShsm reporting and monitoring
- 109 Controlling messages that appear on the system console
- 109 Controlling the output device for listings and reports
- 109 Controlling entries for the SMF logs
- 110 Defining the tape environment
- 110 Defining the installation exits that DFSMShsm invokes
- 110 Controlling DFSMShsm control data set recoverability
- 111 Defining migration level 1 volumes to DFSMShsm
- 111 Parameters for the migration level 1 ADDVOL commands
- 112 Using migration level 1 OVERFLOW volumes for migration and backup
- 113 User or system data on migration level 1 volumes
- 113 Defining the common recall queue environment
- 113 Updating the coupling facility resource manager policy for the common recall queue
- 114 Determining the structure size of the common recall queue
- 115 Altering the list structure size
- 115 How to alter the common recall queue list structure size
- 115 How to rebuild the common recall queue list structure size
- 116 Defining the common dump queue environment
- 116 Defining the common recover queue environment
- 116 Defining common SETSYS commands
- 119 Chapter 6. DFSMShsm starter set
- 119 Basic starter set jobs
- 119 Starter set objectives
- 119 Starter set configuration considerations
- 119 Setup requirements
- 120 Steps for running the starter set
- 124 HSMSTPDS
- 124 Member HSM.SAMPLE.CNTL
- 125 STARTER
- 127 Starter set example
- 142 Adapting and using the starter set
- 143 ARCCMD90
- 144 ARCCMD01
- 145 ARCCMD91
- 146 HSMHELP
- 159 HSMLOG
- 160 HSMEDIT
- 160 ALLOCBK1
- 163 ALLOSDSP
- 165 HSMPRESS
- 169 Chapter 7. DFSMShsm sample tools
- 169 ARCTOOLS job and sample tool members
- 171 Chapter 8. Functional verification procedure
- 171 Preparing to run the functional verification procedure
- 171 Steps for running the functional verification procedure
- 173 FVP parameters
- 173 Small-data-set-packing parameters
- 174 VSAM data set migration parameter
- 174 Tape support parameter
- 174 Dump function parameter
- 174 Jobs and job steps that comprise the functional verification procedure
- 174 Cleanup job
- 175 Job step 1: Allocate a non-VSAM data set and a data set to prime VSAM data sets
- 176 Job step SDSPA: Create small-data-set-packing (SDSP) data set
- 177 Job step 2: Print the data sets created in STEP 1 of job ?AUTHIDA
- 178 Job step 3 (JOB B): Performing data set backup, migration, and recall
- 179 Job step 4: IDCAMS creates two VSAM data sets
- 180 Job step 5 (JOB C): Performing backup, migration, and recovery
- 181 Job steps 6, 7, and 8: Deleting and re-creating data sets
- 182 Job step 9 (JOB D): Recovering data sets
- 183 Job steps 10 and 11 (JOB E): Listing recovered data sets and recalling with JCL
- 184 Job step 12 (JOB F): Tape support
- 185 Job step 13 (JOB G): Dump function
- 185 FVPCLEAN job
- 187 Chapter 9. Authorizing and protecting DFSMShsm commands and resources
- 187 Identifying DFSMShsm to RACF
- 188 Creating user IDs
- 188 Specifying a RACF user ID for DFSMShsm
- 188 Specifying a RACF user ID for ABARS
- 188 Associating a user ID with a started task
- 188 Method 1–RACF started procedures table (ICHRIN03)
- 190 Method 2–RACF STARTED class
- 190 Configuring DFSMShsm to invoke DFSMSdss as a started task
- 191 Identifying DFSMShsm to z/OS UNIX System Services
- 191 Authorizing and protecting DFSMShsm commands in the RACF FACILITY class environment
- 191 RACF FACILITY class profiles for DFSMShsm
- 192 Protecting DFSMShsm commands with RACF FACILITY class profiles
- 192 Protecting DFSMShsm storage administrator commands with RACF FACILITY class profiles
- 194 Protecting DFSMShsm user commands with RACF FACILITY class profiles
- 194 Protecting DFSMShsm user macros with RACF FACILITY class profiles
- 195 Creating the RACF FACILITY class profiles for ABARS
- 195 ABARS comprehensive RACF FACILITY class authorization
- 196 ABARS restricted RACF FACILITY class authorization
- 197 Creating RACF FACILITY class profiles for concurrent copy
- 197 Activating the RACF FACILITY class profiles
- 198 Authorizing commands issued by an operator
- 198 Protecting DFSMShsm resources
- 198 Protecting DFSMShsm data sets
- 199 Protecting DFSMShsm activity logs
- 199 Protecting DFSMShsm tapes
- 199 Defining RACF TAPEVOL resource classes
- 201 Defining the RACF environment to DFSMShsm
- 202 User-protecting tapes with RACF
- 203 Protecting scratched DFSMShsm-owned data sets
- 203 Authorizing users to access DFSMShsm resources
- 204 Protecting DFSMShsm commands in a nonsecurity environment
- 204 Authorizing and protecting DFSMShsm resources in a nonsecurity environment
- 207 Chapter 10. Implementing DFSMShsm tape environments
- 208 Tape device naming conventions
- 210 SMS-managed tape libraries
- 210 Steps for defining an SMS-managed tape library
- 211 Determine which functions to process in a tape library
- 211 Set up a global scratch pool
- 211 Define a storage class
- 211 Define a data class
- 212 Define a storage group
- 212 Set up the ACS routines
- 213 Define the DFSMShsm tape library environment in the ARCCMDxx PARMLIB member
- 213 Example: Defining a DFSMShsm environment for SMS-managed tape libraries
- 215 Converting to an SMS-managed tape library environment
- 216 Inserting DFSMShsm tapes into a tape library
- 216 Identifying tape library tapes
- 217 Introducing tape processing functions to the library
- 218 Scenario 1–Implementing migration processing in an automated tape library
- 219 Implementing migration processing in a manual tape library
- 219 Scenario 2–Implementing backup processing in an automated tape library
- 220 Implementing backup processing in a manual tape library
- 221 Scenario 3–Implementing control data set backup in an automated tape library
- 221 Implementing control data set backup in a manual tape library
- 222 Defining the tape management policies for your site
- 224 DFSMShsm tape media
- 224 Single file cartridge-type tapes
- 224 Multiple file reel-type tapes
- 225 Obtaining empty tapes from scratch pools
- 225 Global scratch pools
- 225 Specific scratch pools
- 227 Selecting output tape
- 227 Tape hardware emulation
- 228 Initial tape selection for migration and backup tapes
- 229 Subsequent tape selection for migration and backup tapes
- 229 Initial and subsequent selection of dump tapes
- 229 Selecting a scratch pool environment
- 230 Performance tape environment with global scratch pool for library and nonlibrary environments
- 231 Tape-capacity optimization tape environment with global scratch pool for library and nonlibrary environments
- 232 Media optimization for DFSMShsm-managed nonlibrary tape environment
- 233 Performance optimization for DFSMShsm-managed nonlibrary tape environment
- 234 Implementing a recycle schedule for backup and migration tapes
- 236 When to initiate recycle processing
- 237 How long to run recycle processing
- 238 Returning empty tapes to the scratch pool
- 238 Reducing the number of partially full tapes
- 239 Protecting tapes
- 240 RACF protection
- 241 Conversion from RACF TAPEVOL to RACF DATASET class profiles
- 241 Expiration date protection
- 242 Password protection
- 242 Dump tape security considerations
- 243 Removing the security on tapes returning to the scratch pool
- 243 Communicating with the tape management system
- 243 Defining the environment for the tape management system
- 245 Data set naming conventions
- 245 Managing tapes with DFSMShsm installation exits
- 245 Defining the device management policy for your site
- 245 Tape device selection
- 246 Nonlibrary tape device selection
- 246 Library tape device selection
- 246 Restricting tape device selection
- 248 Optimizing cartridge loaders by restricting output to devices with cartridge loaders
- 248 Summary of esoteric translation results for various tape devices
- 250 Tape device conversion
- 250 Reading existing data on new device types after a device conversion in a nonlibrary environment
- 251 Specifying whether to suspend system activity for device allocations
- 251 Specifying the WAIT option
- 252 Specifying the NOWAIT option
- 253 Specifying how long to allow for tape mounts
- 253 Specifying the tape mount parameters
- 254 Implementing the performance management policies for your site
- 254 Reducing tape mounts with tape mount management
- 254 Doubling storage capacity with enhanced capacity cartridge system tape
- 255 Doubling storage capacity with extended high performance cartridge tape
- 255 Defining the environment for enhanced capacity and extended high performance cartridge system tape
- 256 Utilizing the capacity of IBM tape drives that emulate IBM 3490 tape drives
- 256 Defining the environment for utilizing the capacity of IBM tape drives that emulate IBM 3490 tape drives
- 258 IBM 3590 capacity utilization considerations
- 258 Specifying how much of a tape DFSMShsm uses
- 260 Implementing partially unattended operation with cartridge loaders in a nonlibrary environment
- 260 Defining the environment for partially unattended operation
- 262 Improving device performance with hardware compaction algorithms
- 262 Specifying compaction for non-SMS-managed tape library data
- 263 Specifying compaction for tape library data
- 263 Creating concurrent tapes for on-site and offsite storage
- 264 Duplex tape creation
- 264 Duplex tape status
- 264 Duplex tape supported functions
- 265 Considerations for duplicating backup tapes
- 265 TAPECOPY of specific backup tapes
- 265 TAPECOPY of nonspecific backup tapes
- 265 Initial device selection
- 266 Tape eligibility when output is restricted to a specific nonlibrary device type
- 266 Tape eligibility when output is not restricted to a specific nonlibrary device type
- 267 Tape eligibility when output is restricted to specific device types
- 268 Allowing DFSMShsm to back up data sets to tape
- 269 Switching data set backup tapes
- 270 Fast subsequent migration
- 271 Chapter 11. DFSMShsm in a multiple-image environment
- 272 Multiple DFSMShsm host environment configurations
- 272 Example of a multiple DFSMShsm host environment
- 273 Defining a multiple DFSMShsm host environment
- 273 Defining a primary DFSMShsm host
- 273 Defining all DFSMShsm hosts in a multiple-host environment
- 274 DFSMShsm system resources and serialization attributes in a multiple DFSMShsm host environment
- 278 Resource serialization in a multiple DFSMShsm host environment
- 278 Global resource serialization
- 279 Serialization of user data sets
- 280 Serialization of control data sets
- 280 Serialization of control data sets with global resource serialization
- 282 Serialization of control data sets without global resource serialization
- 282 Serialization of DFSMShsm functional processing
- 282 Choosing a serialization method for user data sets
- 283 DFHSMDATASETSERIALIZATION
- 283 Performance considerations
- 283 Volume reserve considerations
- 283 USERDATASETSERIALIZATION
- 283 Converting from volume reserves to global resource serialization
- 284 Setting up the GRS resource name lists
- 284 Example: DFSMShsm serialization configuration
- 285 Alternate example: DFSMShsm serialization configuration
- 286 DFSMSdss Considerations for dumping the journal volume
- 287 DFSMShsm data sets in a multiple DFSMShsm host environment
- 287 CDS considerations in a multiple DFSMShsm host environment
- 288 Preventing interlock of DFSMShsm control data sets
- 288 VSAM SHAREOPTIONS parameters for control data sets
- 289 CDS backup version considerations in a multiple DFSMShsm host environment
- 289 DASD CDS backup versions
- 290 Tape CDS backup versions
- 290 Journal considerations in a multiple DFSMShsm host environment
- 290 Monitoring the control and journal data sets in a multiple DFSMShsm host environment
- 290 Problem determination aid log data sets in a multiple DFSMShsm host environment
- 290 DFSMShsm log considerations in a multiple DFSMShsm host environment
- 291 Edit log data set considerations in a multiple DFSMShsm host environment
- 291 Small-data-set-packing data set considerations in a multiple DFSMShsm host environment
- 291 SDSP data set share options
- 291 Maintaining data set integrity
- 292 Serialization of resources
- 292 Volume considerations in a multiple DFSMShsm host environment
- 292 JES3 considerations
- 293 Running automatic processes concurrently in a multiple DFSMShsm host environment
- 293 Multitasking considerations in a multiple DFSMShsm host environment
- 293 Performance considerations in a multiple DFSMShsm host environment
- 294 MASH configuration considerations
- 295 Chapter 12. DFSMShsm and cloud storage
- 295 Communicating the cloud password to DFSMShsm
- 296 Changing the cloud password
- 296 Cleaning up the cloud password
- 297 Enabling fast subsequent migration to cloud
- 297 OVMS Segment for DFSMShsm
- 299 Part 2. Customizing DFSMShsm
- 301 Chapter 13. DFSMShsm in a sysplex environment
- 301 Types of sysplex
- 301 Sysplex support
- 302 Single GRSplex serialization in a sysplex environment
- 302 Resource serialization in an HSMplex environment
- 302 Enabling single GRSplex serialization
- 302 Identifying static resources
- 303 Translating static resources into dynamic resources
- 304 Compatibility considerations
- 305 Secondary host promotion
- 305 Enabling secondary host promotion from the SETSYS command
- 306 Configuring multiple HSMplexes in a sysplex
- 307 Additional configuration requirements for using secondary host promotion
- 307 When a host is eligible for demotion
- 307 How secondary host promotion works
- 308 Promotion of primary host responsibilities
- 308 How auto functions affect secondary host promotion
- 309 Promotion of SSM host responsibilities
- 310 How the take back function works
- 310 Emergency mode considerations
- 311 Considerations for implementing XCF for secondary host promotion
- 311 Control data set extended addressability in a sysplex environment
- 311 Using VSAM extended addressability in a sysplex
- 311 Extended addressability considerations in a sysplex
- 311 Common recall queue configurations
- 313 Common dump queue configurations
- 315 Common recover queue configurations
- 317 Chapter 14. Calculating DFSMShsm storage requirements
- 317 DFSMShsm address spaces
- 318 Storage estimating considerations
- 318 Storage guidelines
- 319 Adjusting the size of cell pools
- 321 Chapter 15. DFSMShsm libraries and procedures
- 321 DFSMShsm libraries
- 321 Procedure libraries (PROCLIB)
- 321 Parameter libraries (PARMLIB)
- 322 Creating alternate DFSMShsm parameter library members
- 322 Commands for PARMLIB member ARCCMDxx
- 324 Command sequence for PARMLIB member ARCCMDxx
- 324 Sample libraries (SAMPLIB)
- 325 DFSMShsm procedures
- 325 DFSMShsm startup procedure
- 326 Startup procedure keywords
- 333 Startup procedure DD statements
- 334 ABARS secondary address space startup procedure
- 335 DFSMShsm installation verification procedure (IVP) startup procedure
- 335 DFSMShsm functional verification procedure (FVP)
- 335 HSMLOG procedure
- 335 HSMEDIT procedure
- 337 Chapter 16. User application interfaces
- 337 Data collection
- 337 Planning to use data collection
- 338 Choosing a data collection method
- 338 Choosing a report creation method
- 340 Choosing the type of report you want
- 342 The data collection environment
- 342 Data sets used for data collection
- 342 MCDS
- 342 BCDS
- 342 Snap processing data set
- 342 Collection data set
- 343 Data collection records
- 343 Data collection record header
- 344 Migrated data set information record
- 344 Backup version information record
- 344 DASD capacity planning records
- 344 Tape capacity planning records
- 344 Related reading
- 344 Invoking the DFSMShsm data collection interface
- 344 Invoking the ARCUTIL load module with the access method services (AMS) DCOLLECT function
- 345 Direct invocation of ARCUTIL load module
- 346 Invoking the ARCUTIL load module with a user-written program
- 350 Required parameters
- 350 Optional parameters
- 351 Output parameters
- 351 ARCUTIL return codes and reason codes
- 353 Chapter 17. Tuning DFSMShsm
- 353 Tuning patches supported by DFSMShsm
- 353 Changing DFSMShsm backup and migration generated data set names to reduce contention for similar names and eliminating a possible performance degradation
- 354 Migrating and scratching generation data sets
- 354 Migrating generation data sets
- 355 Scratching of rolled-off generation data sets
- 356 Disabling backup and migration of data sets that are larger than 64K tracks to ML1 volumes
- 356 Disabling, in JES3, the delay in issuing PARTREL (partial release) for generation data sets
- 357 Using DFSMShsm in a JES3 environment that performs main device scheduling only for tapes
- 357 Shortening the prevent-migration activity for JES3 setups
- 358 Replacing HSMACT as the high-level qualifier for activity logs
- 359 Changing the allocation parameters for an output data set
- 359 Changing the unit name
- 359 Changing the primary space quantity
- 359 Changing the secondary space quantity
- 360 Changing the limiting of SYSOUT lines
- 360 Using the DFSMShsm startup PARMLIB member
- 360 Buffering of user data sets on DFSMShsm-owned DASD using optimum DASD blocking
- 360 Changing parameters passed to DFSMSdss
- 361 Allowing DFSMSdss to load in its own address space through the cross memory interface
- 361 Invoking DFSMSdss for a full-volume dump
- 363 Processing partitioned data sets with AX cells
- 364 Enabling ABARS ABACKUP and ARECOVER to wait for a tape unit allocation
- 364 Changing the RACF FACILITY CLASS ID for the console operator’s terminal
- 365 Handling independent-software-vendor data in the data set VTOC entry
- 366 Allowing DFSMShsm automatic functions to process volumes other than once per day
- 366 Running automatic primary space management multiple times a day in a test environment
- 368 Running automatic backup multiple times a day
- 371 Running automatic dump multiple times a day in a test environment
- 372 Changing the frequency of running interval migration
- 373 Making the interval less frequent than one hour
- 373 Making the interval more frequent than one hour
- 374 Changing the frequency of running on-demand migration again on a volume that remains at or above the high threshold
- 375 Reducing enqueue times on the GDG base or on ARCENQG and the fully qualified GDS name
- 375 Modifying the migration queue limit value
- 376 Changing the default tape data set names that DFSMShsm uses for tape copy and full volume dump
- 376 Default tape data set names for DFHSM Version 2 Release 6.0
- 376 Default tape data set names for DFHSM releases prior to Version 2 Release 6.0
- 376 Preventing interactive TSO users from being placed in a wait state during a data set recall
- 377 Preventing ABARS ABACKUP processing from creating an extra tape volume for the instruction data set and activity log files
- 378 Preventing ABARS ABACKUP processing from including multivolume BDAM data sets
- 379 Specifying the amount of time to wait for an ABARS secondary address space to initialize
- 379 Patching ABARS to use NOVALIDATE when invoking DFSMSdss
- 379 Patching ABARS to provide dumps whenever specific errors occur during DFSMSdss processing during ABACKUP and ARECOVER
- 380 Routing ABARS ARC6030I message to the operator console
- 380 Filtering storage group and copy pool ARC0570I messages (return code 17 and 36)
- 381 Allowing DFSMShsm to issue serialization error messages for class transitions
- 381 Enabling ARC1901I messages to go to the operator console
- 381 Changing the notification limit percentage value to issue ARC1901I messages
- 381 Patching to prevent ABARS from automatically cleaning up residual versions of ABACKUP output files
- 382 Enabling the serialization of ML2 data sets between RECYCLE and ABACKUP
- 382 Changing the default number of recall retries for a data set residing on a volume in use by RECYCLE or TAPECOPY processing
- 383 Changing the default number of buffers that DFSMShsm uses to back up and migrate data sets
- 383 Changing the compaction-ratio estimate for data written to tape
- 383 Enabling the takeaway function during TAPECOPY processing
- 384 Changing the delay by recall before taking away a needed ML2 tape from ABACKUP
- 385 Disabling delete-if-backed-up (DBU) processing for SMS data sets
- 385 Requesting the message issued for SETSYS TAPEOUTPUTPROMPT processing be WTOR instead of the default WTO
- 385 Removing ACL as a condition for D/T3480 esoteric unit name translation
- 385 Restricting non-SMS ML2 tape volume table tape selection to the SETSYS unit name of a function
- 386 Changing the amount of time ABACKUP waits for an ML2 volume to become available
- 387 Changing the amount of time an ABACKUP or ARECOVER waits for a resource in use by another task
- 387 Preventing deadlocks during volume dumps
- 388 Modifying the number of elapsed days for a checkpointed data set
- 388 Running concurrent multiple recycles within a single GRSplex
- 389 Patching to force UCBs to be OBTAINed each time a volume is space checked
- 389 Running conditional tracing
- 389 Using the tape span size value regardless of data set size
- 390 Updating MC1 free space information for ML1 volumes after an return code 37 in a multi-host environment
- 390 Allowing DFSMShsm to use the 3590-1 generic unit when it contains mixed track technology drives
- 391 Allowing functions to release ARCENQG and ARCCAT or ARCGPA and ARCCAT for CDS backup to continue
- 392 Suppressing SYNCDEV for alternate tapes during duplex migration
- 392 Patching to allow building of a dummy MCD record for large data sets whose estimated compacted size exceeds the 64 KB track DASD limit
- 393 Allowing DFSMShsm to honor an explicit expiration date even if the current management class retention limit equals 0
- 393 Using the generic rather than the esoteric unit name for duplex generated tape copies
- 393 Modifying the allocation quantities for catalog information data sets
- 394 Enabling volume backup to process data sets with names ending with .LIST, .OUTLIST or .LINKLIST
- 394 Prompting before removing volumes in an HSMplex environment
- 394 Returning to the previous method of serializing on a GDS data set during migration
- 395 Allowing DFSMShsm to create backup copies older than the latest retained-days copy
- 395 Enabling or disabling RC 20 through RC 40 ARCMDEXT return code for transitions
- 396 Enabling FSR records to be recorded for errors, reported by message ARC0734I, found during SMS data set eligibility checking for primary space management
- 396 Patch for FRRECOV COPYPOOL FROMDUMP performance to bypass the EXCLUSIVE NONSPEC ENQ
- 396 Issuing the ABARS ARC6055I ABACKUP ending message as a single line WTO
- 397 Chapter 18. Special considerations
- 397 Backup profiles and the RACF data set
- 397 Increasing VTOC size for large capacity devices
- 397 DFSMShsm command processor performance considerations
- 398 Incompatibilities caused by DFSMShsm
- 398 Volume serial number of MIGRAT or PRIVAT
- 398 IEHMOVE utility
- 399 TSO ALTER command and access method services ALTER command
- 399 TSO DELETE command and access method services DELETE command
- 399 Data set VTOC entry date-last-referenced field
- 399 VSAM migration (non-SMS)
- 399 RACF volume authority checking
- 400 Accessing data without allocation or OPEN (non-SMS)
- 400 RACF program resource profile
- 400 Update password for integrated catalog facility user catalogs
- 400 Processing while DFSMShsm is inactive
- 401 DFSMShsm abnormal end considerations
- 401 Recovering DFSMShsm after an abnormal end
- 401 Recovering from an abnormal end of a DFSMShsm subtask
- 401 Recovering from an abnormal end of the DFSMShsm main task
- 401 Restarting DFSMShsm after an abnormal end
- 402 Suppressing duplicate dumps
- 402 Duplicate data set names
- 402 Debug mode of operation for gradual conversion to DFSMShsm
- 403 Generation data groups
- 403 Handling of generation data sets
- 404 Access method services DELETE GDG FORCE command
- 404 ISPF validation
- 404 Preventing migration of data sets required for long-running jobs
- 405 SMF considerations
- 405 DFSMSdss address spaces started by DFSMShsm
- 406 Read-only volumes
- 407 Chapter 19. Health Checker for DFSMShsm
- 409 Part 3. Appendixes
- 411 Appendix A. DFSMShsm work sheets
- 411 MCDS size work sheet
- 412 BCDS size work sheet
- 413 OCDS size work sheet
- 414 Problem determination aid log data set size work sheet—Short-term trace history
- 416 Problem determination aid log data set size work sheet—Long-term trace history
- 417 Collection data set size work sheet
- 419 Appendix B. Accessibility
- 419 Accessibility features
- 419 Consult assistive technologies
- 419 Keyboard navigation of the user interface
- 419 Dotted decimal syntax diagrams
- 423 Notices
- 425 Terms and conditions for product documentation
- 426 IBM Online Privacy Statement
- 426 Policy for unsupported hardware
- 426 Minimum supported hardware
- 427 Programming interface information
- 427 Trademarks
- 429 Index
- 429 Numerics
- 429 A
- 430 B
- 430 C
- 432 D
- 433 E
- 433 F
- 434 G
- 434 H
- 434 I
- 434 J
- 435 K
- 435 L
- 435 M
- 436 N
- 436 O
- 436 P
- 437 Q
- 437 R
- 438 S
- 440 T
- 440 U
- 440 V
- 441 W