There are a number of ways. Look at the 'Using the Sub-System Interface' manual, chapter 6, function 9. I have used that in the past, although that section now says:
The MCSOPER/MCSOPMSG macro services (also known as EMCS) are the recommended programming interface for receiving MVS messages. Chris Blaicher Principal Software Engineer, Software Development Syncsort Incorporated 50 Tice Boulevard, Woodcliff Lake, NJ 07677 P: 201-930-8260 | M: 512-627-3803 E: cblaic...@syncsort.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tsai Laurence Sent: Friday, February 01, 2013 8:08 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How to direct MVS CONSOLE message onto a log file (on windows or wintel linux) ? Dear listers, Questions as as the subject, trying to have some Wintel base monitoring tool to monitor the mvs console message , so I plan to have the MVS Console on P-comm directing to the log file. Any alternative ? Regards, Laurence ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ATTENTION: ----- The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN