z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Controlling RACF tape profile processing

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

You can control the actions that DFSMSrmm takes on RACF tape profiles through the DFSMSrmm OPTION TPRACF command and your installation's RACF options. For more information on OPTION TPRACF, see Defining system options: OPTION.

If you are running DFSMSrmm with DFSMShsm, see Securing tapes when running DFSMShsm and DFSMSrmm. See z/OS Security Server RACF System Programmer's Guide for information about RACF tape security. See z/OS MVS Initialization and Tuning Guide for information about DEVSUPxx tape security.

RACF provides these tape protection options:
  • No protection
  • TAPEVOL class
  • TAPEDSN option
  • TAPEVOL and TAPEDSN
DFSMS, with DEVSUPxx options, provides additional ways for you to select how tape data sets are protected. This includes:
  • TAPEAUTHDSN
  • TAPEAUTHF1
When you use TAPEAUTHDSN=YES, you override the RACF settings, and the DFSMSrmm TPRACF AUTOMATIC and PREDEFINED are not likely to be beneficial to you.

Independent of the TAPEAUTHDSN setting, DFSMSrmm TPRACF processing considers just the RACF tape protection options. Using those RACF options to protect volumes, you can specify one of these actions:

No protection
If neither TAPEVOL nor TAPEDSN is active then DFSMSrmm takes no action, regardless of the setting of the TPRACF option.
TAPEVOL
TPRACF(N)—no action.

TPRACF(P)—a TAPEVOL profile is created or deleted only as a result of issuing a DFSMSrmm ADD, CHANGE, or DELETE subcommand for a private volume from a RACF-protected pool. This includes scratch tapes that are assigned by the user or librarian by using the RMM GETVOLUME subcommand.

If you require tape volume protection for volumes that are used for nonspecific tape requests, you can either:

  1. Specify the JCL PROTECT=YES option, and DFSMSdfp processing protects the volume.

    Or

  2. Leave DFSMSrmm to protect the volume when a data set on the volume is closed, by creating a TAPEVOL profile.

DFSMSrmm automatically deletes any TAPEVOL profile for recycled scratch tapes when they return to scratch. If you use nonspecific mounts and scratch pools, no TAPEVOL profile exists while the volume is in scratch status.

TPRACF(A)—The same as TPRACF(P).

TPRACF(C)—DFSMSrmm processing is limited to cleaning up the existing TAPEVOL profile when volumes are deleted from a RACF-protected pool and when recycled scratch tapes return to scratch.

TAPEDSN
TPRACF(N)—no action.

TPRACF(P), TPRACF(C), and TPRACF(A)—The processing is the same for all options. DFSMSrmm does not cause any RACF profiles to be created at any time. During recycling or releasing of tapes, DFSMSrmm checks for discrete RACF data set profiles for data sets known to be on the volume, and automatically deletes them.

TAPEVOL and TAPEDSN
TPRACF(N)—no action.

TPRACF(A)—TAPEVOL profiles are created for identified, RACF- controlled, pools of non-scratch tapes when you use the RMM ADD, CHANGE and DELETE subcommands. No TVTOC is created in these circumstances.

DFSMSrmm assumes that correct DFSMSdfp and RACF processing, when a data set on a volume is opened, result in both TAPEVOL and discrete DATASET profiles being created. DFSMSrmm automatically deletes any such profiles for recycled scratch tapes when they return to scratch.

If a volume is unprotected when a data set on the volume is closed, DFSMSrmm automatically protects the volume with a TAPEVOL profile. If it is the first file of an IBM standard label tape being processed, DFSMSrmm creates a TVTOC containing an entry for the first file. This enables the installation to use RACF generic data set profiles to control access to the tape data sets, even when the JCL does not include the PROTECT=YES option.

TPRACF(P) processing is the same as TPRACF(A) except that all scratch tapes, whether defined by RMM TSO subcommand or returned to scratch by expiration processing, are protected by predefined RACF TAPEVOL profiles. The TAPEVOL profile includes an empty TVTOC so that RACF considers the volume to be scratch.

