View previous topic :: View next topic |
Author |
Message |
suren_343 Beginner
Joined: 09 Sep 2005 Posts: 7 Topics: 4
|
Posted: Tue Sep 20, 2005 1:21 am Post subject: How to alter the catalog information of a PDS? |
|
|
How to alter the catalog information of a PDS?
i.e. : Suppose if you want to increase the allocated tracks from 27 to 30, how to do that? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Sep 20, 2005 6:57 am Post subject: |
|
|
Suren_343,
You cannot increase the space of an existing PDS with IBM utilities. However if your shop has SERENA's STARTOOL then you can use the ADDCYLN option to increase the space. Also there are some thrid party tools on CBTTAPE (PDS.. ) which does the trick for you.
Simple technique is to create another PDS with your desired space parameters and then copy the old PDS to the new PDS. Delete the old PDS and rename the new PDS to the old PDS name.
Another alternative is to change the PDS to PDSE. Check this link which explains in detail about the differences between PDS and PDSE
http://www.mvsforums.com/helpboards/viewtopic.php?t=2117&highlight=pdse
Here is a JCL which will convert a PDS to PDS-E
Code: |
//STEP0100 EXEC PGM=ADRDSSU,REGION=6M
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY -
DATASET( -
INCLUDE(YOUR PDS)) /* COPY MY PDS DATA SET */ -
STORCLAS(XXXXXX) /* SET THE STORAGE CLS */ -
MGMTCLAS(YYYY) /* SET THE MGT CLASS */ -
REBLOCK(**) /* REBLOCKING IS WANTED */ -
CANCELERROR /* NO PER READ ERRORS */ -
CATALOG /* CATALOG NEW DATA SET */ -
DELETE PURGE /* DELETE UNEXPIRED DS */ -
TGTALLOC(CYL) /* ALLOC TARGET IN CYLS */ -
CONVERT(PDSE(**)) /* CONVERT PDS TO PDSE */ -
WAIT(10,10) /* 10 SEC <-> RETRIES */
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
suren_343 Beginner
Joined: 09 Sep 2005 Posts: 7 Topics: 4
|
Posted: Thu Sep 29, 2005 9:48 am Post subject: thanx lot |
|
|
thanx alot..its really useful |
|
Back to top |
|
|
|
|