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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

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