plz guide me how to capture the logdetails

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
ysrini9
Participant
Posts: 108
Joined: Tue Jul 12, 2005 2:51 am

plz guide me how to capture the logdetails

Post by ysrini9 »

HI,

This is Regarding the serverjob.can you give me the guidence

EX: I Run the simple job.i would like to capture the log details into flatfile.

Thanks & with Regards

ysr
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Hello "ysr" & welcome to DSXChange!

There are a number of ways that you can transfer a job log to a flat file. The simplest method is to use the unix command line dsjob -logsum with appropriate sub-parameters. This outputs to standard output and you can redirect that to a file. If you use the search facility with keywords "dsjob" and "logsum" you'll see several pertinant posts as well.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The Director client has a Print option on its Project menu. When you open the print dialog, there is a Print to File check box. This is by far the easiest way to get a flat file containing logged events. You can apply a filter in Director before printing if, for example, you only want warnings and errors.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Madhav_M
Participant
Posts: 43
Joined: Sat Jul 10, 2004 5:47 am

Post by Madhav_M »

Ray,
I used this option to generate log details.
Is there is any way to avoid manual intervention.
I mean can we execute any commands to automate this for all jobs in a folder?

Thanks
Madhav
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

As ArndW suggested, you can use dsjob with logsum or other options you think will be useful. Alternatively you can read from the log object itself. Otherwise you can

The first option is simplest.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Madhav_M wrote:Ray,
I used this option to generate log details.
Is there is any way to avoid manual intervention.
I mean can we execute any commands to automate this for all jobs in a folder?

Thanks
Madhav
No. There isn't.
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