IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MSGs from HSM activity logs to syslog


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Christian Birr

New User


Joined: 12 May 2010
Posts: 4
Location: Straßkirchen, Germany

PostPosted: Thu May 13, 2010 2:23 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 13, 2010 11:20 am
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 11:37 am
Reply with quote

Maybe the next link will give some help :

publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.idas200/actl.htm

Or use :

SETSYS ACTLOGTYPE SYSOUT(class)

Described in the same link.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 13, 2010 12:21 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 12:50 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 1:08 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 13, 2010 2:03 pm
Reply with quote

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
View user's profile Send private message
Christian Birr

New User


Joined: 12 May 2010
Posts: 4
Location: Straßkirchen, Germany

PostPosted: Thu May 13, 2010 2:14 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 2:19 pm
Reply with quote

ARC0263I defined with AUTO(YES) in MPF?
Automation (message) tables process this message (ignoring it?).
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 6:20 pm
Reply with quote

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
View user's profile Send private message
Christian Birr

New User


Joined: 12 May 2010
Posts: 4
Location: Straßkirchen, Germany

PostPosted: Sun May 16, 2010 5:40 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun May 16, 2010 6:22 pm
Reply with quote

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
View user's profile Send private message
Christian Birr

New User


Joined: 12 May 2010
Posts: 4
Location: Straßkirchen, Germany

PostPosted: Sun May 16, 2010 8:09 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun May 16, 2010 8:39 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 1
No new posts Capturing logs from spool dd JCL & VSAM 6
No new posts How to collect Job logs from $savers All Other Mainframe Topics 7
No new posts USS syslog how to All Other Mainframe Topics 5
No new posts CA Sysview - JCL or Rexx - Read or Ex... CA Products 4
Search our Forums:

Back to Top