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.

SEND<br />

►►<br />

SEND<br />

Notes:<br />

Authorization<br />

Purpose<br />

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

(1)<br />

<strong>CP</strong><br />

Usage Notes<br />

Privilege Class: C, G<br />

Use SEND to send console input to a virtual machine. As a Class G user, you can<br />

send input to a disconnected virtual machine for which you provide secondary<br />

console services. As a Class C user, you can send input to any virtual machine.<br />

You may enter the following:<br />

v <strong>CP</strong> comm<strong>and</strong>s<br />

v Virtual machine comm<strong>and</strong>s<br />

v Responses to virtual machine or <strong>CP</strong> messages<br />

v Other virtual machine data, as required.<br />

<strong>CP</strong><br />

userid<br />

prtid<br />

text<br />

1 <strong>CP</strong> has no meaning when prtid is specified.<br />

indicates that <strong>CP</strong> should process the input text on behalf of the receiving virtual<br />

machine. If the first four characters of the text you want to send are your logical<br />

escape character, the receiver’s logical line end character, <strong>and</strong> <strong>CP</strong>, then you<br />

need not specify the <strong>CP</strong> oper<strong>and</strong> to send a <strong>CP</strong> comm<strong>and</strong>. The same holds true<br />

if the receiver’s virtual machine is already in <strong>CP</strong> READ. If you specify the <strong>CP</strong><br />

oper<strong>and</strong> with no text, the receiving virtual machine is placed in console function<br />

mode, just as if a #<strong>CP</strong> comm<strong>and</strong> were entered.<br />

userid<br />

identifies the virtual machine that is to receive the console input.<br />

SEND<br />

prtid<br />

indicates that the comm<strong>and</strong> is to be passed for processing to the print server<br />

virtual machine designated by prtid. The print server virtual machine that<br />

receives <strong>and</strong> processes the SEND comm<strong>and</strong> also provides prtid. The oper<strong>and</strong><br />

prtid is one to eight alphanumeric characters. If you specify four or fewer<br />

characters for the prtid, prtid cannot contain all hexadecimal characters,<br />

because <strong>CP</strong> then interprets prtid as rdev.<br />

text<br />

is the data that is passed to the disconnected virtual machine as console input.<br />

Mixed DBCS data may be used as input text.<br />

1. Enter send cp userid text comm<strong>and</strong> to reply to message H<strong>CP</strong>150A, USER<br />

userid HAS ISSUED A <strong>CP</strong> READ. You receive this message only if you are the<br />

secondary user for the virtual machine.<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!