View previous topic :: View next topic
|
Author |
Message |
ashwini
New User
Joined: 02 Aug 2005 Posts: 8
|
|
|
|
hello there
Can we rename a pds. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Yes. |
|
Back to top |
|
|
manjunathabn
New User
Joined: 07 Nov 2005 Posts: 2 Location: Mysore
|
|
|
|
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 |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
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 |
|
|
shad
New User
Joined: 01 Mar 2006 Posts: 1
|
|
|
|
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 |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
Hi ashwini,
hope u got the solution... |
|
Back to top |
|
|
martijn
New User
Joined: 09 Mar 2006 Posts: 14 Location: The Netherlands
|
|
|
|
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 |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy there,
sorry, no comment!
martin9 |
|
Back to top |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
Thanks martijn, i was checking this in the board and found it thru search. |
|
Back to top |
|
|
|