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

Increasing the space of the PDS without re-creating..


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srajendran

New User


Joined: 25 Sep 2006
Posts: 24

PostPosted: Wed Mar 21, 2007 8:57 pm
Reply with quote

Hi,

I have a dataset that is full in allocation space. I need to increase the primary or the secondary space dynamically. That is i don't want to delete the dataset and then recreate the same..

please let me know how to do this...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 21, 2007 9:07 pm
Reply with quote

Hello,

Have you compressed the dataset?

If not, you can use TSO 3.4 to list the dataset(s) and place a Z in the command area beside the dsn.

If your pds has not been compressed, it will "fill up" even though there is much unused space.

If it really is full, one way to "expand" it is to allocate a new dataset with the increased space (be sure to allocate enough directory blocks as well as primary/secondary space). Copy all of the existing members to the new dataset. Rename the original dataset to another name (this is to have a backup). Rename the new dataset to the original dsn.
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Thu Mar 22, 2007 2:57 pm
Reply with quote

Hi Dick,

Can I increase the Directory blocks for a PDS once they are filled. Is it possible?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Mar 22, 2007 3:43 pm
Reply with quote

No, you can't to my knowledge.

That's why I always use PDSE
Back to top
View user's profile Send private message
srajendran

New User


Joined: 25 Sep 2006
Posts: 24

PostPosted: Thu Mar 22, 2007 4:44 pm
Reply with quote

hi,

Thanks for the repiles....

But the PDS's I specify are the Production libs and they cannot be re-created.

Please lemme know if there is any other way to do this...
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Mar 22, 2007 4:53 pm
Reply with quote

Well, they have to be recreated. Otherwise you can not add any more members to them.

Dick has given you the only option that I know about.

Not only is it the easiest way, it is also the safest way, as you retain the original file as a backup.

Only a PDSE will automatically add directory blocks as and when it needs tham.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 22, 2007 5:01 pm
Reply with quote

Hi!

Quote:
But the PDS's I specify are the Production libs and they cannot be re-created.


Why not ?

it looks like You have an organizational issue ...

Every organization has planned service outages for :

hardware maintenance/upgrade
software maintenance/upgrade
application maintenance/upgrade/recovery
database maintenance/reorganization/recovery

and also for :
library maintenance

i' s a problem which can be solved with just a little, very little, planning

regards
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Creating CSV file from Variable recs ... DFSORT/ICETOOL 11
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
Search our Forums:

Back to Top