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

232 lines
7.0 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>Start Mode (STRMOD)</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="STRMOD.Top_Of_Page"></a>
<h2>Start Mode (STRMOD)</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="#STRMOD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRMOD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRMOD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRMOD"></a>
<p>The Start Mode (STRMOD) command starts one or all modes currently in use for an advanced program-to-program communications (APPC) remote location. The user can use STRMOD in either the reset or ended state; it is required only after an End Mode (ENDMOD) command has ended a mode. More information is in the APPC Programming book, SC41-5443.
</p>
<p><b>Restriction:</b> The user must have operational authority for the APPC device to use this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRMOD.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="#STRMOD.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
<td valign="top">Remote location</td>
<td valign="top"><i>Communications name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRMOD.DEV"><b>DEV</b></a></td>
<td valign="top">Device</td>
<td valign="top"><i>Name</i>, <b><u>*LOC</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#STRMOD.MODE"><b>MODE</b></a></td>
<td valign="top">Mode</td>
<td valign="top"><i>Communications name</i>, <b><u>*NETATR</u></b>, *ALL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#STRMOD.LCLLOCNAME"><b>LCLLOCNAME</b></a></td>
<td valign="top">Local location</td>
<td valign="top"><i>Communications name</i>, <b><u>*LOC</u></b>, *NETATR</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#STRMOD.RMTNETID"><b>RMTNETID</b></a></td>
<td valign="top">Remote network identifier</td>
<td valign="top"><i>Communications name</i>, <b><u>*LOC</u></b>, *NETATR, *NONE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRMOD.RMTLOCNAME"></a>
<h3>Remote location (RMTLOCNAME)</h3>
<p>Specifies the remote location name.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMOD.DEV"></a>
<h3>Device (DEV)</h3>
<p>Specifies the device description name.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*LOC</u></b></dt>
<dd>The device description is determined by the system.
</dd>
<dt><b><i>device-name</i></b></dt>
<dd>Specify the name of the device description.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMOD.MODE"></a>
<h3>Mode (MODE)</h3>
<p>Specifies the mode that is to be started.
</p>
<p>The possible values are:
</p>
<dl>
</dl>
<dl>
<dt><b><u>*NETATR</u></b></dt>
<dd>The mode in the network attributes is used.
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>All modes currently in use for the remote location are to be started.
<ul>
<li>For a device description automatically created by the APPN support or a device description manually created with the APPN parameter specified as *YES, *ALL indicates that any modes that have been used while the remote location was active, but are not currently started, are to be started.
</li>
<li>For a device description manually created with the APPN parameter specified as *NO, *ALL specifies that all configured modes for the specified remote location are to be started.
</li>
</ul>
</dd>
<dt><b>BLANK</b></dt>
<dd>The mode name (consisting of 8 blank characters) is used.
</dd>
<dt><b><i>mode-name</i></b></dt>
<dd>Specify a mode name.
<p>
<b>Note: </b>SNASVCMG and CPSVCMG are reserved names and cannot be specified.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMOD.LCLLOCNAME"></a>
<h3>Local location (LCLLOCNAME)</h3>
<p>Specifies the local location name.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*LOC</u></b></dt>
<dd>The local location name is determined by the system.
</dd>
</dl>
<dl>
<dt><b>*NETATR</b></dt>
<dd>The LCLLOCNAME value specified in the system network attributes is used.
</dd>
</dl>
<dl>
<dt><b><i>local-location-name</i></b></dt>
<dd>Specify the name of your location. The local location name is specified if you want to indicate a specific local location name for the remote location.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMOD.RMTNETID"></a>
<h3>Remote network identifier (RMTNETID)</h3>
<p>Specifies the remote network ID used with the remote location.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*LOC</u></b></dt>
<dd>The system selects the remote network ID.
</dd>
</dl>
<dl>
<dt><b>*NETATR</b></dt>
<dd>The remote network identifier specified in the network attributes is used.
</dd>
</dl>
<dl>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>No remote network identifier (ID) is used.
</dd>
</dl>
<dl>
<dt><b><i>remote-network-id</i></b></dt>
<dd>Specify the name of the remote network ID.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRMOD.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
STRMOD RMTLOCNAME(APPCRLOC) DEV(APPCDEV) MODE(APPCMODE)
RMTNETID(CHICAGO)
</pre>
</p>
<p>This command starts a mode named APPCMODE for a remote location named APPCRLOC, a device named APPCDEV, and a remote network ID of CHICAGO.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRMOD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF598B</b></dt>
<dd>The &amp;1 command failed for one or more modes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMOD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>