I've a requirement where i need to pass the contents of the log file of the last job ran to some text file.After passing to it i have to count the number of warnings present in the text file.
Just i want the contents of the last job ran not others...
Please provide pointers to this...
Reading Log file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 78
- Joined: Fri Mar 02, 2007 4:54 am
- Location: CHENNAI
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Do you want to use a job, a command or a routine to dump the log table contents into a text file?
Search the forum for techniques. There are many.
You can even count the warnings in a specific time range without dumping the contents to a text file, using the DataStage API function DSGetLogSummary (or the dsjob -logsum command).
Search the forum for techniques. There are many.
You can even count the warnings in a specific time range without dumping the contents to a text file, using the DataStage API function DSGetLogSummary (or the dsjob -logsum command).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 78
- Joined: Fri Mar 02, 2007 4:54 am
- Location: CHENNAI