Finding the jobs that use a field in a hash file

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
SonShe
Premium Member
Premium Member
Posts: 65
Joined: Mon Aug 09, 2004 1:48 pm

Finding the jobs that use a field in a hash file

Post by SonShe »

When a column is dropped from a hash file and the hash file is being used in many jobs, I would like to know if the column definition has been modified in all the jobs. I will appreciate a lot if any one can help me or give me any idea how I can get this detail.

Thanks.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Have a look at the FAQ on DataStage reporting options. Probably the easiest way is to load up the DataStage Reporting Assistant and write your own query to retrieve all jobs using that column.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you've been punctilious with maintaining the link between the table definition in the Repository and the Hashed File stages in all jobs (that is, always loading from or saving to the Repository), then you should be able to use Usage Analysis in the Manager to show you the jobs in which that table definition is used. Right click on each job in turn and choose Locate in Manager to select that particular job - this way you don't have to worry what category it is in - DataStage will find it for you.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Ray only developers down under are punctilious or are the only ones who would admit to it. :wink:
Mamu Kim
SonShe
Premium Member
Premium Member
Posts: 65
Joined: Mon Aug 09, 2004 1:48 pm

Post by SonShe »

Thank you all for the response.
Post Reply