How to track which ETL job is loading 1 particular DB table

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

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

Post by chulett »

Nope. Create the metadata first then use it. The act of 'loading' or dragging the metadata into the job itself is what creates the link the Usage Analysis tool needs.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DSer wrote:Can we save the metadata definitiona at a later stage and use this method?
Yes, using Save from a job design also establishes a linkage that Usage Analysis and other analyses can use. (However it does not save format information for sequential files.)

During the Save dialog be systematic about your categories - don't simply dump everything into the Saved category!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSer
Participant
Posts: 9
Joined: Thu Nov 09, 2006 11:53 pm

Post by DSer »

Thanks for the info.

So does it mean that we can get the usage analysis for jobs refering to a particular table,

before we have saved the metadata and after we have saved?

Or it it only moving forward, after the save is done?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Before you have saved, NO.
After you have saved, YES. Even for extant jobs.

Going forward, learn to Import then Load, rather than need to Save. You will make fewer mistakes in this way.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Wnat to the table names

Post by samyamkrishna »

Hi,

I have a list of inactive jobs in the project.
I want to know the tables these jobs are using.
the tables may be source or target tables.
and the tables are teradata enterprise stages.

How do i get the list of tables in the project.

Thanks,
Samyam
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Post by samyamkrishna »

I tried this but this query gives a lot of details.
I need only the table name and the DB name.

select EVAL DS_JOBOBJECTS."@RECORD<29>" from DS_JOBOBJECTS where DS_JOBOBJECTS.NAME ='JxZZEXT_TYP_FACT_ENCS_DECS';


Thanks,
Samyam
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I think that question is far enough from the original topic of this thread to warrant your creating a new thread for it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Post by samyamkrishna »

I have tried everything mentioned in the thread.
its not working. so you are saying there is no way to get it.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, he's saying to stop hijacking this thread and create one of your own instead.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

The SQL in

viewtopic.php?t=99543

Will find any string in a job. Use it and see if you cannot find all the jobs using a specific table.
Mamu Kim
Post Reply