Trace Job Deletion

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
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Trace Job Deletion

Post by myukassign »

I got a problem.

Today when I logged in to my development enviorment, I could see many of the jobs are got deleted.

Is there a way to find out / Trace how that happend, why that happend? Who has did that?

Is there any place Datastage keep track of these things? Any suggestion will be of great help.

Note: i ahve back up but want to find out what happend actully. Oops tracing is not enabled for hat project
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The DS.AUDIT table keeps track of the most recent time that an object was deleted, and by whom. Of course, it may be that nothing has been deleted and you can't see them because the indexing needs rebuilding.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

DataStage has "oops tracing"? Cool. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

how can i see the content of this DS.AUDIT table?

Is there a way i can query that
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use your Administrator client Command window.

Code: Select all

SELECT INSTANCE, PREVDTD, PREVDELETOR FROM DS.AUDIT WHERE PREV_DTD IS NOT NULL AND PREV_DTD <> '' AND CLASS = '2';
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

OOPS...

i got an error

"DataStage/SQL: Table "DS.AUDIT" does not exist."

What can be done on it?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's actually DS_AUDIT, I do believe.
-craig

"You can never have too many knives" -- Logan Nine Fingers
throbinson
Charter Member
Charter Member
Posts: 299
Joined: Wed Nov 13, 2002 5:38 pm
Location: USA

Post by throbinson »

And PREVDTD not PREV_DTD

Code: Select all

SELECT INSTANCE, PREVDTD, PREVDELETOR FROM DS_AUDIT WHERE PREVDTD IS NOT NULL AND PREVDTD <> '' AND CLASS = '2';
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:oops:
I cannot brain today; I have the dumb.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

Got it....

That solved my issue
Post Reply