ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaik_5.4.0.1/rzaikobsoletecommapis.htm

76 lines
4.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 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="Obsolete Communications APIs" />
<meta name="DC.Relation" scheme="URI" content="rzaikdeprecated.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="obsoletecommapis" />
<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>Obsolete Communications APIs</title>
</head>
<body id="obsoletecommapis"><a name="obsoletecommapis"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Obsolete Communications APIs</h1>
<div><div class="section"><dl><dt class="dlterm"><span class="apiname">cwbCO_IsSystemConfigured</span></dt>
<dd><p>iSeries™ Access
for Windows<sup>®</sup> does
not require pre-configuration of an iSeries server connection to connect
to and use that system. For this reason, programs that need to connect to
an iSeries server
(either explicitly, by calling <span class="apiname">cwbCO_Connect</span>, or implicitly,
as the result of a call to a different API such as <span class="apiname">cwbRC_RunCmd</span>)
do not need to check to see if the connection has been pre-configured. Therefore,
the above API no longer should be necessary.</p>
</dd>
<dt class="dlterm"><span class="apiname">cwbCO_IsSystemConnected</span> </dt>
<dd>Use <a href="rzaikcwbcoisconnected.htm#cwbco_isconnected">cwbCO_IsConnected</a>.<p>Most iSeries Access
for Windows APIs
work with iSeries System
Objects, rather than with iSeries server names. There can be multiple iSeries System
Objects created and connected to the same iSeries server within the same process.
The <span class="apiname">cwbCO_IsSystemConnected</span> API will return an indication
of whether at least one System Object is connected to the iSeries server,
within the current process. The <span class="apiname">cwbCO_IsConnected</span> API is
used to determine if a specific iSeries System Object is connected.</p>
</dd>
<dt class="dlterm"><span class="apiname">cwbCO_GetUserID</span></dt>
<dd>Use <a href="rzaikcwbcogetuseridex.htm#cwbco_getuseridex">cwbCO_GetUserIDEx</a>.<p>Most iSeries Access
for Windows APIs
work with iSeries System
Objects, rather than with iSeries server names. There can be multiple iSeries System
Objects created and connected to the same iSeries server, within the same process,
but using different user IDs. The <span class="apiname">cwbCO_GetUserID</span> API will
return the user ID of the first iSeries System Object, in the current
process, for the specified iSeries server. The <span class="apiname">cwbCO_GetUserIDEx</span> API
will return the user ID for a specific iSeries System Object.</p>
</dd>
<dt class="dlterm"><span class="apiname">cwbCO_GetHostVersion</span></dt>
<dd>Use <a href="rzaikcwbcogethostversionex.htm#cwbco_gethostversionex">cwbCO_GetHostVersionEx</a>. <p>The
behavior of these APIs is the same. However, use of the <span class="apiname">cwbCO_GetHostVersionEx</span> API
is more efficient.</p>
</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikdeprecated.htm" title="Some of the APIs that were provided by Client Access have been replaced with new APIs. While these older, obsolete APIs are still supported, it is recommended that you use the newer iSeries Access for Windows APIs.">Obsolete iSeries Access for Windows APIs</a></div>
</div>
</div>
</body>
</html>