Envirn Variables as Job 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

Post Reply
iwin
Premium Member
Premium Member
Posts: 99
Joined: Mon Apr 11, 2005 9:20 pm

Envirn Variables as Job Parameters

Post by iwin »

Hi Guys,
I have a job that has Envir variables declared as parameters in project level and i am now running this job from command line by dsjob which accept parameter file name. So if i declare the all parameters in this file with values , how do i utilize the envir variables as parameters. As the parameter file will overwrite the project level job parameter value. Do i dont need to declare the Project level job parametes in the parameter file?

Any Ideas.
Every person you meet knows something you don't, Learn from them.
-- H. Jackson Brown
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Don't declare them, let them 'default'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
iwin
Premium Member
Premium Member
Posts: 99
Joined: Mon Apr 11, 2005 9:20 pm

Post by iwin »

chulett wrote:Don't declare them, let them 'default'.
I have a job that has only Envir variables as parameters, so i would assume that there should be an empty parameter file for that job.

Thanks.
Every person you meet knows something you don't, Learn from them.
-- H. Jackson Brown
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

As Craig advised, dont pass any value any file. The job will pick it up from DSParams file during run time.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply