Parameter

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dslisa
Participant
Posts: 24
Joined: Mon Oct 27, 2008 6:48 pm

Parameter

Post by dslisa »

Hi,
I have jobs that get their parameter from a UNIX file at runtime. These files are designed to accomodate the changing values of different environments. The values of these files should override whatever the value is defined at job level. But lately this is not happening. Somehow the values are not being passed at runtime. I have tried defining those values as $PROJDEF, as environment variable, as just regualr parameters, but nothing seems to work. Does anyone have any idea what might be the problem?
Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, seeing as you haven't really given us much to go on. How, exactly, do these file values get read and passed as parameters to your jobs? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Nagaraj
Premium Member
Premium Member
Posts: 383
Joined: Thu Nov 08, 2007 12:32 am
Location: Bangalore

Post by Nagaraj »

May be they are using some kind of awk commands to read the parameter file which gets the parameters in the job running script.
this is a typical scenario.

But this should take the parameters correctly...are you getting any warning or errors?
Romy
Participant
Posts: 26
Joined: Thu Nov 13, 2008 3:37 am
Location: Chennai

Re: Parameter

Post by Romy »

Hi

Sometimes if you are geiven the default parameters in your job as 4, but you need only three parameters and pass only those 3 parameters from the UNIX script, then it wont work fine. Check the name of the parameter that you given in the parameter tab with that of the unix script. it is case sensitive.

Thanks...
Romy
Romy
Participant
Posts: 26
Joined: Thu Nov 13, 2008 3:37 am
Location: Chennai

Re: Parameter

Post by Romy »

Hi

Sometimes if you are geiven the default parameters in your job as 4, but you need only three parameters and pass only those 3 parameters from the UNIX script, then it wont work fine. Check the name of the parameter that you given in the parameter tab with that of the unix script. it is case sensitive.

Thanks...
Romy
dslisa
Participant
Posts: 24
Joined: Mon Oct 27, 2008 6:48 pm

Post by dslisa »

Hi,
Everything is consistent. Names, value.Still cannot figure out.
loe_ram13
Participant
Posts: 35
Joined: Thu Apr 12, 2007 1:17 am

Post by loe_ram13 »

Hi,
Can you type the command you are using for sending parmeters through unix and also mention the total parameters(name and expected value) used in your job.This can make things easy to give proper suggestion.
Thanks
Post Reply