z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Changing storage class with Copy

z/OS DFSMSdss Storage Administration
SC23-6868-01

Programming Interface Information
Programming Interface Information

You can use the STORCLAS keyword to specify a storage class name for DFSMSdss to pass to ACS. You can specify the NULLSTORCLAS keyword if you want DFSMSdss to pass a null storage class to ACS.

Note: RACF® checks if the RESOWNER of a given data set is authorized to define the data set with the specified STORCLAS. Ensure that the RESOWNER of the data set has the correct authority to use the indicated storage class.

Using STORCLAS does not guarantee that the data set is assigned the storage class you specify. To ensure that the storage class you specify is assigned to the data set, you must specify BYPASSACS. In this case, using BYPASSACS causes the storage class and management class ACS routines to be bypassed, so the data set is assigned whatever you have specified with STORCLAS or, if you do not use STORCLAS, whatever the source data set’s storage class is. Ensure that the storage class you specify with STORCLAS is valid, or you will get an error.

You can also use STORCLAS and BYPASSACS to move data sets into a newly defined storage class. For example, suppose you want to combine all your storage classes except two into one new, large storage class. You can code the following:

COPY  -
    DATASET(INCLUDE(**)  -
            BY(STORCLAS,NE,(SCNAME1,SCNAME2)))  -
    STORCLAS(SCNAME3)  -
    BYPASSACS(**)  -
    DELETE

If you specify NULLSTORCLAS and BYPASSACS together, the target data set becomes non-SMS-managed.

End Programming Interface Information
End Programming Interface Information

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014