Adding Parameters
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Premium Member
- Posts: 729
- Joined: Tue Apr 28, 2009 10:49 pm
I got it...i just changed the path of the ini file fromSainath.Srinivasan wrote:Did you check the function KBAGetParameterArray ?
to\bis_data\msg\mfr\offshore\parameters\Parameter_offshore_funds.ini
i.e Backward slash to forward slash/bis_data/msg/mfr/offshore/parameters/Parameter_offshore_funds.ini
I am able to load the parameter values now...But the job is not reading the .CSV file.
BATCH_MJC_ZFD..JobControl (KBAJobControl): Unable to open /bisdata/msg/mfr/offshore/log/BATCH_MJC_ZFD.csv
Karthik
-
- Premium Member
- Posts: 729
- Joined: Tue Apr 28, 2009 10:49 pm
I fixed this one too..
he..he...it is my mistake![Smile :)](./images/smilies/icon_smile.gif)
\bisdata\
\bis_data\
he..he...it is my mistake
![Smile :)](./images/smilies/icon_smile.gif)
\bisdata\
\bis_data\
Last edited by karthi_gana on Tue Jul 27, 2010 2:47 am, edited 1 time in total.
Karthik
-
- Premium Member
- Posts: 729
- Joined: Tue Apr 28, 2009 10:49 pm
-
- Premium Member
- Posts: 457
- Joined: Tue Sep 25, 2007 4:05 pm
karthi_gana - Just a friendly advice (not to be misconstrued...)karthi_gana wrote:But...the jobs were not initialized properly from the .csv file.karthi_gana wrote:I fixed this one too..
he..he...it is my mistake
\bisdata\
\bis_data\
Looking it now...
We understand that you are doing several iterations. However, you do not need to post here every few minutes you did a change on your end (kind of like Twitter). Post an entry or may be two with all your observations/questions. :D
Good luck...
Vivek Gadwal
Experience is what you get when you didn't get what you wanted
Experience is what you get when you didn't get what you wanted
-
- Participant
- Posts: 46
- Joined: Tue Jul 20, 2010 1:26 pm
- Location: USA
- Contact:
the ini file is not a feature of DataStage. You are probably running the DS Job from Unix command laine and passing the parameter as the name of the ini file.
All you need to take care is that you add/overwrite the new parameters you want in the .ini file and then further when you run the datastage job use the updated ini file .
A parameter set being different concept which is inbuilt feature in datastage and you group several parameters into a set and give it a particular name. When you develop the DS Job you add the parameter set name in it and while execution it shows all the parameters in the parameter set. You can modify the values of any parameter when you run the job else it takes the default values defined in it.
Abhijit.
All you need to take care is that you add/overwrite the new parameters you want in the .ini file and then further when you run the datastage job use the updated ini file .
A parameter set being different concept which is inbuilt feature in datastage and you group several parameters into a set and give it a particular name. When you develop the DS Job you add the parameter set name in it and while execution it shows all the parameters in the parameter set. You can modify the values of any parameter when you run the job else it takes the default values defined in it.
Abhijit.