JCL to release unused space in a group of datasets
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Utilities

#1: JCL to release unused space in a group of datasets Author: ahethaysham ahmedLocation: houston PostPosted: 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: kolusuLocation: San Jose PostPosted: 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.

so change it to include and run the job.

Hope this helps...

cheers

kolusu



MVSFORUMS.com -> Utilities


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group