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

Can we rename a PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashwini

New User


Joined: 02 Aug 2005
Posts: 8

PostPosted: Sun Nov 06, 2005 11:02 am
Reply with quote

hello there
Can we rename a pds.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Nov 06, 2005 9:35 pm
Reply with quote

Yes.
Back to top
View user's profile Send private message
manjunathabn

New User


Joined: 07 Nov 2005
Posts: 2
Location: Mysore

PostPosted: Mon Nov 07, 2005 1:59 pm
Reply with quote

Yeah...we can...Just go to DS list there u can find options where u can rename or delete or allocate PDS...
Back to top
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Fri Mar 03, 2006 10:25 pm
Reply with quote

one more thing u can do :

just type R against the datset which u want to rename it.

new pop up screen asks for the new name to be given to that dataset.
Back to top
View user's profile Send private message
shad

New User


Joined: 01 Mar 2006
Posts: 1

PostPosted: Sat Mar 04, 2006 6:00 am
Reply with quote

Hi , Yep a PDS can be rename'd as one of my friend told u can just give "r" and u vil be pop up'd with an window , just for renaming.And thats the way it vil work...

But must be sure .once u have done this dont forget to update the test of the other locations where the PDS is mentioned as if in Buffer and all .


Hope I am right . .


Thanks,
Guys icon_cool.gif
Back to top
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Wed Mar 15, 2006 5:34 pm
Reply with quote

Hi ashwini,

hope u got the solution...
Back to top
View user's profile Send private message
martijn

New User


Joined: 09 Mar 2006
Posts: 14
Location: The Netherlands

PostPosted: Wed Mar 15, 2006 8:44 pm
Reply with quote

To rename using a batch-job, you can do the following:
//* ------------------------------------------------------------------
//* *** <S010> RENAME 'OLD' DATASET TO 'NEW' DATASET
//* ------------------------------------------------------------------
//TSOBATCH EXEC PGM=IKJEFT01,REGION=4M
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RENAME 'XXXXX.OLD.DATASET' -
'XXXXX.NEW.DATASET'
/*
//* ------------------------------------------------------------------
//* *** <S020> RENAME 'OLDMEM' MEMBER TO 'NEWMEM' MEMBER
//* ------------------------------------------------------------------
//TSOBATCH EXEC PGM=IKJEFT01,REGION=4M
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RENAME 'XXXXX.TEST.PARMLIB(OLDMEM)' -
'XXXXX.TEST.PARMLIB(NEWMEM)'
/*
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 6:14 pm
Reply with quote

hy there,

sorry, no comment!

martin9
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Wed Sep 24, 2008 1:44 pm
Reply with quote

Thanks martijn, i was checking this in the board and found it thru search.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Rename dasd IBM Tools 11
No new posts Error during restore rename All Other Mainframe Topics 2
No new posts Generic rename by pattern‏ CLIST & REXX 6
No new posts IEHPROGM - HOW TO RENAME A PDS ? IBM Tools 7
No new posts How to use REXX to rename list of VSA... CLIST & REXX 10
Search our Forums:

Back to Top