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.

DEFINE ALIAS<br />

Usage Notes<br />

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

ABBRevlength nn<br />

is the length of the smallest acceptable abbreviation of the alias that you are<br />

defining. The variable nn is a decimal number between 1 <strong>and</strong> the length of the<br />

full alias name.<br />

DISAble<br />

tells <strong>CP</strong> not to activate this alias until you enable it. (For more information about<br />

enabling aliases, see Usage Note 5.) If omitted, DISABLE is the default.<br />

ENable<br />

tells <strong>CP</strong> to immediately activate this alias.<br />

<strong>IBM</strong>class *<br />

tells <strong>CP</strong> to define aliases for all versions of the specified comm<strong>and</strong> or<br />

subcomm<strong>and</strong>. If omitted, <strong>IBM</strong>CLASS * is the default.<br />

<strong>IBM</strong>class c<br />

tells <strong>CP</strong> to define an alias for a specific version of the specified comm<strong>and</strong> or<br />

subcomm<strong>and</strong>. The variable c can be any 1 of the following:<br />

A this is a system-control comm<strong>and</strong> to be used by the primary system<br />

operator.<br />

B this is a comm<strong>and</strong> for operational control of real devices.<br />

C this is a comm<strong>and</strong> to alter system storage.<br />

D this is a comm<strong>and</strong> for system-wide control of spool files.<br />

E this is a comm<strong>and</strong> to examine system storage.<br />

F this is a comm<strong>and</strong> for service control of real devices.<br />

G this is a general-use comm<strong>and</strong> used to control the functions of a virtual<br />

machine.<br />

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

1. You can create many aliases for one comm<strong>and</strong>, but you cannot create an alias<br />

for an alias. For example, the <strong>CP</strong> MSG comm<strong>and</strong> is actually an alias for the <strong>CP</strong><br />

MESSAGE comm<strong>and</strong>:<br />

MSG ----> MESSAGE<br />

You can create another alias for the MESSAGE comm<strong>and</strong>:<br />

MSG ----> MESSAGE MSG ----> MESSAGE<br />

2. If you specify the QUERY, QUERY VIRTUAL, or SET oper<strong>and</strong>s, you are<br />

creating an alias for a subcomm<strong>and</strong>, not a comm<strong>and</strong>. For example, suppose<br />

you created alias TUBE for the <strong>CP</strong> QUERY VIRTUAL GRAF comm<strong>and</strong>. To<br />

invoke your new alias, you would enter QUERY VIRTUAL TUBE, not QUERY<br />

TUBE or just TUBE.<br />

3. When specifying an alias name, you can use special characters in the name.<br />

However, we do not recommend that you use the pattern matching characters (*<br />

<strong>and</strong> %). You can use these characters to define aliases, but they may seem<br />

confusing when you issue other comm<strong>and</strong>s that allow you to use the pattern<br />

matching characters because <strong>CP</strong> will interpret the % or * in your alias name as<br />

a pattern matching character.<br />

<strong>CP</strong> places no restriction on the use of special characters such as *, %, comma,<br />

(, ), blank, /, ;, $, #, <strong>and</strong> @ in comm<strong>and</strong> names. However, some External<br />

Security Managers (EMSs) restrict their use. Please consult your ESM<br />

documentation for information on restricted characters.

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

Saved successfully!

Ooh no, something went wrong!