In our project we require that after every job run we want its joblog stored in txt file.
I tried to use After job Subroutine called DSJobReport to create txt file, but the report it gave was not exact replica of Director joblog.
For eg. I tried to abort a JOB and compare txt file created with director log. The txt file didnt gave me details of which record failuer happend and this info. was present in director log.
Regards,
Santosh
Taking Datastage JobLog snapshot in TXT file
Moderators: chulett, rschirm, roy
But logsum still have the problem that some log end with '...' if the statement is too long in director log.
you may build a routine to get the starttime and endtime to get the details which can solve the '...' problem
you may build a routine to get the starttime and endtime to get the details which can solve the '...' problem
ArndW wrote:Santosh,
if you use the command-line program dsjob you will see that it has options that allow you to get the job log information, if you redirect that to a sequential file you will have your result.
dsjob -logsum myproject myjob
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: