Hi All
We have some jobs defined with some message handlers to handle the warnings at the job level. Is there any way to scan through the jobs and figure out if they have message handler defined for them? Is that possible ?
I would really appreciate all your time and inputs regarding.
Find Message Handlers defined
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
One way is to look at the job logs. If there is a message handler (or more than one) defined, then there will be an entry soon after the "job starting" event. If any message handler is invoked there is another log entry near the end of the job run summarising which message handlers were invoked.
Via the operating system is not as conclusive - you can find the message handler file for local message handlers associated with the job, but there are also global (named) message handlers. For these there's no convenient mechanism to determine to which jobs they're attached.
Via the operating system is not as conclusive - you can find the message handler file for local message handlers associated with the job, but there are also global (named) message handlers. For these there's no convenient mechanism to determine to which jobs they're attached.
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:
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
Project Level message handlers are applicable to all jobs unless it is overridden by local ones, from what I can recall. So if you are able to find the local ones then you can just invert the selection to find the project level message handlers are associated with which all jobs. IMO.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Actually it's THE project level default message handler - there can only be one of these. But there can be other named message handlers extant that are attached to zero or more jobs.
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.