114 lines
8.4 KiB
HTML
114 lines
8.4 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="iSeries Access for Windows Remote Command/Distributed Program Call APIs" />
|
||
|
<meta name="abstract" content="The iSeries Access for Windows Remote Command/Distributed Program Call APIs allow the PC application programmer to access functions on the iSeries system. User program and system commands can be called without requiring an emulation session. A single iSeries program serves commands and programs, so only one iSeries job is started for both." />
|
||
|
<meta name="description" content="The iSeries Access for Windows Remote Command/Distributed Program Call APIs allow the PC application programmer to access functions on the iSeries system. User program and system commands can be called without requiring an emulation session. A single iSeries program serves commands and programs, so only one iSeries job is started for both." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikapiinterfaces.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcdpctypuse.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcdpcapilist1.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcdpcapilist2.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcdpcapilist3.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcdpcprogex.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcrcdpcapis.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikas400sysnameformat.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikcaexpressprogstd.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="apprc" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- 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. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>iSeries Access for Windows Remote Command/Distributed
|
||
|
Program Call APIs</title>
|
||
|
</head>
|
||
|
<body id="apprc"><a name="apprc"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1"><span class="keyword">iSeries Access for Windows</span> Remote Command/Distributed
|
||
|
Program Call APIs</h1>
|
||
|
<div><p>The <span class="keyword">iSeries™ Access for Windows<sup>®</sup></span> Remote
|
||
|
Command/Distributed Program Call APIs allow the PC application programmer
|
||
|
to access functions on the iSeries system. User program and system commands
|
||
|
can be called without requiring an emulation session. A single iSeries program
|
||
|
serves commands and programs, so only one iSeries job is started for both.</p>
|
||
|
<div class="section"><h4 class="sectiontitle"><span class="keyword">iSeries Access for Windows</span> Remote
|
||
|
Command APIs:</h4><p>The <span class="keyword">iSeries Access for Windows</span> Remote
|
||
|
Command application programming interfaces (APIs) enable your PC application
|
||
|
to start non-interactive commands on the iSeries system and to receive completion
|
||
|
messages from these commands. The iSeries server command can send up to
|
||
|
ten reply messages.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle"><span class="keyword">iSeries Access for Windows</span> Distributed
|
||
|
Program Call API:</h4><p>The <span class="keyword">iSeries Access for Windows</span> Distributed
|
||
|
Program Call API allows your PC application to call any iSeries program
|
||
|
or command. Input, output and in/out parameters are handled through this function.
|
||
|
If the program runs correctly, the output and the in/out parameters will contain
|
||
|
the data returned by the iSeries program that was called. If the program fails
|
||
|
to run correctly on the iSeries server, the program can send up to ten reply
|
||
|
messages. </p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle"><span class="keyword">iSeries Access for Windows</span> Remote
|
||
|
Command/Distributed Program Call APIs required files:</h4>
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="25.874125874125873%" id="d0e105">Header file</th>
|
||
|
<th valign="top" width="29.72027972027972%" id="d0e107">Import library</th>
|
||
|
<th valign="top" width="44.40559440559441%" id="d0e109">Dynamic Link Library</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" width="25.874125874125873%" headers="d0e105 ">cwbrc.h</td>
|
||
|
<td valign="top" width="29.72027972027972%" headers="d0e107 ">cwbapi.lib</td>
|
||
|
<td valign="top" width="44.40559440559441%" headers="d0e109 ">cwbrc.dll</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Programmer's Toolkit:</h4> <p>The Programmer's Toolkit
|
||
|
provides Remote Command and Distributed Program Call documentation, access
|
||
|
to the cwbrc.h header file, and links to sample programs. To access this information,
|
||
|
open the Programmer's Toolkit and select either <span class="uicontrol">Remote Command </span> or <span class="menucascade"><span class="uicontrol">Distributed Program Call</span> > <span class="uicontrol">C/C++ APIs</span></span>.</p>
|
||
|
<div class="note"><span class="notetitle">Note:</span> By using the code examples, you agree to the terms
|
||
|
of the <a href="codedisclaimer.htm">Code license and disclaimer information</a>.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzaikrcdpctypuse.htm">Typical use of iSeries Access for Windows Remote Command/Distributed Program Call APIs</a></strong><br />
|
||
|
An application that uses the <span class="keyword">iSeries Access for Windows</span> Remote
|
||
|
Command/Distributed Program Call function uses objects.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikrcdpcapilist1.htm">Remote Command/Distributed Program Call: Access remote command APIs list for iSeries Access for Windows</a></strong><br />
|
||
|
Access the remote command server program on the iSeries system.
|
||
|
The request handle is used to run commands and to call programs. The APIs
|
||
|
are listed alphabetically.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikrcdpcapilist2.htm">Remote Command/Distributed Program Call: Run APIs list for iSeries Access for Windows</a></strong><br />
|
||
|
Use these APIs to run an iSeries command. The APIs are listed
|
||
|
alphabetically.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikrcdpcapilist3.htm">Remote Command/Distributed Program Call: Access programs APIs list for iSeries Access for Windows</a></strong><br />
|
||
|
Use these APIs to access programs and their parameters.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzaikrcdpcprogex.htm">Example: Using Remote iSeries Access for Windows Command/Distributed Program Call APIs</a></strong><br />
|
||
|
This example illustrates using remote iSeries Access for Windows Command/Distributed
|
||
|
Program Call APIs.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikapiinterfaces.htm" title="iSeries Access for Windows provides C/C++ application programming interfaces (APIs) for accessing iSeries resources.">iSeries Access for Windows C/C++ APIs</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="rzaikrcrcdpcapis.htm">Remote Command/Distributed Program Call APIs return codes</a></div>
|
||
|
<div><a href="rzaikas400sysnameformat.htm" title="APIs that take an iSeries system name as a parameter accept names in the following formats.">iSeries system name formats for connection APIs</a></div>
|
||
|
<div><a href="rzaikcaexpressprogstd.htm" title="Most of the iSeries Access for Windows C/C++ APIs that accept string parameters exist in three forms: OEM, ANSI, or Unicode.">OEM, ANSI, and Unicode considerations</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|