ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/rexec_ts.htm

92 lines
2.7 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">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>rexec_ts64()--Issue a Command on a Remote Host</title>
<!-- Begin Header Records ========================================== -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- File create by V2DCIJB on 19 Nov 1999 -->
<!-- Edited by Kersten Feb 02 -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<a name="Top_Of_Page"></a>
<h2>rexec_ts64()--Issue a Command on a Remote Host</h2>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Syntax<br>
<pre>
#include &lt;arpa/rexec.h&gt;
int rexec_ts64(char * __ptr64 * __ptr64 <em>host</em>,
int <em>port</em>,
char * __ptr64 <em>user</em>,
char * __ptr64 <em>password</em>,
char * __ptr64 <em>command</em>,
int * __ptr64 <em>errorDescriptor</em>);
</pre>
<br>
&nbsp;&nbsp;Service Program Name: QSOSRVTS<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The <strong>rexec_ts64()</strong> function is used to open a connection to a
remote host and send a user ID, password, and command to the remote host. The
remote host verifies that the user ID and password are valid. The command is
issued after the user ID and password are validated.
<strong>rexec_ts64()</strong> differs from <strong>rexec()</strong> in that
<strong>rexec_ts64()</strong> accepts 8-byte teraspace pointers.</p>
<p>For a discussion of the parameters, authorities required, return values, and
other related information, see <a href="rexec.htm">rexec()--Issue a Command on
a Remote Host</a>.</p>
<br>
<h3>Usage Notes</h3>
<p>All of the usage notes for <a href="rexec.htm">rexec()--Issue a Command on a
Remote Host</a> apply to <strong>rexec_ts64()</strong>.</p>
<br>
<hr>
API introduced: V5R1
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> |
<a href="unix.htm">UNIX-Type APIs</a> |
<a href="aplist.htm">APIs by category</a> </td>
</tr>
</table>
</center>
</body>
</html>