If the IBM debug tool uses it, can that interface be exposed to developers as an API for other applications to use (e.g., instruction trace utilities among others)? Hopefully as a callable service (assembler or MetalC would be fine) not requiring supervisor state or key zero?
Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Peter Relson Sent: Tuesday, June 25, 2019 7:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Use of "trap" facility in z/OS? <snip> The TRAP facility was originally implemented in the hardware for Y2K support. </snip> Not as far as I know. Remember, you need to update the DUCT (and of course need the authority to get into a state where you can do so) in order to have it work. It was implemented for debuggers. That's why there are both TRAP2 and TRAP4. The debug tool uses it. Peter Relson z/OS Core Technology Design -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN