Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to change the attributes of a dataset (PS/PO)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ravikumar15

New User


Joined: 27 Mar 2006
Posts: 64

PostPosted: Tue Aug 11, 2009 8:01 pm    Post subject: How to change the attributes of a dataset (PS/PO)
Reply with quote

I have a PDS. I want to increase the primary and secondary quantity as I am getting space abends since all the primary and secondary quantity have been used. Is there any utility or tool to increase the capacity of the dataset without taking back up of it.
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: Tue Aug 11, 2009 8:11 pm    Post subject:
Reply with quote

1) Taking a backup is the sensible thing to do
2) Use IEBCOPY to copy the PDS to a newname PDS
3) Use IDCAMS ALTER to rename the original PDS
4) See (3) - but for the new PDS
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Tue Aug 11, 2009 8:14 pm    Post subject:
Reply with quote

You can migrate it and recall it, it will give you a new primary space of the original pri+sec and you get 15 sec's again.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Aug 11, 2009 8:48 pm    Post subject:
Reply with quote

don't need to back it up. just copy it to a new pds allocated with more reasonable space, and then as expat said, rename the old and then the new.

this can all be accomplished in a 3.3 screen - then rename in 3.2 or 3.4.
and make the new pds a PDS-E.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Aug 11, 2009 8:57 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
this can all be accomplished in a 3.3 screen - then rename in 3.2 or 3.4.
and make the new pds a PDS-E.


Dick, I'd be careful suggesting that a PDS be converted to PDS/E. Our storage administrators and myself have been burned on numerous occasions trying to use PDS/E datasets. The main problem is that a PDS/E on one LPAR is un-readable on another even when they share DASD. This seems to be a unique issue with PDS/E, and so far I've not heard of any suggestions from the storage team to work around this problem.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Aug 12, 2009 12:36 pm    Post subject:
Reply with quote

thx for the tip kevin.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Aug 12, 2009 4:20 pm    Post subject:
Reply with quote

It's too late now that you've exhausted the space, but if you know you're going to need more space in the file, you can use a SPACE parameter in your JCL while outputting to the file to increase the secondary allocation.

There is a product on the CBT tape called PDS that can be very beneficial in dealing with partitioned data sets. If it is installed at your site, it would be worth investigating in case of future problems.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us