Previous Topic: DSNAME Resource Class—Secure Data SetsNext Topic: DSPACE Resource Class—Restrict Access to Databases


Example: DSNAME resource class

This example gives the Inventory Department (INVDEPT) ownership of a data set known as UNSOLD.INV.MASTER.FILE:

TSS ADDTO(INVDEPT) DSNAME('UNSOLD.INV.MASTER.FILE')

This example removes ownership:

TSS REMOVE(INVDEPT) DSNAME('UNSOLD.INV.MASTER.FILE')

This example has USER01 access any data set prefixed by SFT:

TSS PERMIT(USER01) DSNAME(SFT.)

This eliminates the need to permit access to 'SFT.IMS.PROD' and 'SFT.IMS.SCEDS'.

This example revokes USER01's access to all data sets beginning with the prefix SFT:

TSS REVOKE(USER01) DSNAME(SFT.)