160 lines
6.4 KiB
HTML
160 lines
6.4 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Send Network Message (SNDNETMSG)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<a name="SNDNETMSG.Top_Of_Page"></a>
|
||
|
<h2>Send Network Message (SNDNETMSG)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#SNDNETMSG.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#SNDNETMSG.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#SNDNETMSG.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="SNDNETMSG"></a>
|
||
|
<p>The Send Network Message (SNDNETMSG) command sends a message to another user on the local or a remote system through the SNADS network.
|
||
|
</p>
|
||
|
<p>This message is sent as an informational message to the message queue that is defined for the recipient on the receiving system.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>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. Additional information on specifying a message queue when sending and receiving messages is in the CL information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</p>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p><b>Restriction:</b> The user must be enrolled in the system distribution directory. A description of the system distribution directory is in the SNA Distribution Services book, SC41-5410.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#SNDNETMSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="SNDNETMSG.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#SNDNETMSG.MSG"><b>MSG</b></a></td>
|
||
|
<td valign="top">Message text</td>
|
||
|
<td valign="top"><i>Character value</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#SNDNETMSG.TOUSRID"><b>TOUSRID</b></a></td>
|
||
|
<td valign="top">User ID</td>
|
||
|
<td valign="top">Values (up to 50 repetitions): <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: User ID</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Address</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#SNDNETMSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="SNDNETMSG.MSG"></a>
|
||
|
<h3>Message text (MSG)</h3>
|
||
|
<p>Specifies the message text of the immediate message that is sent. An immediate message is a message that is not stored in a message file. The text must be enclosed in apostrophes if it contains blanks or special characters. A maximum length of 256 characters can be specified.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#SNDNETMSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="SNDNETMSG.TOUSRID"></a>
|
||
|
<h3>User ID (TOUSRID)</h3>
|
||
|
<p>Specifies one or more user IDs, or the name of one or more distribution lists containing user IDs of users to whom the message is to be sent.
|
||
|
</p>
|
||
|
<p>A combination of both user IDs and distribution lists can be specified on the same command. Each user ID or distribution list is specified as a two-part name, and both parts are required. Up to 50 user IDs can be specified.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>Depending on the type of work station being used, the internal value for a user identifier may differ from the characters shown by the Display Directory Entries (DSPDIRE) command. If the byte-string value specified for the TOUSRID parameter does not match the rules for an internal user identifier value, or if it does not match the internal value for any enrolled user, an error may be reported.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p>You can enter multiple values for this parameter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#SNDNETMSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="SNDNETMSG.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
SNDNETMSG MSG('I''m updating the accounts receivable files.')
|
||
|
TOUSRID((SMITH SYSTEM2))
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command sends the message specified in the MSG parameter to the user identified to the network with a user ID of (SMITH SYSTEM2).
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#SNDNETMSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="SNDNETMSG.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF8063</b></dt>
|
||
|
<dd>Cannot assign necessary resource.
|
||
|
</dd>
|
||
|
<dt><b>CPF8066</b></dt>
|
||
|
<dd>One or more user identifiers on this command is not correct.
|
||
|
</dd>
|
||
|
<dt><b>CPF8069</b></dt>
|
||
|
<dd>Message not sent to any users.
|
||
|
</dd>
|
||
|
<dt><b>CPF9005</b></dt>
|
||
|
<dd>System resource required to complete this request not available.
|
||
|
</dd>
|
||
|
<dt><b>CPF9006</b></dt>
|
||
|
<dd>User not enrolled in system distribution directory.
|
||
|
</dd>
|
||
|
<dt><b>CPF9830</b></dt>
|
||
|
<dd>Cannot assign library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9845</b></dt>
|
||
|
<dd>Error occurred while opening file &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9846</b></dt>
|
||
|
<dd>Error while processing file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9847</b></dt>
|
||
|
<dd>Error occurred while closing file &1 in library &2.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#SNDNETMSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|