View previous topic :: View next topic
|
Author |
Message |
jackzhang75
Active User
Joined: 09 Jun 2014 Posts: 125 Location: US
|
|
|
|
Hi ,
Just wordering is any way i can use rexx to rename sequential dataset name ? just like in jcl .
My jcl :
Code: |
//ALTER1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER TTAP.TSP.RSYNCSRT.SECKEYS -
NEWNAME(TTAP.TSP.RSYNCSRT.SECKEYS.WIND)
//* |
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Code: |
/* REXX*/
"ALTER TTAP.TSP.RSYNCSRT.SECKEYS",
"NEWNAME(TTAP.TSP.RSYNCSRT.SECKEYS.WIND)" |
[/code] |
|
Back to top |
|
|
Arunkumar Chandrasekaran
New User
Joined: 01 Jun 2010 Posts: 63 Location: India
|
|
Back to top |
|
|
jackzhang75
Active User
Joined: 09 Jun 2014 Posts: 125 Location: US
|
|
|
|
Hi prino,Thank you very much for your prompt reply!
It works ! only one thing is you need '' for data set , otherwise it system will automatically add your userid as HLQ.
Code: |
"ALTER 'TTAP.TSP.RSYNCSRT.SECKEYS'",
"NEWNAME('TTAP.TSP.RSYNCSRT.SECKEYS.MSGOFF')" |
|
|
Back to top |
|
|
|