TPRACF(C)—DFSMSrmm processing is limited to cleaning up the existing TAPEVOL and discrete DATASET profile when volumes are deleted from a RACF-protected pool and when recycled scratch tapes return to scratch.

Table 1 shows DFSMSrmm processing when RACF is active and OPTION TPRACF is set for volume pools identified as DFSMSrmm and RACF-managed. The processing is dependent on the combinations of RACF TAPEVOL class and TAPEDSN option, and the TPRACF value. The DFSMSrmm EDGRMMxx parmlib VLPOOL RACF(Y) is in effect.

Table 1. RACF processing performed by DFSMSrmm
Command or Function TAPEVOL TAPEDSN TAPEVOL and TAPEDSN
ADDVOLUME MASTER For TPRACF(A/P):
  • Create TAPEVOL profile
  • Add access list built using the owner, user, and access information
No processing As for TAPEVOL
ADDVOLUME USER For TPRACF(A/P):
  • Create TAPEVOL profile
  • Add access list built using the owner, user, and access information
No processing As for TAPEVOL
ADDVOLUME MASTER PREVVOL For TPRACF(A/P):
  • Add to tape volume set
No processing As for TAPEVOL
ADDVOLUME USER PREVVOL For TPRACF(A/P):
  • Add to tape volume set
No processing As for TAPEVOL
ADDVOLUME SCRATCH No processing No processing If TPRACF(P)
  • Create TAPEVOL profile
  • Add a TVTOC if SL or AL.
DELETEVOLUME FORCE / REMOVE Delete TAPEVOL profile If data set records, delete tape data set profiles
  • Delete TAPEVOL profile
  • If data set records, delete tape data set profiles
DELETEVOLUME RELEASE No processing No processing No processing
CHANGEVOLUME RACK

Change of pool—RACF(Y) to RACF(N)

Delete TAPEVOL profile If data set records, delete tape data set profiles
  • Delete TAPEVOL profile
  • If data set records, delete tape data set profiles
CHANGEVOLUME RACK

Change of pool—RACF(N) to RACF(Y)

For TPRACF(A/P):
  • Create TAPEVOL profile
  • Add access list built using the owner, user, and access information
No processing As for TAPEVOL
CHANGEVOLUME OWNER OWNERACC PROT USERS For TPRACF(A/P):
  • Replace access list
No processing As for TAPEVOL
CHANGEVOLUME USER / MASTER

(not from SCRATCH)

No processing No processing No processing
CHANGEVOLUME USER / MASTER

(from SCRATCH)

GETVOLUME

For TPRACF(A/P):
  • Delete TAPEVOL profile
  • Create TAPEVOL profile
  • Add access list
If data set records, delete tape data set profiles As for TAPEVOL
CHANGEVOLUME PREVVOL For TPRACF(A/P):
  • Delete TAPEVOL profile
  • Add volume to tape volume set
No processing As for TAPEVOL
SCRATCH mount processing For TPRACF(A/P):
  • At close end-of-volume create a TAPEVOL profile if one does not exist and add OWNER as accessor
No processing For TPRACF(A/P):
  • At close/end-of-volume create a TAPEVOL profile if one does not exist and create a TVTOC containing first file data set and add OWNER as accessor
MASTER / USER mount processing No processing No processing No processing
Release processing

When volume returns to scratch

Delete TAPEVOL profile If data set records, delete tape data set profiles
  • Delete TAPEVOL profile
  • For TPRACF(P)
    • Create TAPEVOL profile
    • Add a TVTOC if SL or AL.
DELETEDATASET No processing Delete tape data set profile As for TAPEDSN
DELETEOWNER NEWOWNER As for CHANGEVOLUME OWNER As for CHANGEVOLUME OWNER As for CHANGEVOLUME OWNER

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014