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
 

 

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

Active Member


Joined: 07 Feb 2009
Posts: 989
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: 6966
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: 4648
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: 6966
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: 7936
Location: Bellevue, IA

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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


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