How to wite the log to a file

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
nk_bastia
Participant
Posts: 7
Joined: Fri May 26, 2006 12:18 pm

How to wite the log to a file

Post by nk_bastia »

hi,
i want to write the logs that we are getting in director to a file.


Regards,
nk.
balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Post by balajisr »

Search for 'dslogsum'
rafik2k
Participant
Posts: 182
Joined: Wed Nov 23, 2005 1:36 am
Location: Sydney

Post by rafik2k »

if you want to see summary log report, you can also use
dsjobreport, which can be called either before job subroutine or after sub routine.
see help file for more details
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

In basic help PDF 'basic.pdf', there lot of functions for this. You would have to use set of these to get the log in file.

Complexity depends on the format and details to which you need the logs. Search for some of these functions and you might get some of the code which can be reused.
Regards,
S. Kirtikumar.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In Director choose Print from the Project menu.

Within the Print dialog, select the Print to File check box.

This is the easiest solution to the original question.
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