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.

DISABLE COMMAND / CMD<br />

Usage Notes<br />

Responses<br />

Messages<br />

0 (zero) this comm<strong>and</strong> has no specific <strong>IBM</strong> class assigned.<br />

1. To remove the comm<strong>and</strong> processing code from <strong>CP</strong>’s system execution space,<br />

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

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

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

3. To deactivate a <strong>CP</strong> comm<strong>and</strong> while defining it, use the DISABLE oper<strong>and</strong> of the<br />

DEFINE COMMAND or CMD comm<strong>and</strong> (page 134).<br />

If you disable a comm<strong>and</strong> that has an alias defined, then the alias will be<br />

treated as if it were also disabled.<br />

4. To activate a <strong>CP</strong> comm<strong>and</strong>:<br />

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

CMD comm<strong>and</strong> (page 134).<br />

v After defining it, use the ENABLE COMMAND or CMD comm<strong>and</strong> (page 426).<br />

5. To change the definition of an existing <strong>CP</strong> comm<strong>and</strong>, use the MODIFY<br />

COMMAND or CMD comm<strong>and</strong> (page 599).<br />

6. Once defined, comm<strong>and</strong>s, subcomm<strong>and</strong>s, <strong>and</strong> aliases cannot be deleted. They<br />

may be altered in various appropriate ways, but they remain in existence until a<br />

SHUTDOWN or RESTART IPL is done.<br />

7. To obtain information such as the enable/disable status <strong>and</strong> the name of the<br />

base comm<strong>and</strong> for a comm<strong>and</strong> or alias that is defined, use the QUERY<br />

<strong>CP</strong>CMDS comm<strong>and</strong> (page 728).<br />

8. To display the real address of the <strong>CP</strong> comm<strong>and</strong> table entry block, the current<br />

<strong>IBM</strong> class, <strong>and</strong> the current privilege class for a specified <strong>CP</strong> comm<strong>and</strong>, use the<br />

LOCATE CMDBK comm<strong>and</strong> (page 528).<br />

9. For more information about enabling <strong>and</strong> disabling comm<strong>and</strong>s, see the z/<strong>VM</strong>:<br />

<strong>CP</strong> Exit Customization book.<br />

Response 1:<br />

To disable the class D version of the <strong>CP</strong> PURGE comm<strong>and</strong>, but not the class G<br />

version of the <strong>CP</strong> PURGE comm<strong>and</strong>, enter the following:<br />

disable comm<strong>and</strong> purge ibmclass d<br />

Ready;<br />

Response 2:<br />

To disable the <strong>CP</strong> SHUTDOWN comm<strong>and</strong>, enter the following:<br />

disable comm<strong>and</strong> shutdown<br />

Ready;<br />

H<strong>CP</strong>002E Invalid oper<strong>and</strong> - oper<strong>and</strong><br />

H<strong>CP</strong>003E Invalid option - comm<strong>and</strong> contains<br />

extra option(s) starting with option<br />

H<strong>CP</strong>013E Conflicting option - option<br />

264 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

H<strong>CP</strong>6704E Missing token at end of line<br />

H<strong>CP</strong>6706E The variations of this message are as<br />

follows:<br />

v Invalid string - string

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

Saved successfully!

Ooh no, something went wrong!