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
 

 

Can we rename a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Can we rename a PDS
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    Post subject:
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    Post subject: Re: Can we rename a PDS
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: 309
Location: Vizag / US

PostPosted: Fri Mar 03, 2006 10:25 pm    Post subject: Re: Can we rename a PDS
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    Post subject: Re: Can we rename a PDS
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: 309
Location: Vizag / US

PostPosted: Wed Mar 15, 2006 5:34 pm    Post subject: Re: Can we rename a PDS
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    Post subject:
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: 288
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 6:14 pm    Post subject:
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    Post subject:
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    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 Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Generic rename by pattern‏ Steve Coalbran CLIST & REXX 6 Mon May 30, 2016 9:34 pm
No new posts IEHPROGM - HOW TO RENAME A PDS ? WagnerBil IBM Tools 7 Wed Aug 12, 2015 6:08 pm
No new posts How to use REXX to rename list of VSA... jackzhang75 CLIST & REXX 10 Wed Jun 03, 2015 11:25 pm
No new posts Can i user rexx to rename sequential ... jackzhang75 CLIST & REXX 3 Sat Nov 15, 2014 1:11 am


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