On Oct 28, 2007, at 9:02 AM, (IBM Mainframe Discussion List) wrote:

In a message dated 10/24/2007 12:52:33 PM Central Standard Time,
[EMAIL PROTECTED] writes:

I am curious If I > can induce a Machine check without actually messing with
the pysical machine...

Yes.  Any of the 6 interrupt classes can be induced as follows:  your
authorized program (must be authorized) simply does a LPSW that points to the new PSW location for the interrupt you wish to induce. The wisdom and repercussions
of doing this I leave to others.

If you wish the induced interrupt to cause a particular action, then you must first disable interrupts and store data in the POO-defined storages areas that that particular interrupt is involved with so that the interrupt processing routine will act as you wish. E.g., when a machine-check interrupt occurs, data is stored in the machine-check logout area that describes the exact nature and location of the failure. When an I/O interrupt occurs, two full words are stored in predefined areas in PSA that are related to the device from which
the interrupt came.

Be sure to do all this dangerous learning on a test system running under VM or on a P/390 where you have complete hands-on control and where no other work will be impacted, as you will also have the opportunity to do many reIPLs.

Bill Fairchild
Franklin, TN


Snip---------

Bill:

Which brings up an interesting point. Does a P390 have a machine check light on it? :)

Ed

----------------------------------------------------------------------
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

Reply via email to