Job Reports

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
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Job Reports

Post by cosec »

Currently I am using the DSJobReport in the after subroutine to view the job log. I would like my log to be exactly the same as shown in my director. For my job I would like this log to be in a certain directory. Where do I specify it ?
mceccaro
Participant
Posts: 9
Joined: Tue May 15, 2007 6:58 am
Location: Italy

Re: Job Reports

Post by mceccaro »

cosec wrote:Currently I am using the DSJobReport in the after subroutine to view the job log. I would like my log to be exactly the same as shown in my director. For my job I would like this log to be in a certain directory. Where do I specify it ?
After Job subroutine which writes a Job report to a file
InputArg is a string which can have 3 ';' seperated fields.
Field 1 specifies the report type(0, 1 or 2) as recognized by DSMakeJobReport.
Field 2 specifies the directory in which the report file will be written.
Field 3 can be used to specify the XSL stylesheet to be refernced in the generated
XML file for report type 2.
The generated file, basename JobName[-AliasId], for report types 0 or 1 will have a .txt suffix and for type 2 a .xml suffix.
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

You can get the log entries by various options in dsjob command -logsum, -logdetail, -report etc
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Post Reply