MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCL to release unused space in a group of datasets

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ahethaysham ahmed
Beginner


Joined: 06 Feb 2003
Posts: 1
Topics: 1
Location: houston

PostPosted: Thu Feb 06, 2003 4:56 pm    Post subject: JCL to release unused space in a group of datasets Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Thu Feb 06, 2003 5:58 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group