Hi all,
I need to count the no of warning messages which present in the datastage director for the current job run.
Please suggest me some way to count the warning messages.
Regards
how to oount no of warning messages
Moderators: chulett, rschirm, roy
how to oount no of warning messages
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
dsjob -logsum Project Job | grep WARN | wc -l
Code: Select all
SELECT COUNT(*) FROM RT_LOGnnn WHERE SEVERITY = ('Warning' OR SEVERITY = 'Fatal') AND TIMESTAMP >= 'yyyy-mm-dd hh:mm:ss';
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: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: