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.

LOCATE DGNBK<br />

►►<br />

LOCate<br />

Authorization<br />

Purpose<br />

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

DGNBK<br />

Usage Notes<br />

▼<br />

diag<br />

diag1-diag2<br />

Privilege Class: C, E<br />

Use LOCATE DGNBK to display the real address of the <strong>CP</strong> DIAGNOSE code table<br />

block for a specific DIAGNOSE code.<br />

diag<br />

diag1-diag2<br />

is the number of the DIAGNOSE code whose real address you want to display.<br />

Each diag must be an existing DIAGNOSE code between X'0000' <strong>and</strong> X'03FC'<br />

<strong>and</strong> must be a multiple of 4. You can specify a single DIAGNOSE code, a range<br />

of DIAGNOSE codes, 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 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 />

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

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

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

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

LOCATE DGNBK<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 />

8. To remove the DIAGNOSE processing code from <strong>CP</strong>’s system execution<br />

space, use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> (page 107).<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!