27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Responses<br />

RC = 12<br />

Present the machine check then nullify the instruction. R2 will contain<br />

the address of the MCRBK which will contain the machine check<br />

information.<br />

RC = 16<br />

Generate machine check for processing damage, then go to<br />

H<strong>CP</strong>ENDOP to terminate the instruction.<br />

RC = 20<br />

Present the machine check, then go to H<strong>CP</strong>ENDOP to terminate the<br />

instruction. R2 will contain the address of the MCRBK, which contains<br />

machine check information.<br />

RC = 24<br />

Issue error message or soft abend for paging I/O error, then nullify the<br />

instruction. R1 has the message or abend number.<br />

If a return code is invalid (negative, not a multiple of 4 or too big ( RC > 24 )),<br />

then a soft abend will occur.<br />

12. The DEFINE COMMAND or DEFINE DIAGNOSE comm<strong>and</strong>s should not be<br />

used on a system with an active External Security Manager (ESM);<br />

unpredictable results could occur. To safely define a <strong>CP</strong> comm<strong>and</strong> add the<br />

DEFINE COMMAND or DEFINE DIAGNOSE statement to the SYSTEM<br />

CONFIG file <strong>and</strong> re-IPL the system. This allows the comm<strong>and</strong> <strong>and</strong> diagnose<br />

additions to control structures to be made prior to activating the ESM.<br />

13. For more information about user-defined DIAGNOSE codes, see the z/<strong>VM</strong>: <strong>CP</strong><br />

Exit Customization book.<br />

Response 1:<br />

To define a general purpose DIAGNOSE code (X'10C') that will be processed by<br />

entry point H<strong>CP</strong>SRC00, enter the following:<br />

define diagnose 10c epname hcpsrc00 privclasses g<br />

Ready;<br />

Response 2:<br />

To define DIAGNOSE code X'100' <strong>and</strong> make it available to users with privilege<br />

classes C or E, enter the following:<br />

define diagnose 100 epname qwerty privclasses ce<br />

Ready;<br />

enable diagnose 100<br />

Ready;<br />

query diagnose 100<br />

Code Status EPName PrivClasses<br />

0100 Enabled QWERTY CE<br />

Ready;<br />

Response 3:<br />

To define DIAGNOSE code X'18C' <strong>and</strong> make it available to all users, enter the<br />

following:<br />

define diagnose 18c epname hcpsrc00 privclassany<br />

Ready;<br />

enable diagnose 18c<br />

Ready;<br />

DEFINE DIAGNOSE<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 163

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!