searching parameter value within all DS jobs

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
eyabmo_rbc
Participant
Posts: 10
Joined: Tue Nov 20, 2007 7:15 am
Location: CANADA

searching parameter value within all DS jobs

Post by eyabmo_rbc »

Hi All;

Is it possible to search a job parameter value within all DS jobs.

for example , if i have a user variable name : v_table_name with a value of : table_1 in one of my DS jobs , and i wanted to see all other DS jobs using that parameter value ,, how would i go about that ?
E.M
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Would you be looking for the default value in the job definition or the historical values actually used at runtime?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

To paraphrase an old joke, if I were going there I would not be starting from here. This is something you really need to have planned for in advance, and used a tool such as Parameter Manager. About all you can do now is export the entire project and search the export file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
eyabmo_rbc
Participant
Posts: 10
Joined: Tue Nov 20, 2007 7:15 am
Location: CANADA

Post by eyabmo_rbc »

ArndW wrote:Would you be looking for the default value in the job definition or the historical values actually used at runtime? ...
am looking at the default value in the job definition
E.M
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Export the project and search the resulting dsx file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
eyabmo_rbc
Participant
Posts: 10
Joined: Tue Nov 20, 2007 7:15 am
Location: CANADA

Post by eyabmo_rbc »

chulett wrote:Export the project and search the resulting dsx file. ...
what i need is to be able to search within all projects , not just within 1 project , if that is possible.
E.M
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Export all of your projects then.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you want to get clever, build a job to pull the relevant parameter info out of the extract(s) and load it into a database - then query away!
-craig

"You can never have too many knives" -- Logan Nine Fingers
eyabmo_rbc
Participant
Posts: 10
Joined: Tue Nov 20, 2007 7:15 am
Location: CANADA

Post by eyabmo_rbc »

chulett wrote:If you want to get clever, build a job to pull the relevant parameter info out of the extract(s) and load it into a database - then query away! ...
when you have a project with 100 jobs its hard to trace , which job is this parameter belongs to ,, its gonna take long time i guess ,,
E.M
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I have projects with several thousand jobs. Properly setup your search shouldn't take all that much time to do, especially if you are querying a database table you created just for this.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply