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

SYSLOG Message ID Activated Assembly Program in MVS


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Dan Reyes

New User


Joined: 26 Oct 2008
Posts: 8
Location: Manila

PostPosted: Tue Jul 21, 2009 1:22 pm
Reply with quote

Hi,

Please give me an idea on how to do this, I have read somewhere that this is possible with HLASM. What I intend to do is to execute a program (assembly or JCL) using "START PROG_NAME" when a particular type of message (with specific message id) appears in the console.



Thanks,

Dan
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Jul 21, 2009 1:40 pm
Reply with quote

Do you not have anything like NETVIEW or CA-OPER (as it was called once) to do this for you.

Any operations automation tool will be able to do this for you.
Back to top
View user's profile Send private message
Dan Reyes

New User


Joined: 26 Oct 2008
Posts: 8
Location: Manila

PostPosted: Tue Jul 21, 2009 1:53 pm
Reply with quote

I'm not aware of anything like that installed in our z/OS. However, I found out that one of our programmers (already resigned) have done this in the past.


Thanks.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 21, 2009 5:15 pm
Reply with quote

The CBT tape has an automation tool, TSSO, that's free. If nothing else, you could download it and study the code to see how the console message intercept is being done. Or, study the code the other programmer wrote to see how it was accomplished.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Jul 21, 2009 6:13 pm
Reply with quote

I am not saying I would recommend this, but you could achieve the desired results by using MPF to intercept the message and invoke an exit to start the required job
Back to top
View user's profile Send private message
Dan Reyes

New User


Joined: 26 Oct 2008
Posts: 8
Location: Manila

PostPosted: Tue Jul 21, 2009 8:35 pm
Reply with quote

@expat
thank you so much!

@Robert
I'll try to test TSSO in our end. thanks

@nevilh
Can you show me a sample code to implement this? I'm really at lost on how to do this, thanks
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Jul 22, 2009 7:24 pm
Reply with quote

I think there is sample code on the CBT tape (public domain software) to use the MPF exit. Look at Use [URL] BBCode for External Links for details.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 23, 2009 1:10 am
Reply with quote

Hello,

I would suggest you talk with your systems programmer, but it appears that is you icon_smile.gif

Most of the systems i've supported for years have some sort of "console automation" software active. If there is not a senior systems person to ask, you might talk with the Operations or Scheduling people to find out if there is something that already automatically replies to certain console messages.

I would encourage using something standard (especially if it is already installed) rather than doing a "roll your own" with limited experience.
Back to top
View user's profile Send private message
Dan Reyes

New User


Joined: 26 Oct 2008
Posts: 8
Location: Manila

PostPosted: Thu Jul 23, 2009 6:38 am
Reply with quote

I have already found what I'm looking for in CBT Tape>TSSO>AOF. I have also traced the old program and I think a few modifications might suffice with the automation I wish to accomplish. Now, I have to choose if I install TSSO or just modify the old HLASM. I think I'll go with the second option and just install TSSO if I have the extra time.

Thanks for the help guys. icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 23, 2009 7:47 am
Reply with quote

Good luck - someone should be here if there are questions icon_smile.gif

d
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top