IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Change values in SYSIN member


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
Search our Forums:

Back to Top