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


Example: Checking for authorization

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

Use the commands in Figure 1 to perform these tasks:
  • Create or update the volume access list
  • Give the volume a TVTOC
  • Rebuild a tape volume set when a volume is removed from within, rather than from the end of the set, when a TVTOC is used.
Figure 1. Checking authorization
RACROUTE REQUEST=EXTRACT,CLASS=class,ENTITY=resource,TYPE=EXTRACT,
         RELEASE=1.8,SUBPOOL=0,SEGMENT=BASE,FIELDS=fields
ICHEINTY ALTER,TYPE='GEN',CLASS=class,ACTIONS=D,ENTRY=resource,
         RELEASE=1.8,OPTIONS=FLDEF
ICHEACTN FIELD=ACLCNT,FLDATA='DEL',GROUP=YES,
         RELEASE=1.8
RACROUTE REQUEST=EXTRACT,CLASS=class,ENTITY=resource,TYPE=REPLACE,
         RELEASE=1.8,SEGDATA=data,SEGMENT=BASE,FIELDS=fields
The variables in the examples have these meanings:
class - TAPEVOL
This field is 8 characters and contains the class name.
resource
This field is 6 characters and contains the name of the volume whose profile is being processed.
fields
Defines which fields are being extracted and updated. The field names used include: TVTOCCNT,VOLCNT,ACLCNT,VOLSER,OWNER,UACC,ACL.
data
data defines the fields that are being replaced. The field names used include: OWNER,UACC,ACL.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014