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.

Introduction<br />

Comm<strong>and</strong> Structure<br />

When you enter the null line, the status area displays either <strong>CP</strong> READ or <strong>VM</strong> READ.<br />

Also, if you are in a read state, in either the <strong>CP</strong> comm<strong>and</strong> environment (with RUN<br />

set OFF) or the CMS comm<strong>and</strong> environment, <strong>and</strong> you enter a null line, the system<br />

responds with the name of your comm<strong>and</strong> environment: <strong>CP</strong> or CMS in the system<br />

output area.<br />

To determine the comm<strong>and</strong> environment for a line-mode device, a null entry<br />

(carriage return with no data) yields <strong>CP</strong> or CMS in the system output area.<br />

You enter <strong>CP</strong> comm<strong>and</strong>s using any combination of uppercase <strong>and</strong> lowercase<br />

letters. When you have typed the comm<strong>and</strong> <strong>and</strong> its oper<strong>and</strong>s, press the ENTER<br />

key to process the comm<strong>and</strong>.<br />

You may enter comm<strong>and</strong>s from CMS EXEC procedures or applications. See z/<strong>VM</strong>:<br />

System Operation <strong>and</strong> z/<strong>VM</strong>: REXX/<strong>VM</strong> User’s Guide, <strong>and</strong> the description of<br />

DIAGNOSE X'08' in z/<strong>VM</strong>: <strong>CP</strong> Programming Services, for information on the<br />

programming interfaces for simulating the virtual console.<br />

When simulating a virtual console, keep the following considerations in mind:<br />

v Textual output from comm<strong>and</strong>s may change from release to release. In particular,<br />

comm<strong>and</strong> output that affects the way you use a terminal may be rearranged.<br />

NLS support may make the output available in multiple languages. Textual output<br />

is changed only when necessary.<br />

v Return codes remain relatively stable from release to release.<br />

A <strong>VM</strong> comm<strong>and</strong> line consists of a comm<strong>and</strong> name, usually followed by one or more<br />

positional oper<strong>and</strong>s. The general form for the <strong>CP</strong> comm<strong>and</strong> line is:<br />

comm<strong>and</strong> name oper<strong>and</strong>s<br />

You must use one or more blanks to separate each entry in the comm<strong>and</strong> line<br />

unless otherwise indicated.<br />

The Comm<strong>and</strong> Name<br />

The comm<strong>and</strong> name is an alphanumeric symbol, not more than twelve characters<br />

long. For example, DISCONNECT.<br />

In general, comm<strong>and</strong> names are verbs that describe the function you want the<br />

system to perform. For example, if you want to attach a real device to your virtual<br />

machine configuration, enter the ATTACH comm<strong>and</strong>.<br />

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

Comm<strong>and</strong> oper<strong>and</strong>s are keywords <strong>and</strong> positional symbols, usually no longer than<br />

eight alphanumeric characters.<br />

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

You use oper<strong>and</strong>s to specify the information on which the system will operate when<br />

it performs the comm<strong>and</strong> function. For example, you use the TERMINAL oper<strong>and</strong> in<br />

conjunction with the <strong>CP</strong> QUERY comm<strong>and</strong> to find out what terminal options are in<br />

effect for your virtual machine.

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

Saved successfully!

Ooh no, something went wrong!