<?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="Global iSeries Access return codes" />
<meta name="DC.Relation" scheme="URI" content="rzaikrccaexpress.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaikappncm.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="globalrc" />
<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>Global iSeries Access
return codes</title>
</head>
<body id="globalrc"><a name="globalrc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Global iSeries™ Access
return codes</h1>
<div><div class="example"> <pre>4000    CWB_USER_CANCELLED_COMMAND
          Command cancelled by user.
4001    CWB_CONFIG_ERROR
          A configuration error has occurred.
4002    CWB_LICENSE_ERROR
          A license error has occurred.
4003    CWB_PROD_OR_COMP_NOT_SET
          Internal error due to failure to properly register and use a
          product or component.
4004    CWB_SECURITY_ERROR
          A security error has occurred.
4005    CWB_GLOBAL_CFG_FAILED
          The global configuration attempt failed.
4006    CWB_PROD_RETRIEVE_FAILED
          The product retrieve failed.
4007    CWB_COMP_RETRIEVE_FAILED
          The computer retrieve failed.
4008    CWB_COMP_CFG_FAILED
          The computer configuration failed.
4009    CWB_COMP_FIX_LEVEL_UPDATE_FAILED
          The computer fix level update failed.
4010    CWB_INVALID_API_HANDLE
          Invalid request handle.
4011    CWB_INVALID_API_PARAMETER
          Invalid parameter specified.
4012    CWB_HOST_NOT_FOUND
          The server is inactive or does not exist.
4013    CWB_NOT_COMPATIBLE
          Client Access program or function not at correct level.
4014    CWB_INVALID_POINTER
          A pointer is NULL.
4015    CWB_SERVER_PROGRAM_NOT_FOUND
          The server application not found.
4016    CWB_API_ERROR
          General API failure.
4017    CWB_CA_NOT_STARTED
          Client Access has not been started.
4018    CWB_FILE_IO_ERROR
          Record could not be read.
4019    CWB_COMMUNICATIONS_ERROR
          A communications error occurred.
4020    CWB_RUNTIME_CONSTRUCTOR_FAILED
          The C Run-time contstructor failed.
4021    CWB_DIAGNOSTIC
          Unexpected error. Record the message number and data in the
          message and contact IBM Support.
4022    CWB_COMM_VERSION_ERROR
          Data queues will not run with this version of communications.
4023    CWB_NO_VIEWER
          The viewer support for Client Access/400 was not installed.
4024    CWB_MODULE_NOT_LOADABLE
          A filter DLL was not loadable.
4025    CWB_ALREADY_SETUP
          Object has already been set up.
4026    CWB_CANNOT_START_PROCESS
          Attempt to start process failed. See other error code(s).
4027    CWB_NON_REPRESENTABLE_UNICODE_CHAR
          One or more input UNICODE characters have no representation in the
          code page that is being used.
8998    CWB_UNSUPPORTED_FUNCTION
          The function is unsupported.
8999    CWB_INTERNAL_ERROR
          An internal error occurred.</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikrccaexpress.htm">iSeries Access return codes</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzaikappncm.htm" title="The iSeries Access for Windows Communications and Security topic shows you how to use iSeries Access for Windows application programming interfaces (APIs)">iSeries Access for Windows Communications and Security APIs</a></div>
</div>
</div>
</body>
</html>