All Type Sources and Target Audit report

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sekharnaskar
Premium Member
Premium Member
Posts: 16
Joined: Tue Nov 03, 2009 9:25 am

All Type Sources and Target Audit report

Post by sekharnaskar »

Hi,

How all type of Sources and Target Audit report or information could be created for whole Data Stage project Job wise? Means, how many different types of data sources and targets associated with all the DS Jobs. Is there any command available to get the information Job wise at Unix? In the designer/director level is it possible to generate ? For Windows environment what is the way to get the information ?

Thanking in advance.
Thanks,
Sekhar Naskar
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The approach I'd take would be to report all the link objects from the DS_JOBOBJECTS table, limiting OLETYTPE to just those that indicate that the link is an input link or an output link (for example WHERE OLETYPE LIKE '%put%').

This query could be executed from the Administrator client Command window or from within a dssh shell on the Engine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sekharnaskar
Premium Member
Premium Member
Posts: 16
Joined: Tue Nov 03, 2009 9:25 am

Post by sekharnaskar »

Thanks Ray.

I am using SELECT DS_JOBOBJECTS.NAME AS OBJECT_NAME,DS_JOBS.NAME AS JOB_NAME, DS_JOBOBJECTS.OLETYPE FROM DS_JOBOBJECTS WHERE DS_JOBOBJECTS.OLETYPE LIKE '%put%';

It is giving the result like below, where from it is not possible to get the information about what type dabase / File Stage is used.

OBJECT_NAME......... JOB_NAME............ OLEType.............

DSLink12 SEQ_LOAD_ECMS CJSActivityOutput
DSLink19 J_LOAD_C_L_CUST_CMNC CTrxOutput
ToInsert EUCAN_CUST_SIP_Updat CSeqOutput
LdReady EUCAN_CUST_SIP_Updat CTrxInput
OTHERWISE2 S_MSCRM_CHINA_OUTBOU CJSActivityOutput


Is there any other DS_JOBOBJECTS types available, where the information regarding the database type could be retrieved.
Thanks,
Sekhar Naskar
bob7027
Participant
Posts: 22
Joined: Wed Oct 03, 2012 2:49 pm
Location: United States

Post by bob7027 »

I am curious about this topic.
Can you please brief in detail where to check this detail job logs, i mean for audit purpose, such as how many rows it passed, inserted or rejected etc.,
can you let me know where did you use this DS_JOBOBJECTS table?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DS_JOBOBJECTS, as its prefix suggests, contains only design-time information, not runtime information.

Runtime information is stored in tables with RT_ prefix, particularly RT_STATUS.

Structure of these tables is not documented, but may be inferred from inspection of various header files. It is not a consistent structure; different record types use fields for different purposes.

Runtime information is also able to be stored in the common metadata repository (operational metadata) and/or in the database associated with the DataStage Operations Console (the latter in version 8.7 and later only).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
bob7027
Participant
Posts: 22
Joined: Wed Oct 03, 2012 2:49 pm
Location: United States

Post by bob7027 »

Thank you Ray for the information.
Post Reply