ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajt_5.4.0.1/rzajtrzajtpercpicpi.htm

64 lines
3.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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))' />
<title>Performance considerations for Common Programming Interface Communications</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="rzajtper-cpicpi"></a>
<h4 id="rzajtper-cpicpi">Performance considerations for Common Programming Interface Communications</h4>
<p>You can use Common Programming Interface Communications (CPI Communications)
to write application programs that you want to communicate with advanced program-to-communications
(APPC). The interface makes use of the System Network Architecture (SNA)
LU (logical unit) 6.2 architecture to do the following:</p>
<ul>
<li>Establish a conversation</li>
<li>Send and receive data</li>
<li>Exchange control information</li>
<li>End a conversation</li>
<li>Notify a partner program of errors.</li></ul>
<p>Intersystem communications feature (ICF) and CPI Communications programs
have similar performances for small data transfers.</p>
<p>To optimize CPI Communications application programs, do the following:</p>
<ul>
<li>Minimize the use of flush and confirm.</li>
<li>Receive a compile record and parse it in your buffer.</li>
<li>Do not use multiple receive calls to receive a single record.</li>
<li>Use Request-to-Send only when necessary.</li></ul>
<p>To add or change communications entries to get the system set up for CPI
Communications, do the following:</p>
<ol type="1">
<li>Type appropriate command on the iSeries&trade; system command line and press F4.
<ul>
<li>Add Communications Entry (ADDCMNE)</li>
<li>Remove Communications Entry (RMVCMNE)</li>
<li>Change Communications Entry (CHGCMNE)</li></ul></li>
<li>Use the online help information to change, add, or remove parameter values.</li>
<li>Press Enter. The communications entries are added, changed or removed.</li></ol>
<p>For more information about configuring CPI Communications, see:</p>
<ul>
<li><a href="rzajtrzajtperappcin.htm#rzajtperappc-in">Application programming interface (API) performance considerations</a></li>
<li><a href="../books/sc415455.pdf" target="_blank">CICS/400&reg; Administration and Operations Guide</a>
<img src="wbpdf.gif" alt="Link to PDF" /></li></ul>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>