IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to free unused space of the dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Mon Jan 21, 2008 10:58 am
Reply with quote

How to free unused space of the dataset? Suppose we have created a dataset with the property of SPACE=1 CYL and the used space is 5 TRKs so i want to release the unused SPACE allocated to the dataset.
I tried to use IEBCOPY but couldnt succeed.
Can any body help me on this?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Jan 21, 2008 12:31 pm
Reply with quote

Deepak,

Why dont you use RLSE (during creation) parameter for releasing unused but allocated space?
Back to top
View user's profile Send private message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Mon Jan 21, 2008 1:05 pm
Reply with quote

The datasets are already created and i want to release the unused space allocated to them.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 21, 2008 1:41 pm
Reply with quote

if the number is small

from ispf option 3.4 put an F in front of the dataset and it will free the unused space...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jan 21, 2008 5:36 pm
Reply with quote

Quote:
How to free unused space of the dataset? Suppose we have created a dataset with the property of SPACE=1 CYL and the used space is 5 TRKs so i want to release the unused SPACE allocated to the dataset.

If you allocate in CYL then RLSE parm in the JCL will release all unused cylinders and not the unused tracks within the last used cylinder.

The same is true for using F in 3.4
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top