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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ENABLE DIAGNOSE<br />

►►<br />

ENable<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<br />

Use ENABLE DIAGNOSE to permit <strong>CP</strong> to process requests for one or more<br />

locally-developed DIAGNOSE codes.<br />

You can also permit processing of locally-developed DIAGNOSE codes during<br />

initialization using the ENABLE DIAGNOSE configuration file statement. For more<br />

information, see the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong> Administration book.<br />

ALL<br />

tells <strong>CP</strong> to enable all existing DIAGNOSE codes.<br />

Note: This oper<strong>and</strong> enables all DIAGNOSE codes: the locally-defined ones, the<br />

<strong>IBM</strong>-supplied ones, <strong>and</strong> any supplied by third-party software vendors.<br />

diag<br />

diag1-diag2<br />

is the number of the DIAGNOSE code that you are enabling. Each diag must<br />

be a hexadecimal number between X'0000' <strong>and</strong> X'03FC' <strong>and</strong> must be a multiple<br />

of 4. You can specify a single DIAGNOSE code, a range of DIAGNOSE codes,<br />

or any combination thereof.<br />

1. To define a new DIAGNOSE code, use the DEFINE DIAGNOSE comm<strong>and</strong><br />

(page 160).<br />

2. To load the DIAGNOSE processing code into <strong>CP</strong>’s system execution space,<br />

use the <strong>CP</strong>XLOAD comm<strong>and</strong> (page 101).<br />

3. If you do not specify the ENABLE oper<strong>and</strong>, a new DIAGNOSE code is initially<br />

in a disabled state after being defined. <strong>CP</strong> treats disabled DIAGNOSE codes<br />

as if they were never defined. If you try to use a disabled DIAGNOSE code in<br />

a program, <strong>CP</strong> will give you a program check specification exception.<br />

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

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

5. To display information about a DIAGNOSE code (status, entry point name, <strong>and</strong><br />

privilege class), use the QUERY DIAGNOSE comm<strong>and</strong> (page 779).<br />

6. 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 />

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

ENABLE DIAGNOSE<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!