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.

DEFINE DIAGNOSE<br />

DIAGNOSE code that you are defining. The variable name must be a 1- to<br />

8-character string. The first character must be alphabetic or one of the following<br />

special characters: dollar sign ($), number sign (#), underscore (_), or at sign<br />

(@). The rest of the string can be alphanumeric characters, the 4 special<br />

characters ($, #, _, <strong>and</strong> @), or any combination thereof.<br />

INVAR<br />

tells <strong>CP</strong> not to process this DIAGNOSE code if the virtual machine issuing the<br />

DIAGNOSE code is in host access register mode.<br />

INVXC<br />

tells <strong>CP</strong> not to process this DIAGNOSE code if the virtual machine issuing the<br />

DIAGNOSE code is in Enterprise System Architecture/Extended Configuration<br />

(ESA/XC) mode.<br />

MAC<br />

tells <strong>CP</strong> to enable m<strong>and</strong>atory access control (MAC) for the DIAGNOSE code<br />

that you are defining. When MAC is enabled for your DIAGNOSE code, the<br />

external security manager (ESM) compares the security label of the virtual<br />

machine that issued your DIAGNOSE code to the security label of the resource<br />

or user that your DIAGNOSE code will affect. If you want the ESM to<br />

dynamically turn MAC on or off for this DIAGNOSE code, specify the <strong>VM</strong>AC<br />

oper<strong>and</strong>.<br />

PRIVCLASSANY<br />

tells <strong>CP</strong> that users with any privilege class can issue the DIAGNOSE code that<br />

you are defining.<br />

PRIVclasses classes<br />

tells <strong>CP</strong> that only users with 1 or more of the specified privilege classes can<br />

issue the DIAGNOSE code that you are defining. The variable classes is 1 or<br />

more privilege classes in the range A through Z, 1 through 6, or an asterisk (*).<br />

Privilege class * indicates all privilege classes (A-Z <strong>and</strong> 1-6).<br />

Note: If you want more than one privilege class, specify your classes in one<br />

string of characters. Do not separate the classes with blank spaces. For<br />

example, specify “privclasses abc123”, not “privclasses a b c 1 2 3”.<br />

PROC<br />

tells <strong>CP</strong> that, after performing the initial privilege class checks, your DIAGNOSE<br />

code processor will be responsible for any further calls to the external security<br />

manager (ESM) for the DIAGNOSE code that you are defining.<br />

PROT<br />

tells the external security manager (ESM) to protect the DIAGNOSE code that<br />

you are defining. When protection is enabled for your DIAGNOSE code, the<br />

ESM checks an access list to ensure that the user who issued your DIAGNOSE<br />

code is authorized to do so. If you want the ESM to dynamically turn protection<br />

on or off for your DIAGNOSE code, specify the VPROT oper<strong>and</strong>.<br />

<strong>VM</strong>AC<br />

gives the external security manager (ESM) the power to dynamically turn<br />

m<strong>and</strong>atory access control (MAC) on or off.<br />

VPROT<br />

gives the external security manager (ESM) the power to dynamically turn<br />

DIAGNOSE code access protection on or off. If you specify PROT <strong>and</strong> VPROT<br />

for this comm<strong>and</strong>, you are enabling protection <strong>and</strong> allowing the external security<br />

manager (ESM) to dynamically disable that protection. If you specify VPROT<br />

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

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

Saved successfully!

Ooh no, something went wrong!