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
 
How to change the dataset name in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to change the dataset name in JCL
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

Moderator Team Head


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

PostPosted: Tue Jul 12, 2005 9:30 pm    Post subject: Re: How to change the dataset name in JCL
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    Post subject:
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    Post subject:
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    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 Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us