-----------------------<snip>------------------------

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.
-----------------------------<unsnip>-------------------------
I've got a better idea: JUST SAY NO! I'm sure that whatever reason you may have for wanting to take this action, there's a better, and safer way, to accomplish your end.

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