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.

MESSAGE<br />

Purpose<br />

Usage Notes<br />

Messages<br />

Use the MESSAGE comm<strong>and</strong>s to transmit message text to the virtual consoles of<br />

other active users.<br />

(General for MESSAGE)<br />

1. If a message is issued from a CMS environment, the comm<strong>and</strong> <strong>and</strong> the<br />

message text cannot be longer than 240 characters.<br />

If a message is issued from a <strong>CP</strong> environment, the comm<strong>and</strong> <strong>and</strong> message<br />

length is limited by the input area of the terminal.<br />

2. If you send a message to a user who is not logged on <strong>and</strong> has not defined a<br />

secondary user, or to a user who has suppressed the receiving of messages<br />

(that is, a user who has issued the SET MSG OFF comm<strong>and</strong>), your message is<br />

not transmitted, <strong>and</strong> you receive an informational message. The message that<br />

was transmitted is not saved. You must send it again when the user is receiving<br />

messages.<br />

3. The MESSAGE comm<strong>and</strong> routes the message to the secondary user of a<br />

disconnected virtual machine. If the secondary user is connected or the<br />

secondary user is disconnected but has a valid path to a *MSG or *MSGALL <strong>CP</strong><br />

system service, the secondary user receives the message.<br />

If the secondary user is disconnected <strong>and</strong> there is no valid path to a *MSG or<br />

*MSGALL <strong>CP</strong> system service, userid not receiving; disconnected. is returned<br />

to the comm<strong>and</strong> issuer.<br />

4. Messages are displayed only when the display device is ready to receive<br />

output. If you have a <strong>CP</strong> READ or a <strong>VM</strong> READ, messages are held until you<br />

end the read. Note, however, that if you are using an SNA/CCS terminal,<br />

messages are displayed when in <strong>CP</strong> READ or <strong>VM</strong> READ.<br />

5. If you receive a message on a 3270 virtual console that has the alarm feature,<br />

the alarm sounds.<br />

6. If cross system messages are active among systems in a CSE complex, <strong>and</strong> if<br />

MSG ALL AT ALL is entered, the message is sent to every user on every<br />

system that is receiving messages.<br />

7. If cross system messages are active among systems in a CSE complex, the<br />

default for this comm<strong>and</strong> is AT ALL. The default is AT * if:<br />

v The oper<strong>and</strong> userid is OPerator or ALL<br />

v The user ID specified in the oper<strong>and</strong> userid is logged onto the same system<br />

as the comm<strong>and</strong> issuer<br />

v Either the user ID specified in the oper<strong>and</strong> userid or the comm<strong>and</strong> issuer is in<br />

the CSE exclusion list.<br />

8. DBCS text is supported as message text for the MESSAGE comm<strong>and</strong>s.<br />

(General for MESSAGE)<br />

H<strong>CP</strong>003E Invalid option - {option|comm<strong>and</strong><br />

contains extra option(s) starting with<br />

option}<br />

H<strong>CP</strong>020E Userid missing or invalid<br />

H<strong>CP</strong>026E Oper<strong>and</strong> missing or invalid<br />

H<strong>CP</strong>045E userid not logged on<br />

H<strong>CP</strong>057I userid not receiving; text<br />

MESSAGE<br />

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

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

Saved successfully!

Ooh no, something went wrong!