Job Reports
Moderators: chulett, rschirm, roy
Job Reports
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 ?
Re: Job Reports
After Job subroutine which writes a Job report to a filecosec 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 ?
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.
-
- Participant
- Posts: 612
- Joined: Thu May 03, 2007 4:59 am
- Location: Melbourne
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>
<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>