Delete Log

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
shrey3a
Premium Member
Premium Member
Posts: 234
Joined: Sun Nov 21, 2004 10:41 pm

Delete Log

Post by shrey3a »

Hi,

We have numerous prod jobs which makes the log full.

We have a scenario where we want to know which job has created the particular log.

Is there is any routine/ utility which can give the tell which log file is been created by which job.

Thanks in advance.....
Regards
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Search the forum, there's a method recently discussed to select from the DS_JOBS hash file to get a job's internal storage number. That number is used in the naming convention for the supporting hash files of a job design (RT_LOGnnnn being the one in which you're interested).
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
vcannadevula
Charter Member
Charter Member
Posts: 143
Joined: Thu Nov 04, 2004 6:53 am

Re: Delete Log

Post by vcannadevula »

shrey3a wrote:Hi,

We have numerous prod jobs which makes the log full.

We have a scenario where we want to know which job has created the particular log.

Is there is any routine/ utility which can give the tell which log file is been created by which job.

Thanks in advance.....
Regards

Easiest way is to go to the ADministrator and select the Command and run the following SQL

select * from DS_JOBS where NAME = 'jobname'

this will give you the RT_LOGNN number for the job.

do the select * from RT_LOGNN to see the logs.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Delete Log

Post by ray.wurlod »

shrey3a wrote:Hi,

We have numerous prod jobs which makes the log full.

We have a scenario where we want to know which job has created the particular log.

Is there is any routine/ utility which can give the tell which log file is been created by which job.

Thanks in advance.....
Regards
The Director client does this. Select the job in question, switch to Log view, and you're inspecting the correct log. Yay!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply