Adding Job Parameters to All Jobs

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
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Adding Job Parameters to All Jobs

Post by asitagrawal »

Hi,

Is there any alternative way of adding new job parameters or including new Environment variables to all the existing jobs ?? :wink:
Share to Learn, and Learn to Share.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes.

You can hack the DS_JOBOBJECTS table. Of course you would need to know the structure of this table, which is not documented. Further, since the parameters collection location within the record is not in the file dictionary for DS_JOBOBJECTS an SQL-based approach is not available; it would have to be programmatic.

You can export the job(s) with default properties, add the new parameters, the import the job(s) overwriting their existing counterparts.

Each approach has its own special dangers.
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 »

Parameter Manager.

The KBA Job Control Utilities.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I don't think Dennis sells Parameter Manager any more. He sells Parameter Navigator instead.
Mamu Kim
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Hmm... ok, didn't realize that. Will Parameter Navigator do what the OP asks?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

It can do a lot more than that. It can change all parameter defaults in a project from DEV values to TEST values in one click after a little setup. That way someone does not update the wrong database by accident.
Mamu Kim
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I haven't spent a lot of time documenting all the features. Too much work. I would rather add value than sell more copies. You want it then buy it. It works well for me.
Mamu Kim
Post Reply