Adding Parameters

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Did you check the function KBAGetParameterArray ?
karthi_gana
Premium Member
Premium Member
Posts: 729
Joined: Tue Apr 28, 2009 10:49 pm

Post by karthi_gana »

Sainath.Srinivasan wrote:Did you check the function KBAGetParameterArray ?
I got it...i just changed the path of the ini file from
\bis_data\msg\mfr\offshore\parameters\Parameter_offshore_funds.ini
to
/bis_data/msg/mfr/offshore/parameters/Parameter_offshore_funds.ini
i.e Backward slash to forward slash

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
karthi_gana
Premium Member
Premium Member
Posts: 729
Joined: Tue Apr 28, 2009 10:49 pm

Post by karthi_gana »

I fixed this one too..

he..he...it is my mistake :)

\bisdata\

\bis_data\
Last edited by karthi_gana on Tue Jul 27, 2010 2:47 am, edited 1 time in total.
Karthik
karthi_gana
Premium Member
Premium Member
Posts: 729
Joined: Tue Apr 28, 2009 10:49 pm

Post by karthi_gana »

karthi_gana wrote:I fixed this one too..

he..he...it is my mistake :)

\bisdata\

\bis_data\
But...the jobs were not initialized properly from the .csv file. :(
Looking it now...
Karthik
vivekgadwal
Premium Member
Premium Member
Posts: 457
Joined: Tue Sep 25, 2007 4:05 pm

Post by vivekgadwal »

karthi_gana wrote:
karthi_gana wrote:I fixed this one too..

he..he...it is my mistake :)

\bisdata\

\bis_data\
But...the jobs were not initialized properly from the .csv file. :(
Looking it now...
karthi_gana - Just a friendly advice (not to be misconstrued...)

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
creatingfusion
Participant
Posts: 46
Joined: Tue Jul 20, 2010 1:26 pm
Location: USA
Contact:

Post by creatingfusion »

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.
Post Reply