CL Command Reference - SNDNETMSG
CL Command List > SNDNETMSG Reference
Description:
The Send Network Message (SNDNETMSG) command sends a message to another user on the local or a remote system through the SNADS network.
This message is sent as an informational message to the message queue that is defined for the recipient on the receiving system.
Note: The recipient must have a valid message queue specified in his user profile. Messages sent with the SNDNETMSG command are rejected if the recipient does not have a message queue specified in the user profile. The message queue specified in the network attributes is not used.
This command does not perform the CCSID translation of the messsage. However, it sends the job CCSID to the receiving system.The message is translated upon receipt if needed. The user ID and address of both the recipient and the originator are translated from the current job CCSID to the multinational character set 697/500.
Restriction: The user must be enrolled in the system distribution directory.
Examples:
SNDNETMSG MSG(¡¯I¡¯¡¯m updating the accounts receivable files.¡¯)
TOUSRID((SMITH SYSTEM2))
This command sends the message specified in the MSG parameter to the user identified to the network with a user ID of (SMITH SYSTEM2).