Analyzing 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
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Analyzing parameters

Post by vijaykumar »

Hi Gurus,

How can I deal with job parameters in production environment,since these parameters doesn't have default value.I means project level parameters can be assigned default values like $projdef, but joblevel parameters cannot be assigned, in that case how to deal with these parameters.

cheers;
vijay
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Re: Analyzing parameters

Post by narasimha »

vijaykumar wrote:joblevel parameters cannot be assigned, in that case how to deal with these parameters.
You can give default values for Job parameters. This is at the job level.
You can also set the default values in the Datastage Director.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,

Is there any way of identifying the project level parameters and job level parameters.I mean to can by seeing the parameter declaration can we identify whether its joblevel or project level.

#$param# = project level parameter
#param# = joblevel parameter.

am i going in the right way.

cheers;
vijay
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

vijaykumar wrote:#$param# = project level parameter
#param# = joblevel parameter.
That right 8)
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
I have searched the forum, and i found that there are several ways of declaring parameters.

one is through administratior- projectlevel parameters.
the other one is through sequencer assigning parameters and then allocate it to job activity.
The other way is .ini file and using dsset param.
I want to find the actual way of parameter.

$projdef---> the approach may differ , but i think the original value is stored in the dsparam file only.Am i going in the right way
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

vijaykumar wrote:I want to find the actual way of parameter.
There is no actual(strict) way.
You can do it as per your requirement

Not sure which file the original/default value of the Environment variables is stored in.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
One of my friend was saying that the actual way of the parameter is stored in DSPARAM file strictly.

when i declared at administrator, i could find actual way of parameters in DSPARAM FILE.
what abt when declared using .ini file and ds.param function.
My first question is can we declare any parameter in this way(using dsparam function)
#$username#,#$password#
Actually is there any other files that has these actual values.can u please list few files where there are chances of finding actual value of parameter

cheers;
vijay
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Are you referring to DSParam file. Its present in the your project directory.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Get some more knowledgable friends.

The name of the file is DSParams, and the only job parameters stored there are those set up as environment variables in the Administrator client. Other parameters are properties of the job or shared container, and therefore are stored in the DS_JOBOBJECTS table in the Repository. And any environment variable whose value is obtained via the $ENV default is not stored at all; it's obtained from the user's operating system shell.

There is NO function called DSParam().
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ray.wurlod wrote:Get some more knowledgable friends.
:lol: Dang, beat me to it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Saama
Premium Member
Premium Member
Posts: 83
Joined: Wed Nov 22, 2006 6:42 pm
Location: Pune
Contact:

Post by Saama »

Hi Gurus,
Thanks very much.
where is this DS_jobobjects table, i can't find in my repository.Is this visible in my repository branch or shall i use the administrative command inorder to access this table.

please help me.

cheers;
saama
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Saama wrote: shall i use the administrative command inorder to access this table.
Right.

Keep in mind, it is case sensitive - DS_JOBOBJECTS
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What do you want to get from DS_JOBOBJECTS pertaining to parameters?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply