Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

MSGs from HSM activity logs to syslog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: MSGs from HSM activity logs to syslog
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 13, 2010 11:20 am    Post subject:
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: 2422
Location: Netherlands, Amstelveen

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

Maybe the next link will give some help :

http://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: 8593
Location: Back in jolly old England

PostPosted: Thu May 13, 2010 12:21 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 12:50 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 1:08 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 13, 2010 2:03 pm    Post subject:
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    Post subject: Reply to: MSGs from HSM activity logs to syslog
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 2:19 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 6:20 pm    Post subject:
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    Post subject: Reply to: MSGs from HSM activity logs to syslog
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Sun May 16, 2010 6:22 pm    Post subject:
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Sun May 16, 2010 8:39 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 24x7 online logs using DSN1LOGP (simi... SRICOBSAS DB2 3 Thu Aug 18, 2016 11:52 am
No new posts How to check the FTP logs in the Main... sivasaras JCL & VSAM 1 Mon Jul 29, 2013 6:46 pm
No new posts ICETOOL- syslog extract and transpose kushkush DFSORT/ICETOOL 37 Wed Aug 01, 2012 4:28 pm
No new posts Loading a certain set of job logs fro... vasanthz CA Products 5 Tue Dec 27, 2011 3:30 am
This topic is locked: you cannot edit posts or make replies. Activity / Trace logs in Mainframe anoop76_99 All Other Mainframe Topics 2 Fri Nov 11, 2011 10:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us