delete datastage log in director

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
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

delete datastage log in director

Post by Edwink »

hi friends,
we use invocation_id to run a job.so at the end of the day same job has run more than 10 times with different invocation_id .this creates several entries of same datastage jobs in director....
i want to delete the log entries created by the invocation _id..
does datastge have inbuilt routine? or any one faced similar issue in your poject.
your help is greatly appreciated!!!!!!!!! :o


Thanks
Edwin
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There's no delete by invocation id functionality. The auto-purge does by run or days interval only. You could figure out the SQL to do this against the log file after figuring out the internal job number. That's a lot of work, are you sure about this requirement?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Isn't one of the 'tricks' a recompile of the base job? I don't have this issue but I seem to remember that being one of the ways to clear all those invocations from the Director.
-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 »

Some sites have issues with compiling in a production environment.

Just out of curiosity does anyone know whether it's even possible to compile in a protected project? The site where I'm currently working does not use protected projects.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Nripendra Chand
Premium Member
Premium Member
Posts: 196
Joined: Tue Nov 23, 2004 11:50 pm
Location: Sydney (Australia)

Post by Nripendra Chand »

Only following operations we can do in protected project:

1- Run jobs
2- Set job properties
3- Set job parameter default values

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

Post by chulett »

I believe that the administrator userid can compile in a protected project.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

The original post is about purging by invocation id, which you all have ignored. The answer is no, there is no inherent mechanism for purging this way. It's either by run interval or date interval.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ken, no one has ignored anything, you've just taken a more literal interpretation of the problem. When the OP talked about deleting log entries, but makes comments like:
at the end of the day same job has run more than 10 times with different invocation_id .this creates several entries of same datastage jobs in director.... i want to delete the log entries created by the invocation _id
Our (or at least my) assumption was their actual desire was a common one - to remove all of the invocation instances from the Director display, not necessarily remove the actual log entries.

Without Edwin actually coming back to the thread, we won't know who has the RMM stage more fired up. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

thanks guys.. :)
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

I guess "by the invocation id" can be interpreted differently. The "the" seemed to mean a specific invocation id rather than all. The RMM stage failed me miserably. :(
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well, now hold on there partner. Edwin just said 'thanks' without letting us know which little pearl of wisdom he was thanking us for. The jury is still out. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply