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

How to change the dataset name in JCL


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

New User


Joined: 21 Oct 2003
Posts: 45

PostPosted: Tue Jul 12, 2005 8:41 pm
Reply with quote

How to change the Data set name in Procedure . Please let me know the answer.

Vamsee
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Tue Jul 12, 2005 9:30 pm
Reply with quote

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
View user's profile Send private message
Jagamohan

New User


Joined: 17 Jun 2005
Posts: 13
Location: Mumbai

PostPosted: Wed Jul 13, 2005 9:09 am
Reply with quote

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
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Jul 13, 2005 9:42 pm
Reply with quote

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
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top