|
View previous topic :: View next topic
|
| Author |
Message |
vamseepotti
New User
Joined: 21 Oct 2003 Posts: 45
|
|
|
|
How to change the Data set name in Procedure . Please let me know the answer.
Vamsee |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Your Subject says JCL. Your post says Procedure. Which is it?
Either way, you would edit the member and make the name change. |
|
| Back to top |
|
 |
Jagamohan
New User
.jpg)
Joined: 17 Jun 2005 Posts: 13 Location: Mumbai
|
|
|
|
Hi
Simply you can include a step
| Code: |
//step010 EXEC PGM=IDCAMS
//SYSIN DD *
ALTER old-dataset-name -
NEWNAME(new-dataset-name)
//SYSSNAP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSABOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*
|
|
|
| Back to top |
|
 |
anuradha
Active User

Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
Hi Vamsee!
| Quote: |
| How to change the Data set name in Procedure . Please let me know the answer |
You can use the symbolic parameters for the datasets in the proc. And then change the symbolic parameters as you like while executing the job.
Is this you are looking for? |
|
| Back to top |
|
 |
|
|