Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Help me to rename the PS through JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
vrsenthil

New User


Joined: 04 Aug 2005
Posts: 2

PostPosted: Thu Aug 04, 2005 10:02 pm    Post subject: Help me to rename the 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
References
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 141

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: 3383
Location: Charlotte,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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1