Hi everyone,
i tried to rename a DATASET which already exist
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY -
DATASET (INCLUDE(ABCD.**)) -
RENAMEU(ABCD.**,EFGH.**) -
CATALOG
But am getting the below message
ADR472E (001)-ALLOC(02), UNABLE TO SELECT A TARGET VOLUME FOR DATA SET ABCD.A1 IN CATALOG SYS1.UCAT.TSG,64
ADR472E (001)-ALLOC(02), UNABLE TO SELECT A TARGET VOLUME FOR DATA SET ABCD.A2 IN CATALOG SYS1.UCAT.TSG,64
And i saw in IBM LOOKAT and got the below
ADR472E (xxx)-mmmmm(yy), UNABLE TO SELECT A TARGET VOLUME FOR DATA SET
dsname [IN CATALOG catalog_name], reason_code
Explanation: DFSMSdss was unable to select a target volume from the available target volumes for one of the following reasons, (reason_code):
64
No output volume was specified for the COPY function, and the data set is not SMS-managed.
Application Programmer Response: Depending on the reason code, take the following action and rerun the job:
64
If you expect the target data set to be SMS-managed, ensure the ACS routine assigns a storage class or use the BYPASS ACS and STORCLAS keywords to force the data set to be SMS-managed.
i am not sure how to code the above and is there any JCL to run this ?