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
satya99
Participant
Posts: 104
Joined: Thu Nov 30, 2006 1:22 pm

hash file

Post by satya99 »

Hi,

How to find out which job is creating a particular hash file?

Thanks.
satya
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I found the following sql in one of the archives. Enjoy

Code: Select all

SELECT DS_JOBS.NAME AS JOB_NAME FMT '30L'
FROM DS_JOBS, DS_JOBOBJECTS
WHERE
DS_JOBOBJECTS.OLETYPE = 'CHashedInput' AND
DS_JOBOBJECTS.OBJIDNO = DS_JOBS.JOBNO AND
EVAL DS_JOBOBJECTS."@RECORD<6>" = 'Your Hashed File Name'
GROUP BY JOB_NAME;
Run the code from uv prompt from your unix prompt after logging into your project using LOGTO <<ProjectName>> or from DataStage Administrator.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply