Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Protecting existing data on tape (SETROPTS TAPEDSN in effect) z/OS Security Server RACF Security Administrator's Guide SA23-2289-00 |
|
To protect an existing data set on a tape volume, issue the ADDSD command with the TAPE operand. (This requires that the TAPEDSN option be in effect.) If the data set is cataloged, you need to specify only the data set name. The following example shows how to protect a cataloged tape data
set named USER01.TEST.DATA:
If the cataloged tape data set resides on more than one volume (a multivolume tape data set), RACF® uses the data set name specified on the ADDSD command and the information supplied in the catalog to protect the data set on all of the volumes on which it resides. To protect an existing tape data set that is uncataloged, issue the ADDSD command with
the TAPE operand and specify:
For example, suppose you want to protect an uncataloged tape data
set named
USER03.TEST.DATA with a discrete RACF profile.
The data set resides on a tape volume labeled 123456 and has a file
sequence of 1. To protect this data set, enter:
From this information, RACF builds a discrete profile for both the data set and the tape volume. When you issue the ADDSD command to protect an existing tape data set, RACF creates an automatic tape volume profile. For more information, see Tape volume profiles that contain a TVTOC. Note that when you issue the ADDSD command to RACF-protect an uncataloged tape data set, you protect that data set only on the volume that you specify. If you have an uncataloged tape data set that resides on
more than one volume, you can RACF-protect this data set with a discrete
profile using several commands. For example, suppose you want to RACF-protect
a tape data set named USER02.TEST.DATA that resides on volumes 111111
and 222222.
|
Copyright IBM Corporation 1990, 2014
|