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

Rename a PS through JCL


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

New User


Joined: 04 Aug 2005
Posts: 2

PostPosted: Thu Aug 04, 2005 10:02 pm
Reply with quote

Hi,

Help me to rename the PS through JCL
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Fri Aug 05, 2005 12:25 am
Reply with quote

Try IDCAMS with ALTER option.

Regds
-Som
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Aug 05, 2005 12:35 am
Reply with quote

Or use a plain old RENAME command in a batch TSO step.
Back to top
View user's profile Send private message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Wed Aug 10, 2005 1:31 pm
Reply with quote

hi i have given a eg program 4 rename
//332G JOB NOTIFY=DSRC332
//RENAME EXEC PGM=IEHPROGM 00020001
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD UNIT=SYSDA,DISP=SHR 00040003
//SYSUT2 DD UNIT=UNIT1,DISP=OLD 00050003
//SYSIN DD *
RENAME DSN=DSRC332.sarath.COBOL
NEWNAME=DSRC332.speed.COBOL
CATLG DSN=DSRC332.speed.COBOL
/*
//

Back to top
View user's profile Send private message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Wed Aug 10, 2005 1:33 pm
Reply with quote

sarath_ibm wrote:
hi i have given a eg program 4 rename
//332G JOB NOTIFY=DSRC332
//RENAME EXEC PGM=IEHPROGM 00020001
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD UNIT=SYSDA,DISP=SHR 00040003
//SYSUT2 DD UNIT=UNIT1,DISP=OLD 00050003
//SYSIN DD *
RENAME DSN=DSRC332.sarath.COBOL
NEWNAME=DSRC332.speed.COBOL
CATLG DSN=DSRC332.speed.COBOL
/*
//

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