Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
srajendran

New User


Joined: 25 Sep 2006
Posts: 22

PostPosted: Wed Mar 21, 2007 8:57 pm    Post subject: Increasing the space of the PDS without re-creating..
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

Site Director


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

PostPosted: Wed Mar 21, 2007 9:07 pm    Post subject:
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    Post subject: Re: Increasing the space of the PDS without re-creating..
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 22, 2007 3:43 pm    Post subject:
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: 22

PostPosted: Thu Mar 22, 2007 4:44 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 22, 2007 4:53 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Thu Mar 22, 2007 5:01 pm    Post subject: Re: Increasing the space of the PDS without re-creating..
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts Creating an 'Enter' event with IMS MF... dileep chirasani Java & MQSeries 1 Sat Aug 06, 2016 2:23 am
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us