table usage analysis

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
sri75
Premium Member
Premium Member
Posts: 132
Joined: Thu Sep 09, 2004 12:42 pm

table usage analysis

Post by sri75 »

HI,

I have 100 jobs in one project.We used one table as source in many jobs.I wanted to find all jobs ,thatt used the particular table as source.
We don't have any table definitions, so I saved table definition in repository under Saved category.I did usage analysis on this table definition,but it was not able to find any.


I tried with chuck smith's custom dsx file to find all jobs.
but it is giving table name and routine names in that particual job only.Can you please advice me how to use this custom job

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Doing the table metadata after the fact is too late.

For Chuck's utility, I load the output into a database table. Then you can simply query the field that contains your table (FILETABLENAME?) with a case insensitive wildcard match.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sri75
Premium Member
Premium Member
Posts: 132
Joined: Thu Sep 09, 2004 12:42 pm

Post by sri75 »

Thanks Craig.You mean ,do I need to run all 100 dsxs using the custom job
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I pull a single .dsx file with source from an entire project and load that. Simplest that way.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sri75
Premium Member
Premium Member
Posts: 132
Joined: Thu Sep 09, 2004 12:42 pm

Post by sri75 »

Craig,

The way you suggested to get the table names worked fine .Thanks
Post Reply