#1: JCL to release unused space in a group of datasets Author: ahethaysham ahmed, Location: houstonPosted: Thu Feb 06, 2003 4:56 pm Hi,
I am trying to run the ADRDSSU (Dfdss) pgm to release unused space in the datasets.
The JCL is like this
//DSSREST EXEC PGM=ADRDSSU,PARM='UTILMSG=YES'
//INDD DD DSN=T54VSFW.IMSLLIST.DATA,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
RELEASE -
FILTERDD(t61v01h.t.imstdu62.**) -
FORCECP (0)
/*
Even though i have eligible datasets, the job gives a RC of 4 with the following message
ADR470W (001)-RLSE0(02), NO DATA SETS SELECTED FOR PROCESSING
Can someone help ?
You are welcome to suggest alternatives, For example, there is a free command u can use in the 3.4 DSLIST option to free unused space and also this can be done with FileAid. But I want to use a JCL and automate it.
Please let me if you can use the File Aid FREE command in batch with Filtering criteria like in the JCL above
#2: Author: kolusu, Location: San JosePosted: Thu Feb 06, 2003 5:58 pm ahethaysham ahmed,
You should use INCLUDE/EXCLUDE condition for filtering the datasets. The parm filterdd is used with a DDNAME.You have given the dataset name with a wild card.