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
 

 

Change values in SYSIN member

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

New User


Joined: 26 Sep 2006
Posts: 6

PostPosted: Wed Sep 27, 2006 6:07 pm    Post subject: Change values in SYSIN member
Reply with quote

//STEP1 EXEC MLOAD
//DATABASE SET DATABASE='$DEV'
//SYSIN DD DSN=A.B.C(D)

In member D, I have value '$DATABASE'. I want to change all occurance of '$DATABASE' to 'DEV'. I tried with IEBGENER/IEBCOPY/IEBUPDT and others. I couldn't abla to replace values in member.

MLOAD is load module in Teradata to load data into table from files.

My requirment is just to change DATABASE name in JCL '$DEV' to '$PROD' while moving code from development to Production.

//DATABASE SET DATABASE='$PROD'

I don't want to do it manually.. Like CHANGE ALL ..
Could you please help??
Thanks
Anand
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Wed Sep 27, 2006 8:43 pm    Post subject: Re: Change values in SYSIN member
Reply with quote

Anand:

The subject title for your post is "Change values in SYSIN member".

In the first line of your post, you state:
Quote:

In member D, I have value '$DATABASE'. I want to change all occurance of '$DATABASE' to 'DEV'.

I provided a possible solution to this in your other post for the same topic.

However, you then go on to state:
Quote:

My requirment is just to change DATABASE name in JCL '$DEV' to '$PROD'

Well, which is it? Do you need to change the contents of the PDS member, or do you need to change the contents of the job? You say:
Quote:

I don't want to do it manually.

How do you want this done? In batch? Through some sort of TSO or ISPF process?
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 BI,TO=ZD Changing Values Tyler Dunbar DFSORT/ICETOOL 4 Tue Jul 25, 2017 12:12 am
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm


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