ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahp_5.4.0.1/rzahhpusegen.htm

55 lines
3.6 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="task" />
<meta name="DC.Title" content="Use the rpcgen compiler" />
<meta name="abstract" content="The RPCGEN command generates C code from an input file that is written in the remote procedure call language (RPCL). You can use the generated C code to implement an RPC protocol." />
<meta name="description" content="The RPCGEN command generates C code from an input file that is written in the remote procedure call language (RPCL). You can use the generated C code to implement an RPC protocol." />
<meta name="DC.Relation" scheme="URI" content="rzahprpcover.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzahhpusegen" />
<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>Use the rpcgen compiler</title>
</head>
<body id="rzahhpusegen"><a name="rzahhpusegen"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use the rpcgen compiler</h1>
<div><p>The RPCGEN command generates C code from an input file that is
written in the remote procedure call language (RPCL). You can use the generated
C code to implement an RPC protocol.</p>
<div class="section">To use the rpcgen compiler on i5/OS™, complete the following tasks:</div>
<ol><li class="stepexpand"><span>Create your source input file in RPCL.</span> <p>For details
about using the rpcgen compiler, refer to the <a href="http://docs.sun.com" target="_blank">Sun Product Documentation Web site</a> <img src="www.gif" alt="Link outside information center" />.</p>
</li>
<li class="stepexpand"><span>Type the following command to run the rpcgen compiler on i5/OS:</span> <pre>RPCGEN</pre>
<div class="note"><span class="notetitle">Note:</span> To see the parameter
and value descriptions for this command, refer to the online help text.</div>
</li>
<li class="stepexpand"><span>Use a C language compiler on i5/OS to compile the output from the rpcgen
compiler.</span> <div class="note"><span class="notetitle">Note:</span> If you are using the Integrated Language
Environment<sup>®</sup> (ILE) C compiler on i5/OS, you need to store the output files
as source members.</div>
</li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahprpcover.htm" title="Remote procedure call (RPC) provides a high-level paradigm, which allows distributed applications to communicate with one another.">Using Sun TI-RPC to develop distributed applications</a></div>
</div>
</div>
</body>
</html>