ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/chgdstq.htm

534 lines
22 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Change Distribution Queue (CHGDSTQ)</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="CHGDSTQ.Top_Of_Page"></a>
<h2>Change Distribution Queue (CHGDSTQ)</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="#CHGDSTQ.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGDSTQ.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGDSTQ.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGDSTQ"></a>
<p>The Change Distribution Queue (CHGDSTQ) command allows you to change an entry in the distribution services queue table. Distribution queues are used to store distributions before they are sent or forwarded to other systems.
</p>
<p>The CHGDSTQ command does not provide interactive display support. This is provided by the Configure Distribution Services (CFGDSTSRV) command. More information about configuring a distribution network is in the SNA Distribution Services book, SC41-5410.
</p>
<p>If connection information (remote location name, mode, remote network identifier, and local location name) is changed and a SNADS (SNA distribution services) sender job is active (but not sending), the SNADS sender job is ended and a new job is started to ensure that the job name always reflects the remote location name.
</p>
<p>Distribution queue names are translated to the graphic character set and code page 930 500, using the job's coded character set identifier (CCSID).
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>This command is shipped with public *EXCLUDE authority, and the QPGMR and QSYSOPR user profiles have private authorities to use the command.
</li>
</ul>
<ul>
<li>The combination of remote location name, mode, remote network identifier, and local location name must be unique within the type of distribution queue. This combination does not need to be unique within the system, for SNA distribution services (SNADS) distribution queues in the distribution services queue table (SNADS-type distribution queues), and for SystemView distribution services (SVDS) distribution queues (SVDS-type distribution queues). The default value *LOC, which can be specified on the RMTNETID parameter and the LCLLOCNAME parameter, and the default value *NETATR, which can be specified on the MODE parameter, represent any possible values that the system determines are not already configured for another SNADS or SVDS distribution queue of the same type.
</li>
<li>You must specify a unique remote location name for each RPDS-type distribution queue in the queue table. RPDS queues do not use modes, remote network identifiers, or local location names.
</li>
<li>Configuration of the routing table is not required for SVDS-type distribution queues. SVDS queues may be configured optionally in the SNADS routing table. However, normal SNADS mail can neither be routed to change management queues nor be received through change management connections, and change management connections can neither be routed to SNADS queues nor be received through SNADS connections.
</li>
<li>SVDS-type distribution queues can support only a single queue view (the queue is not divided into normal and priority halves). For configuration and operations purposes, only the normal queue is specified.
</li>
</ul>
<ul>
<li>Connection information cannot be changed when the queue has a status of "Sending" or when queue entries have the status of "Suspend" or "Pending." Wait for the status of the queue or queue entry to be no longer active or, as an alternative, use the Initialize Distribution Queue (INZDSTQ) command to reset this condition.
</li>
<li>SVDS-type distribution queues cannot be changed when a receiver is active or when distributions have been received and the sender has not acknowledged receiving the confirmation. Wait for the remote system to complete sending, or as an alternative, use the Initialize Distribution Queue (INZDSTQ) command to reset this condition.
</li>
</ul>
<ul>
<li>Messages that report errors about distribution queues may display or print different characters than you entered for the distribution queue name because of internal system transformations. Similarly (depending on the language used for the work station), the internal value for a distribution queue name may differ from the characters shown for the Work with Distribution Queue (WRKDSTQ) command. An error may be reported if the character-string value specified for the <b>Distribution queue</b> prompt (DSTQ parameter) does not match the rules for an internal distribution queue value or if it does not match the internal value for any defined distribution queue (ignoring case differences).
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGDSTQ.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="#CHGDSTQ.DSTQ"><b>DSTQ</b></a></td>
<td valign="top">Distribution queue</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
<td valign="top">Remote location</td>
<td valign="top"><i>Communications name</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.MODE"><b>MODE</b></a></td>
<td valign="top">Mode</td>
<td valign="top"><i>Communications name</i>, <b><u>*SAME</u></b>, *NETATR</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.RMTNETID"><b>RMTNETID</b></a></td>
<td valign="top">Remote network identifier</td>
<td valign="top"><i>Communications name</i>, <b><u>*SAME</u></b>, *LOC, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.LCLLOCNAME"><b>LCLLOCNAME</b></a></td>
<td valign="top">Local location</td>
<td valign="top"><i>Communications name</i>, <b><u>*SAME</u></b>, *LOC</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="6"><a href="#CHGDSTQ.NRMPTY"><b>NRMPTY</b></a></td>
<td valign="top">Normal priority</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="6">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Send time</td>
<td valign="top">
Single values: <b><u>*SAME</u></b>, *ALWAYS<br>Other values: <i>Element list</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 1: From time (HHMM)</td>
<td valign="top">
0000-2359, '&nbsp;&nbsp;&nbsp;&nbsp;'</td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 2: To time (HHMM)</td>
<td valign="top">
0000-2359, '&nbsp;&nbsp;&nbsp;&nbsp;'</td>
</tr>
<tr>
<td valign="top">Element 2: Force time (HHMM)</td>
<td valign="top">
0000-2359, <b><u>*SAME</u></b>, *NONE</td>
</tr>
<tr>
<td valign="top">Element 3: Send depth</td>
<td valign="top">
1-999, <b><u>*SAME</u></b>, *MANUAL</td>
</tr>
<tr>
<td valign="top" rowspan="6"><a href="#CHGDSTQ.HIGHPTY"><b>HIGHPTY</b></a></td>
<td valign="top">High priority</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="6">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Send time</td>
<td valign="top">
Single values: <b><u>*SAME</u></b>, *ALWAYS<br>Other values: <i>Element list</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 1: From time (HHMM)</td>
<td valign="top">
0000-2359, '&nbsp;&nbsp;&nbsp;&nbsp;'</td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 2: To time (HHMM)</td>
<td valign="top">
0000-2359, '&nbsp;&nbsp;&nbsp;&nbsp;'</td>
</tr>
<tr>
<td valign="top">Element 2: Force time (HHMM)</td>
<td valign="top">
0000-2359, <b><u>*SAME</u></b>, *NONE</td>
</tr>
<tr>
<td valign="top">Element 3: Send depth</td>
<td valign="top">
1-999, <b><u>*SAME</u></b>, *MANUAL</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.RTYNBR"><b>RTYNBR</b></a></td>
<td valign="top">Number of retries</td>
<td valign="top">0-9999, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.RTYITV"><b>RTYITV</b></a></td>
<td valign="top">Retry interval</td>
<td valign="top">0-9999, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSTQ.SNDQ"><b>SNDQ</b></a></td>
<td valign="top">Send while receiving</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGDSTQ.DSTQ"></a>
<h3>Distribution queue (DSTQ)</h3>
<p>Specifies the name of the distribution queue entry being changed.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.RMTLOCNAME"></a>
<h3>Remote location (RMTLOCNAME)</h3>
<p>Specifies the name of the remote location to which distributions are sent from this distribution queue. The remote location name must be the same as the remote location name specified in the device description of the device used when sending distributions to another system from this distribution queue.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The remote location name does not change.
</dd>
<dt><b><i>remote-location</i></b></dt>
<dd>Specify a maximum of 8 characters for the name of the remote location.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.MODE"></a>
<h3>Mode (MODE)</h3>
<p>Specifies the name of the mode that defines the sessions on the device used by the distribution queue. This parameter is not applicable if you are changing an RPDS-type distribution queue entry.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The mode name does not change.
</dd>
</dl>
<dl>
<dt><b>*NETATR</b></dt>
<dd>The mode in the network attributes is used.
</dd>
</dl>
<dl>
<dt><b><i>mode-name</i></b></dt>
<dd>Specify a maximum of 8 characters for the name of the mode. Do not use CPSVCMG or SNASVCMG; these mode names are reserved for system use.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.RMTNETID"></a>
<h3>Remote network identifier (RMTNETID)</h3>
<p>Specifies the remote network identifier of the remote network to which this distribution queue sends distributions. This parameter is not applicable if you are changing an RPDS-type distribution queue entry.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The remote network identifier does not change.
</dd>
<dt><b>*LOC</b></dt>
<dd>The remote network identifier defined in the device description used by this distribution queue is used.
</dd>
<dt><b>*NONE</b></dt>
<dd>No remote network identifier is specified.
</dd>
<dt><b><i>remote-network-ID</i></b></dt>
<dd>Specify the remote network identifier.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.LCLLOCNAME"></a>
<h3>Local location (LCLLOCNAME)</h3>
<p>Specifies the name used to identify your system to remote systems in the network. It is recommended that the name be the same as your system name.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The local location name does not change.
</dd>
<dt><b>*LOC</b></dt>
<dd>The local location name is the name defined in the device description used by this distribution queue.
</dd>
<dt><b><i>local-location-name</i></b></dt>
<dd>Specify a maximum of 8 characters for the local location name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.NRMPTY"></a>
<h3>Normal priority (NRMPTY)</h3>
<p>Specifies the queue sending conditions for distributions having a service level of data low. This parameter's three elements are:
</p>
<dl>
<dt><b>Send time</b></dt>
<dd>The time period during which queued distributions of this priority are sent from this distribution queue. If you do not enter a time period, the transmissions are controlled by send depth and are not related to time.
</dd>
<dt><b>Force time</b></dt>
<dd>A specific time during which distributions of this priority are sent regardless of queue depth. If *ALWAYS is specified for the send time, the force time can be set to any time of day. If you specify a specific to-time and from-time for the send time, the force time must occur within that time period.
</dd>
<dt><b>Send depth</b></dt>
<dd>The number of distributions of this priority that must be on the queue before the system automatically begins sending them.
</dd>
</dl>
<p>The possible <b>send time</b> values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The send time does not change.
</dd>
<dt><b>*ALWAYS</b></dt>
<dd>Distributions of this priority are sent from this distribution queue regardless of the time of day.
</dd>
<dt><b><i>from-time to-time</i></b></dt>
<dd>Specify the time of day during which distributions of this priority can be sent from this distribution queue. The from-time and to-time must be specified in the 24-hour time format <b>hhmm</b> where <b>h</b> = hours and <b>m</b> = minutes. Both from-time and to-time must be specified.
</dd>
</dl>
<p>The possible <b>force time</b> values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The force time does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No force time is specified.
</dd>
<dt><b><i>force-time</i></b></dt>
<dd>Specify the force time in the 24-hour format <b>hhmm</b> where <b>h</b> = hours and <b>m</b> = minutes.
</dd>
</dl>
<p>The possible <b>send depth</b> values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The send depth does not change.
</dd>
<dt><b>*MANUAL</b></dt>
<dd>Distributions are sent only when an operator manually sends them using the Work with Distribution Queue (WRKDSTQ) command or the Send Distribution Queue (SNDDSTQ) command.
</dd>
<dt><b><i>send depth</i></b></dt>
<dd>Specify the number of distributions of this priority that must be in this distribution queue before any are sent. Valid values range from 1 through 999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.HIGHPTY"></a>
<h3>High priority (HIGHPTY)</h3>
<p>Specifies the queue sending conditions for distributions having a service level of fast, status, or data high. This parameter's three elements are:
</p>
<dl>
<dt><b>Send time</b></dt>
<dd>The time period during which queued distributions of this priority are sent from this distribution queue. If you do not enter a time period, the transmissions are controlled by send depth and are not related to time.
</dd>
<dt><b>Force time</b></dt>
<dd>A specific time during which distributions of this priority are sent regardless of queue depth. If *ALWAYS is specified for the send time, the force time can be set to any time of day. If you specify a specific to-time and from-time for the send time, the force time must occur within that time period.
</dd>
<dt><b>Send depth</b></dt>
<dd>The number of distributions of this priority that must be on the queue before the system automatically begins sending them.
</dd>
</dl>
<p>The possible <b>send time</b> values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The send time does not change.
</dd>
<dt><b>*ALWAYS</b></dt>
<dd>Distributions of this priority are sent from this distribution queue regardless of the time of day.
</dd>
<dt><b><i>from-time to-time</i></b></dt>
<dd>Specify the time of day during which distributions of this priority can be sent from this distribution queue. The from-time and to-time must be specified in the 24-hour time format <b>hhmm</b> where <b>h</b> = hours and <b>m</b> = minutes. Both from-time and to-time must be specified.
</dd>
</dl>
<p>The possible <b>force time</b> values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The force time does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No force time is specified.
</dd>
<dt><b><i>force-time</i></b></dt>
<dd>Specify the force time in the 24-hour format <b>hhmm</b> where <b>h</b> = hours and <b>m</b> = minutes.
</dd>
</dl>
<p>The possible <b>send depth</b> values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The send depth does not change.
</dd>
<dt><b>*MANUAL</b></dt>
<dd>Distributions are sent only when an operator manually sends them using the Work with Distribution Queue (WRKDSTQ) command or the Send Distribution Queue (SNDDSTQ) command.
</dd>
<dt><b><i>send depth</i></b></dt>
<dd>Specify the number of distributions of this priority that must be in this distribution queue before any are sent. Valid values range from 1 through 999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.RTYNBR"></a>
<h3>Number of retries (RTYNBR)</h3>
<p>Specifies the maximum number of times the system attempts to resend distributions from this distribution queue after a failure occurs. This parameter applies to communications line failures and recoverable distribution failures on a remote system. The SNADS job serving this distribution queue ends when the number of retries is exceeded.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The maximum number of retry attempts does not change.
</dd>
<dt><b><i>number</i></b></dt>
<dd>Specify the maximum number of times the system can attempt to resend distributions after a failure. Valid values range from 0 to 9999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.RTYITV"></a>
<h3>Retry interval (RTYITV)</h3>
<p>Specifies the interval (in minutes) between each retry attempt.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The number of minutes between retries does not change.
</dd>
<dt><b><i>minutes</i></b></dt>
<dd>Specify the interval (in minutes) between retries. Valid values range from 0 to 9999.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSTQ.SNDQ"></a>
<h3>Send while receiving (SNDQ)</h3>
<p>Specifies whether this distribution queue ignores the send time and depth values specified on the <b>Normal priority</b> prompt (NRMPTY parameter) and <b>High priority</b> prompt (HIGHPTY parameter) and begins sending when a distribution is received from the SNADS system to which the queue sends its distributions.
</p>
<p>This parameter is valid only if you are changing a SNADS-type distribution queue entry.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The send queue value does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>Distributions are sent from this queue only when the queue's sending conditions are met, or when the Send Distribution Queue (SNDDSTQ) or Work with Distribution Queue (WRKDSTQ) command is used to send the distributions.
</dd>
<dt><b>*YES</b></dt>
<dd>This distribution queue begins sending when distributions are received from the SNADS system to which the queue sends its distributions regardless of the queue's sending conditions. Distributions are automatically sent for manual queues (queues that have no specified depth variable).
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDSTQ.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGDSTQ DSTQ(CHICAGO) RMTLOCNAME(NEWLU) MODE(*NETATR)
</pre>
</p>
<p>This command changes the distribution queue named CHICAGO. The remote location name is changed to NEWLU and the mode is changed to the mode specified in the system network attributes.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDSTQ.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF8802</b></dt>
<dd>Distribution queue &amp;1 was not found.
</dd>
<dt><b>CPF8807</b></dt>
<dd>Error occurred while using QSNADS journal.
</dd>
<dt><b>CPF8809</b></dt>
<dd>Errors detected on SNADS internal queues.
</dd>
<dt><b>CPF881A</b></dt>
<dd>Connection information for distribution queue &amp;1 cannot be changed at this time
</dd>
<dt><b>CPF881B</b></dt>
<dd>Distributions are being received for distribution queue &amp;1
</dd>
<dt><b>CPF881D</b></dt>
<dd>High priority data not allowed for *SVDS distribution queues
</dd>
<dt><b>CPF8826</b></dt>
<dd>Distribution queue entries exist for distribution queue &amp;1.
</dd>
<dt><b>CPF8827</b></dt>
<dd>Routing table entries exist for distribution queue &amp;1.
</dd>
<dt><b>CPF8828</b></dt>
<dd>Remote document library entries exist for *DLS distribution queue &amp;1.
</dd>
<dt><b>CPF8833</b></dt>
<dd>Distribution queue &amp;1 already exists.
</dd>
<dt><b>CPF8849</b></dt>
<dd>Queue &amp;1 in use by another distribution services function.
</dd>
<dt><b>CPF9845</b></dt>
<dd>Error occurred while opening file &amp;1.
</dd>
<dt><b>CPF9846</b></dt>
<dd>Error while processing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9847</b></dt>
<dd>Error occurred while closing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9899</b></dt>
<dd>Error occurred during processing of command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSTQ.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>