Event log table requirment through datastage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pran.praveen
Premium Member
Premium Member
Posts: 20
Joined: Tue Jun 22, 2010 9:02 am

Event log table requirment through datastage

Post by pran.praveen »

Hi all,
We need to create a event table which captures information of each event for each job which happens during running of job. The table(EVENT_LOG) will have below columns.
1)Event_code(text)
2)Event_type_txt(1) example:-Error,Warning, information
3)Event_message example :-message from code
4)Object_code example:- hard coded to file name or table name(source)
5)PK_field_name example: PK field name of source file or table
6)PK_field_value example : value of PK which caused the event
7)SRC_field_name example: secondary column which caused the event
8)SRC_Field_value example: column value which cause event may be a look up failure
9)Data_Record example:Actual record which caused the event.It should be same as what is in source.

is there any ways this can be done in Datastage. any suggestion where in we can create any other table to which can materialize this table.
Praveen
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What (precisely) do you mean by "event" here?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

It seems like DataStage used to have an option defaulted at version 8.0 or 8.1 to log the job log details into the XMETA database and it caused terrible performance problems. That option is probably still available for you to turn on if you dare.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply