Page 1 of 1

How to find out which user deleted a particular job?

Posted: Wed Mar 14, 2007 12:16 am
by karthikgk0705
Hi,
We have a strange problem.
At times some or the other jobs are found missing in the project .
Is there any way to find out who has deleted that particular job?
Thanks in advance.

Posted: Wed Mar 14, 2007 12:38 am
by chulett
Only if that's something recorded in the DS_AUDIT table and I'm not sure if it is off the top of my head. Do an Exact match search of the site for DS_AUDIT, one of the existing posts should answer your question I would think.

Posted: Wed Mar 14, 2007 2:15 am
by loveojha2
At times some or the other jobs are found missing in the project .
Or the reason could be corruption of the (index) of datastage specific hashed files (sometimes such cases happened with us also) like DS_JOBS etc. Perhaps something that can't be logged. :)

Posted: Wed Mar 14, 2007 2:36 am
by kumar_s
You can track it by enabling the Server Side tracking from Adminstrator client. But it will record whole bunch of other activities as well.

Posted: Wed Mar 14, 2007 3:20 am
by loveojha2
Hey Kumar, I saw the tracing file that you are reffering to, but I am not really sure if any body can actually understand it and use it. Its huge and very difficult to make sense of what is really logged.

Did you get any chance any time to use it for such purposes?

Posted: Wed Mar 14, 2007 3:23 am
by kumar_s
We faced the same problem once and enabled the trace, but the other effect of the track made us to feel more irritated than secured. And forced us to concentrate on Version control.

Posted: Wed Mar 14, 2007 6:50 am
by ray.wurlod
DS_AUDIT does record the most recent time that an object was deleted, and by whom. Of course, if everyone logs in using the same user ID, that's not much help, though you can establish the time.

LIST.DICT DS_AUDIT to get the column names for your query - from memory you need LAST.DELETED and DELETOR (something like that anyway). Constrain WHERE @ID LIKE '%<<Job Name>>%'

Posted: Wed Mar 14, 2007 4:15 pm
by kumar_s
PREVDELETOR and PREVDTD gives the user and the Date on which the job has been deleted.