Sending a message
To send a message to another terminal or terminals, enter the transaction identifier, CMSG, followed by the applicable options.
About this task
The syntax diagram in CMSG command shows the options for CMSG. CMSG command options provides full details of the options
CMSG 'GOOD MORNING',R=ALL,S
MESSAGE HAS BEEN ROUTED
This response is received for the normal completion of a message-switching transaction. It means that the message has been successfully routed to its destination but does not reflect any delivery status.
You can use backspace characters in your input.
CMSG R=(T001,T002)#
T=1500#
'THE TIME IS 1500 HOURS'#
S@
You can enter the options, except SEND and CANCEL (one of which must be entered last), in any order after CMSG and one or more spaces. You can abbreviate every option, except CANCEL, to a single character, and you can include one or more options in a single input. If you specify two or more options, you must follow each by a comma, except the last, which must be followed by a space or by an end-of-data (EOD) condition indicating the end of your input. Any data following a space in the same input is ignored.
- Press the ENTER key on display devices such as the IBM® 3270
- Press carriage return for hardcopy terminals such as the IBM 2741.
To maintain the conversation with a terminal, the status of all inputs, except the final input which includes the SEND option, is saved in a single temporary-storage record.
A message-switching transaction remains conversational until ended. This means that all input (even other transaction identifiers) is passed to the message-switching program. You must end a message-switching transaction (possibly involving multiple inputs) before you can start a different transaction.