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

234 lines
8.1 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>Start CODE (STRCODE)</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="STRCODE.Top_Of_Page"></a>
<h2>Start CODE (STRCODE)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>
<ul><li>Batch job (*BATCH)</li>
<li>Interactive job (*INTERACT)</li>
<li>Batch program (*BPGM)</li>
<li>Interactive program (*IPGM)</li>
<li>Batch REXX procedure (*BREXX)</li>
<li>Interactive REXX procedure (*IREXX)</li>
<li>Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)</li>
</ul><b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#STRCODE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRCODE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRCODE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRCODE"></a>
<p>The CL command STRCODE starts a job that runs the host server for the Cooperative Development Environment/400 product. This command should be called in the OS/400 native environment.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRCODE.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="#STRCODE.SERVER"><b>SERVER</b></a></td>
<td valign="top">Host server name</td>
<td valign="top"><i>Character value</i>, <b><u>OS400</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRCODE.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
<td valign="top">Remote location name</td>
<td valign="top"><i>Character value</i>, *RESOLVE, <b><u>*PRV</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#STRCODE.CMNTYPE"><b>CMNTYPE</b></a></td>
<td valign="top">Communications type</td>
<td valign="top"><b><u>*PRV</u></b>, *APPC, *TCPIP</td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#STRCODE.PARMS"><b>PARMS</b></a></td>
<td valign="top">Additional parameters</td>
<td valign="top"><i>Character value</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional, Positional 7</td>
</tr>
<tr>
<td valign="top"><a href="#STRCODE.PORT"><b>PORT</b></a></td>
<td valign="top">TCP/IP port number</td>
<td valign="top">1-65534, <b><u>*PRV</u></b>, *DFT</td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#STRCODE.USERID"><b>USERID</b></a></td>
<td valign="top">User identifier</td>
<td valign="top"><i>Character value</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional, Positional 5</td>
</tr>
<tr>
<td valign="top"><a href="#STRCODE.PASSWORD"><b>PASSWORD</b></a></td>
<td valign="top">Password</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional, Positional 6</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRCODE.SERVER"></a>
<h3>Host server name (SERVER)</h3>
<p>Specifies the name that is associated with the job as it is processed by the system.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>OS400</u></b></dt>
<dd>This is the default value.
</dd>
<dt><b>server-name</b></dt>
<dd>Enter the name that is used to identify the job as it is processed by the system.
</dd>
</dl>
<p>
<b>Note: </b>The following server names are reserved, and should not be used:
</p>
<ul>
<li>LOCAL
</li>
<li>REMOTE
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRCODE.RMTLOCNAME"></a>
<h3>Remote location name (RMTLOCNAME)</h3>
<p>Specifies the name of the remote workstation with which the host server communicates. For TCP/IP connections, this is the IP name or IP address of your PC. For APPC connections, this name is the remote workstation's Logical Unit (LU) or PC local name specifies in the SNA base profile of your communications program.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*PRV</u></b></dt>
<dd>The value used in the last invocation of this command is the default.
</dd>
<dt><b><u>*RESOLVE</u></b></dt>
<dd>Try to have CODE/400 communications resolve the remote location name. This value is recommended for TCP/IP DHCP users. This value will not work in a batch job.
</dd>
<dt><b>PC local name</b></dt>
<dd>Enter the name that identifies the remote workstation that the host server will communicate with.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRCODE.CMNTYPE"></a>
<h3>Communications type (CMNTYPE)</h3>
<p>Specifies the name of the type of protocol with which the host server communicates.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*PRV</u></b></dt>
<dd>The value used in the last invocation of this command is the default.
</dd>
<dt><b><u>*APPC</u></b></dt>
<dd>The host sever uses APPC protocol to communicate with the workstation.
</dd>
<dt><b><u>*TCPIP</u></b></dt>
<dd>The host server uses TCP/IP protocol to communicate with the workstation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRCODE.PARMS"></a>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRCODE.PORT"></a>
<h3>TCP/IP port number (PORT)</h3>
<p>Specifies the name of the port that is associated with the TCP/IP protocol processed by the host server.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*PRV</u></b></dt>
<dd>The value used in the last invocation of this command is the default.
</dd>
<dt><b><u>*DFT</u></b></dt>
<dd>The value used to communicate with the system is the default CODE/400 TCP/IP port. If you wish to change the port, enter the new TCP/IP port value.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRCODE.USERID"></a>
<h3>User identifier (USERID)</h3>
<p>Specifies the user ID to use to establish communications when the workstation has enabled conversation security through the Communication Properties window.
</p>
<p>Both this field and the <b>Password</b> field are required if conversation security has been set up in The Communication Properties window. The possible values are:
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The default value is *NONE.
</dd>
<dt><b>user ID</b></dt>
<dd>Enter the user ID that was specified STRCODE user ID field in the Communication Properties window on the workstation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRCODE.PASSWORD"></a>
<h3>Password (PASSWORD)</h3>
<p>Specifies the password for the user ID specified in the <b>User identifier</b> field. This password should be the same as that specified in the STRCODE password field in the Communication Properties window.
</p>
<p>Both this field and the <b>User identifier</b> field are required if conversation security Profile has been set up in the Communication Properties window.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRCODE.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRCODE.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCODE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>