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

117 lines
4.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 PC Command (STRPCCMD)</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="STRPCCMD.Top_Of_Page"></a>
<h2>Start PC Command (STRPCCMD)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>
<ul><li>Interactive job (*INTERACT)</li>
<li>Interactive program (*IPGM)</li>
<li>Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)</li>
</ul><b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#STRPCCMD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRPCCMD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRPCCMD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRPCCMD"></a>
<p>The Start PC Command (STRPCCMD) command allows you to run a single application, a DOS command, or an OS/2 command on an attached personal computer.
</p>
<p>
<b>Note: </b>Do not precede an entry with an asterisk unless that entry is a "special value" that is shown (on the display itself or in the help information) with an asterisk.
</p>
<h3>Error messages for STRPCCMD</h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPCCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRPCCMD.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="#STRPCCMD.PCCMD"><b>PCCMD</b></a></td>
<td valign="top">PC command</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRPCCMD.PAUSE"><b>PAUSE</b></a></td>
<td valign="top">Pause</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRPCCMD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRPCCMD.PCCMD"></a>
<h3>PC command (PCCMD)</h3>
<p>Specifies the valid DOS command, OS/2 command, or personal computer application you want to run. If you are using the STRPCCMD command on a server command line and the command or application name contains special characters, you must enclose the command in apostrophes. Special characters include blanks, commas, and colons.
</p>
<p>If you select the option to start a PC command from the iSeries Access Organizer menu, you do not need to enclose the command in apostrophes unless it ends in a colon. The ending colon is ignored unless the entire PC command is enclosed in apostrophes.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPCCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRPCCMD.PAUSE"></a>
<h3>Pause (PAUSE)</h3>
<p>Specifies whether the computer should pause after running a command.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The computer will pause after running the command before returning to the iSeries Access Organizer menu.
</dd>
<dt><b>*NO</b></dt>
<dd>The computer returns immediately to the iSeries Access Organizer menu after the command runs.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPCCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRPCCMD.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPCCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRPCCMD.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPCCMD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>