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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am


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