Getting the job properties using the sql on file system.

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
ankur.lodha
Participant
Posts: 1
Joined: Wed Feb 08, 2006 10:25 pm
Location: india

Getting the job properties using the sql on file system.

Post by ankur.lodha »

I have a quire to get the all the hash file used in the jobs.

SELECT CATEGORY AS CATGRY, DS_JOBS.NAME AS JOB_NAME ,EVAL DS_JOBOBJECTS.'@RECORD<6>' COL.HDG 'LINK_NAME' ,'File Created in this Job ' AS FILE_TYPE FROM DS_JOBOBJECTS, DS_JOBS WHERE DS_JOBOBJECTS.OBJIDNO=DS_JOBS.JOBNO AND DS_JOBOBJECTS.OLETYPE = 'CHashedInput'

This will give me all the hash file created in the jobs for all the categories .


Similarly I am looking for a record, using which I can retrieve the source table name in the DRS for a particular job.

Is these records well documented somewhere.

Plz help.
:?:
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D

The full structure of the Repository tables is (deliberately, by the vendor) not documented.
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 »

http://www.dsxchange.com/viewtopic.php?t=93363&start=0 will show you the SQL. You need to add CATEGORY to this.
Mamu Kim
Post Reply