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.

SEND<br />

Examples<br />

Messages<br />

2. Use a send cp userid comm<strong>and</strong> to force a <strong>CP</strong> READ when no <strong>CP</strong> READ<br />

exists.<br />

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

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

secondary user for the virtual machine.<br />

4. If you are a Class G user, then:<br />

a. The receiving virtual machine must be disconnected at the time you enter<br />

the SEND comm<strong>and</strong>.<br />

b. You must be authorized as the secondary user on the CONSOLE statement<br />

in the directory entry of the receiving virtual machine or authorized as a<br />

result of the receiving virtual machine’s use of the <strong>CP</strong> SET SECUSER<br />

comm<strong>and</strong>.<br />

c. The secondary user must not be disconnected, when the SEND comm<strong>and</strong> is<br />

issued, unless he has a valid path to the *MSG or *MSGALL system service.<br />

5. If you are not the receiving virtual machine’s secondary user, you do not receive<br />

responses to the comm<strong>and</strong>s you send it.<br />

6. If both a <strong>CP</strong> read <strong>and</strong> a <strong>VM</strong> read are pending, the <strong>CP</strong> read is satisfied first,<br />

regardless of the order in which they were posted.<br />

7. If you want to send multiple lines of input on a single SEND comm<strong>and</strong>, use the<br />

receiver’s logical-line-end character preceded by your logical-escape character<br />

to separate the lines. The receiving virtual machine must also have line editing<br />

enabled. This restriction applies to when you SEND a #<strong>CP</strong> comm<strong>and</strong> as well.<br />

If any of your logical-line-editing characters are part of the text to be sent to the<br />

disconnected virtual machine, they must be preceded by your logical-escape<br />

character.<br />

8. For prtid, the virtual machine associated with the prtid processes the specified<br />

text. Therefore, the text on the SEND comm<strong>and</strong> must be valid for the virtual<br />

machine that is doing the processing.<br />

9. You cannot use the class C version of this comm<strong>and</strong> if an external security<br />

manager is installed on your system <strong>and</strong> security label checking is enabled. For<br />

additional information, contact your security administrator.<br />

1. Enter send cp user1 to place the disconnected user, USER1, into console<br />

function read.<br />

2. Enter send user3 msg user2 hi to cause USER2 to receive the message<br />

hh:mm:ss: *MSG FROM USER3 HI.<br />

3. If the secondary user receives the message USER5 CHANGE TOD CLOCK (YES|NO)<br />

<strong>and</strong> responds by entering send user5 yes, the receiving virtual machine accepts<br />

this input as if it were entered from the receiver’s own terminal.<br />

4. To send information to a specific printer virtual machine, enter send prtid query<br />

prtname options.<br />

prtid<br />

identifies the printer.<br />

QUERY prtname options<br />

identifies the text.<br />

H<strong>CP</strong>020E Userid missing or invalid H<strong>CP</strong>045E userid not logged on<br />

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

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

Saved successfully!

Ooh no, something went wrong!