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.

Chapter 1. Introduction<br />

Using <strong>Comm<strong>and</strong>s</strong><br />

In this introduction, the term comm<strong>and</strong> is used generically; it refers to both <strong>CP</strong><br />

comm<strong>and</strong>s <strong>and</strong> <strong>CP</strong> utilities.<br />

z/<strong>VM</strong> uses comm<strong>and</strong> languages to correspond to the two environments it creates,<br />

control program <strong>and</strong> virtual machine.<br />

Use the control program (<strong>CP</strong>) comm<strong>and</strong> language when:<br />

v You are a z/<strong>VM</strong> system operator <strong>and</strong> you want to control the resources of the<br />

real machine located in your computer room.<br />

v You are a virtual machine user <strong>and</strong> you want to control your virtual machine’s<br />

configuration <strong>and</strong> environment.<br />

Use a virtual machine comm<strong>and</strong> language when:<br />

v You are communicating with the operating system you loaded into your virtual<br />

machine.<br />

To perform production or test work, load your virtual machine with one of the<br />

operating systems supported by the z/<strong>VM</strong> system. Your virtual machine comm<strong>and</strong><br />

language is the comm<strong>and</strong> language of the operating system you load. This<br />

comm<strong>and</strong> language is described in the library that documents that particular<br />

operating system.<br />

To perform service, installation, <strong>and</strong> maintenance tasks, along with editing<br />

<strong>and</strong> text creation, communicating with others, <strong>and</strong> problem solving, load<br />

your virtual machine with the conversational monitor system (CMS). CMS is a<br />

single user, conversational operating system.<br />

You can use <strong>CP</strong> comm<strong>and</strong>s whenever:<br />

v Your virtual machine is in the control program (<strong>CP</strong>) comm<strong>and</strong> environment. Your<br />

virtual machine is in the <strong>CP</strong> environment when you log on to z/<strong>VM</strong> <strong>and</strong> <strong>CP</strong> READ<br />

is displayed in the lower right-h<strong>and</strong> corner of the screen. On a line-mode ASCII<br />

device, there is no status area to display <strong>CP</strong> READ, so <strong>CP</strong> is displayed in the output<br />

area.<br />

v You press the break key while in full-screen mode before entering a comm<strong>and</strong>.<br />

(The break key may be PA1, the <strong>VM</strong> default break key, or another key that you<br />

have defined as the break key using the TERMINAL BRKKEY comm<strong>and</strong>. Also,<br />

the break key may be totally disabled by some application programs or when in<br />

the protected application environment.)<br />

v You are in a virtual machine comm<strong>and</strong> environment, not running in full-screen<br />

mode, <strong>and</strong> enter the #<strong>CP</strong> comm<strong>and</strong> (<strong>and</strong> # is your logical linend character).<br />

v You are in the CMS virtual machine environment <strong>and</strong> enter the <strong>CP</strong> comm<strong>and</strong>.<br />

v You are in the CMS virtual machine environment <strong>and</strong> have the IMP<strong>CP</strong> function<br />

set ON.<br />

To determine the current comm<strong>and</strong> environment on a 3270 device, look at the<br />

status area in the lower right-h<strong>and</strong> corner of the display screen. <strong>CP</strong> READ indicates<br />

the <strong>CP</strong> environment, <strong>and</strong> <strong>VM</strong> READ indicates the virtual machine environment. If you<br />

are running CMS in your virtual machine, <strong>VM</strong> READ indicates the CMS environment.<br />

When RUNNING appears in the status area, enter a null input line to determine your<br />

environment. (To enter a null line, press the ENTER key but do not enter any data.)<br />

© Copyright <strong>IBM</strong> Corp. 1991, 2004 1

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

Saved successfully!

Ooh no, something went wrong!