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
 

 

SYSLOG Message ID Activated Assembly Program in MVS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: SYSLOG Message ID Activated Assembly Program in MVS
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 21, 2009 1:40 pm    Post subject:
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    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 21, 2009 5:15 pm    Post subject:
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: 258

PostPosted: Tue Jul 21, 2009 6:13 pm    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

I think there is sample code on the CBT tape (public domain software) to use the MPF exit. Look at www.cbttape.org for details.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Jul 23, 2009 1:10 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Jul 23, 2009 7:47 am    Post subject: Reply to: SYSLOG Message ID Activated Assembly Program in MV
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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