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.

QUERY DIAGNOSE<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

DIAGnose<br />

Usage Notes<br />

ALL<br />

▼<br />

diag<br />

diag1-diag2<br />

Privilege Class: A, C, E<br />

Use QUERY DIAGNOSE to display information (status, entry point names, <strong>and</strong><br />

privilege classes) about one or more DIAGNOSE codes.<br />

ALL<br />

tells <strong>CP</strong> to display information about all existing DIAGNOSE codes.<br />

diag<br />

diag1-diag2<br />

is the number of the DIAGNOSE code for which you want information. Each<br />

diag must be a hexadecimal number between X'0000' <strong>and</strong> X'03FC'. You can<br />

specify a single DIAGNOSE code, a range of DIAGNOSE codes, or any<br />

combination thereof.<br />

1. If you do not specify the ENABLE oper<strong>and</strong> on the DEFINE DIAGNOSE<br />

comm<strong>and</strong>, a new DIAGNOSE code is initially in a disabled state after being<br />

defined. <strong>CP</strong> treats disabled DIAGNOSE codes as if they were never defined. If<br />

you try to use a disabled DIAGNOSE code in a program, <strong>CP</strong> will give you a<br />

program check specification exception.<br />

2. To activate a new DIAGNOSE code:<br />

v While defining it, use the ENABLE oper<strong>and</strong> of the DEFINE DIAGNOSE<br />

comm<strong>and</strong> (page 160).<br />

v After defining it, use the ENABLE DIAGNOSE comm<strong>and</strong> (page 429).<br />

3. To change the definition of an existing DIAGNOSE code after initialization, use<br />

the MODIFY DIAGNOSE comm<strong>and</strong> (page 615).<br />

4. To display the real address of the <strong>CP</strong> DIAGNOSE code table block for a<br />

DIAGNOSE code, use the LOCATE DGNBK comm<strong>and</strong> (page 533).<br />

5. To deactivate a DIAGNOSE code:<br />

QUERY DIAGNOSE<br />

v While defining it, use the DISABLE oper<strong>and</strong> of the DEFINE DIAGNOSE<br />

comm<strong>and</strong> (page 160).<br />

v After defining it, use the DISABLE DIAGNOSE comm<strong>and</strong> (page 266).<br />

6. Many external security managers (ESMs) do not support DIAGNOSE codes<br />

above X'03FC'. For this reason, <strong>CP</strong> does not support DIAGNOSE codes above<br />

X'03FC'. The DIAGNOSE codes between X'0000' <strong>and</strong> X'03FC' are divided as<br />

follows:<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!