Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Rename a PS through JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Rename a PS through JCL
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    Post subject:
Reply with quote

Try IDCAMS with ALTER option.

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

Moderator Team Head


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

PostPosted: Fri Aug 05, 2005 12:35 am    Post subject: Re: Help me to rename the PS through JCL
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    Post subject: hi
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    Post subject: Re: hi
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    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
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us