View previous topic :: View next topic
|
Author |
Message |
Christian Birr
New User
Joined: 12 May 2010 Posts: 4 Location: Straßkirchen, Germany
|
|
|
|
Hi all,
I try to find out how to tell HSM to send certain messages to SYSLOG as well as to his activity logs. My problem: I want to intercept certain messages from the activity logs for automation purposes. I'm quite sure there is a way. I've been digging for a while now, searched this forum and I'm still lost...
Greetings from lower bavaria
Christian |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Unfortunately HSM tends to write its messages where it wants to write its messages.
What automation do you want to perform and why. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Peter, I did consider the ACTLOG but didn't feel that it would work given that the OP requested syslog rather than sysout. I don't think that the output will be accessible to things like NETVIEW or similar products as it will be just an ordinary sysout output rather than syslog. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Yes, expat i did consider that too. But maybe the sysout class could be
connected to an EMCS which could be automated. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Beside that, about which messages are we talking. ARCxxxx messages?
I think they go to the syslog, cause you will find them together with IEC
and/or IEF messages. Those ARC messages have to be defined in the
MPF and automation tables (talking SA/390 here) to act accordingly. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
PeterHolland wrote: |
Yes, expat i did consider that too. But maybe the sysout class could be connected to an EMCS which could be automated. |
Again unfortunately the sysout will not be released until end of step / job
I vaguely recall being able to close a log and start a new one using datasets, so maybe that may be an option. Start a new log dataset at predefined times and analyse the last one created.
Maybe it works with sysout too. At the moment I'm not in storage so can't play with my HSM toys. |
|
Back to top |
|
|
Christian Birr
New User
Joined: 12 May 2010 Posts: 4 Location: Straßkirchen, Germany
|
|
|
|
Thank you all so far for your suggestions. SETSYS ACTLOGTYPE changes the output class, but doesn't reroute to syslog, so it's not accessible to NETVIEW automation. I changed MPFLST in a first attempt to intercept ARC0263I (expiration of dump tapes), no joy. For a provisional solution I abused ARCTVEXT to do a WTO for the automation. Again, in syslog you receive only startup (if you wish), shutdown msgs and start/stop of automated function msgs, but no details like ARC0263I above.
Christian |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
ARC0263I defined with AUTO(YES) in MPF?
Automation (message) tables process this message (ignoring it?). |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
BirrConsulting GbR
Lindenstraße 39
94342 Straßkirchen
Thats nice. Asking here for solutions (you should know after 30 years
experience, according to your website) and then selling them for lots
of money?
How low can you go? |
|
Back to top |
|
|
Christian Birr
New User
Joined: 12 May 2010 Posts: 4 Location: Straßkirchen, Germany
|
|
|
|
PeterHolland wrote: |
BirrConsulting GbR
Lindenstraße 39
94342 Straßkirchen
Thats nice. Asking here for solutions (you should know after 30 years
experience, according to your website) and then selling them for lots
of money?
How low can you go? |
Why insulting me ? I'm not selling any solutions for big money. As I've mentioned before, MPFLST is set up ok and the the message isn't supressed anywhere. I know for sure now that detail msgs from ACTLOG don't show up in SYSLOG, the only way to intercept them is using HSM exits, in this case ARCTVEXT which I've done as I mentioned before...
Christian |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Anywhere a construct like the following in your automation tables? :
IF MSGID='ARC0263I' & TEXT=MESSAGE
THEN DISPLAY(N) NETLOG(N) SYSLOG(N) CONTINUE(Y); |
|
Back to top |
|
|
Christian Birr
New User
Joined: 12 May 2010 Posts: 4 Location: Straßkirchen, Germany
|
|
|
|
PeterHolland wrote: |
Anywhere a construct like the following in your automation tables? :
IF MSGID='ARC0263I' & TEXT=MESSAGE
THEN DISPLAY(N) NETLOG(N) SYSLOG(N) CONTINUE(Y); |
No, there is nothing in NETVIEWS MRT either. And if I WTO ARC0263I directly to SYSLOG it is not supressed what make me think that HSM does post this msg only in ACTLOG and therefore works as designed, aggee ?
Christian |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Thats what i should do too, a WTO with that message id.
Did you activate AUTOTEST for your message tables ? Eventually
for parallel testing?
Is the message maybe filtered in the automation policy ?
Im really astonished about this message cause anything i could find
about it was that it is/was written to the syslog. Even TBSM can collect
that message with a recovery run. |
|
Back to top |
|
|
|