Re: Console exits
On Tue, 25 Mar 2008 13:35:28 -0400, Mark Pace [EMAIL PROTECTED] wrote: I would like to write a console exit. I have an example for msg IEE362A, but it is a single line message. The message I want to trap and process is IEE391A which is a multiple line message. Can anyone point me at the manual that describes exits for the console? Don't bother, that wheel has been invented many times before. IMHO the best solution is TSSO off the CBT tape, but be sure to get the latest version from the Updates section. Browse through file 001 for other console exits. I put the MLWTO code into TSSO and I'm sorry but I can't remember what manuals. Certainly Volume 1 of System Messages for the message format and in the case of TSSO the Sub-System Intefaces guide. Do they still do System Exits? http://cbttape.org/ Good luck Dave -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
Thanks to all that made suggestions. IEFU29 was the easiest alternative, other than the IPL needed. ;-) -- Mark Pace Mainline Information Systems -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
Mark Pace wrote: Thanks to all that made suggestions. IEFU29 was the easiest alternative, other than the IPL needed. ;-) An IPL is not needed. IEFU29 is handle thru the dynamic exit facility, so you an issue a command to add it. The module can be loaded by the exit facility, or added to dynamic LPA. For more info on this see the PROGxx member in INIT and TUNING REF. -- Richard -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Console exits
I would like to write a console exit. I have an example for msg IEE362A, but it is a single line message. The message I want to trap and process is IEE391A which is a multiple line message. Can anyone point me at the manual that describes exits for the console? -- Mark Pace Mainline Information Systems -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pace Sent: Tuesday, March 25, 2008 12:35 PM To: IBM-MAIN@bama.ua.edu Subject: Console exits I would like to write a console exit. I have an example for msg IEE362A, but it is a single line message. The message I want to trap and process is IEE391A which is a multiple line message. Can anyone point me at the manual that describes exits for the console? -- Mark Pace MPF exits: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2e481/2.11 -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
Thanks, John. On Tue, Mar 25, 2008 at 1:40 PM, McKown, John [EMAIL PROTECTED] wrote: MPF exits: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2e481/2.11 -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology -- Mark Pace Mainline Information Systems -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
I don't know that it is. You will get re-entered for each line, and will need to keep track of the msgid as you can't be sure the lines will be presented consecutively for the same message for the same address space. A real problem if you have the potential for more than one address space to issue the message. I had written my code on the presumption that the WTOs were always issued from CONSOLE - and got bitten. To make matters worse, the time between the failure, and the first (somewhat arbitrary) abend was more than a day - very hard to debug. Good luck - a test LPAR is a must for this sort of thing. Shane ... Just looked up that message - are you looking to kick the dump job off automagically ???. That has been solved already - see the cbt/samplib. On Tue, 2008-03-25 at 13:35 -0400, Mark Pace wrote: I would like to write a console exit. I have an example for msg IEE362A, but it is a single line message. The message I want to trap and process is IEE391A which is a multiple line message. Can anyone point me at the manual that describes exits for the console? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
Yep - I had one setup and working. Then I changed the name of my MANx datasets, and then the message number changed! Changed from using SYS1.MANx datasets to SYS1.MISZOS.MANx it appears that the dump message has changed!?!?! From: *IEE362A SMF ENTER DUMP FOR SYS1.MAN2 ON PCAT01 To: *IEE391A SMF ENTER DUMP FOR DATA SET ON VOLSER PCAT01, 748 DSN=SYS1.MISZOS.MAN2 On Tue, Mar 25, 2008 at 3:16 PM, Shane [EMAIL PROTECTED] wrote: I don't know that it is. You will get re-entered for each line, and will need to keep track of the msgid as you can't be sure the lines will be presented consecutively for the same message for the same address space. A real problem if you have the potential for more than one address space to issue the message. I had written my code on the presumption that the WTOs were always issued from CONSOLE - and got bitten. To make matters worse, the time between the failure, and the first (somewhat arbitrary) abend was more than a day - very hard to debug. Good luck - a test LPAR is a must for this sort of thing. Shane ... Just looked up that message - are you looking to kick the dump job off automagically ???. That has been solved already - see the cbt/samplib. On Tue, 2008-03-25 at 13:35 -0400, Mark Pace wrote: I would like to write a console exit. I have an example for msg IEE362A, but it is a single line message. The message I want to trap and process is IEE391A which is a multiple line message. Can anyone point me at the manual that describes exits for the console? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- Mark Pace Mainline Information Systems -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
Mark Pace wrote: Yep - I had one setup and working. Then I changed the name of my MANx datasets, and then the message number changed! Changed from using SYS1.MANx datasets to SYS1.MISZOS.MANx it appears that the dump message has changed!?!?! From: *IEE362A SMF ENTER DUMP FOR SYS1.MAN2 ON PCAT01 To: *IEE391A SMF ENTER DUMP FOR DATA SET ON VOLSER PCAT01, 748 DSN=SYS1.MISZOS.MAN2 You could use the IEFU29 SMF exit for this rather than MPF. If you really want to use MPF, you could issue a message from IEFU29 that might be easier to work with. -- Richard -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Console exits
Use IEFU29 - the one in SAMPLIB has code to handle either. Minor modifications to get it working. Shane ... IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote on 26/03/2008 06:45:11 AM: Yep - I had one setup and working. Then I changed the name of my MANx datasets, and then the message number changed! Changed from using SYS1.MANx datasets to SYS1.MISZOS.MANx it appears that the dump message has changed!?!?! From: *IEE362A SMF ENTER DUMP FOR SYS1.MAN2 ON PCAT01 To: *IEE391A SMF ENTER DUMP FOR DATA SET ON VOLSER PCAT01, 748 DSN=SYS1.MISZOS.MAN2 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html