Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Include variables in SYSIN - workaround needed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
marisalondon

New User


Joined: 21 Aug 2009
Posts: 10
Location: London

PostPosted: Fri Sep 25, 2009 6:48 am    Post subject: Include variables in SYSIN - workaround needed
Reply with quote

Hi

I am trying to create a skeleton to rename one dataset. The name of the dataset is a variable, so it will not work if I include it as part of the SYSIN. I have tried the direct command as well as including the instruction in a dataset.

Any guidance or workaround?

I am using IDCAMS, with the command ALTER &NAME NEWNAME(&NAME..OLD)

Many thanks,
M
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Fri Sep 25, 2009 2:40 pm    Post subject: Reply to: Include variables in SYSIN - workaround needed
Reply with quote

Use the TSO RENAME command instead, since that could be passed via a PARM statement.
Back to top
View user's profile Send private message
marisalondon

New User


Joined: 21 Aug 2009
Posts: 10
Location: London

PostPosted: Fri Oct 30, 2009 10:50 am    Post subject:
Reply with quote

Thanks Kevin. It is working now.
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
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us