114 lines
7.9 KiB
HTML
114 lines
7.9 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 Data Queues APIs" />
|
|
<meta name="abstract" content="Use iSeries Access for Windows Data Queues application programming interfaces (APIs) to provide easy access to iSeries data queues. Data queues allow you to create client/server applications that do not require the use of communications APIs." />
|
|
<meta name="description" content="Use iSeries Access for Windows Data Queues application programming interfaces (APIs) to provide easy access to iSeries data queues. Data queues allow you to create client/server applications that do not require the use of communications APIs." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikapiinterfaces.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdq.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikorderdqmsg.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqusing.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqapitypuse.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqapilist1.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqapilist2.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqapilist3.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqapilist4.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikdqapiex.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaikrcdqapis.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="appdq" />
|
|
<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 Data Queues
|
|
APIs</title>
|
|
</head>
|
|
<body id="appdq"><a name="appdq"><!-- --></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> Data Queues
|
|
APIs</h1>
|
|
<div><p>Use <span class="keyword">iSeries™ Access for Windows<sup>®</sup></span> Data
|
|
Queues application programming interfaces (APIs) to provide easy access to iSeries data
|
|
queues. Data queues allow you to create client/server applications that do
|
|
not require the use of communications APIs.</p>
|
|
<div class="section"><h4 class="sectiontitle"><span class="keyword">iSeries Access for Windows</span> Data
|
|
Queues 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="27.054794520547947%" id="d0e48">Header file</th>
|
|
<th valign="top" width="29.794520547945208%" id="d0e50">Import library</th>
|
|
<th valign="top" width="43.15068493150685%" id="d0e52">Dynamic Link Library</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" width="27.054794520547947%" headers="d0e48 ">cwbdq.h</td>
|
|
<td valign="top" width="29.794520547945208%" headers="d0e50 ">cwbapi.lib</td>
|
|
<td valign="top" width="43.15068493150685%" headers="d0e52 ">cwbdq.dll</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Programmer's Toolkit:</h4><p>The Programmer's Toolkit provides
|
|
Data Queues documentation, access to the cwbdq.h header file, and links to
|
|
sample programs. To access this information, open the Programmer's Toolkit
|
|
and select <span class="menucascade"><span class="uicontrol">Data Queues</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="rzaikdq.htm">Data queues</a></strong><br />
|
|
A data queue is a system object that exists on the iSeries system.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikorderdqmsg.htm">Ordering data queue messages</a></strong><br />
|
|
There are three ways to designate the order of messages on a data queue:</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqusing.htm">Work with data queues</a></strong><br />
|
|
You can work with data queues by using iSeries CL commands or callable programming
|
|
interfaces. Access to data queues is available to all iSeries applications regardless of the
|
|
programming language in which the application is written.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqapitypuse.htm">Typical use of data queues</a></strong><br />
|
|
A data queue is a powerful program-to-program interface. Programmers
|
|
who are familiar with programming on the iSeries servers are accustomed to using
|
|
queues. Data queues simply represent a method that is used to pass information
|
|
to another program.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqapilist1.htm">Data Queues: Create, delete, and open APIs</a></strong><br />
|
|
Use these APIs in conjunction with the <span class="apiname">cwbCO_SysHandle</span> System
|
|
Object handle.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqapilist2.htm">Data Queues: Accessing data queues APIs</a></strong><br />
|
|
After the <span class="apiname">cwbDQ_Open</span> API is used to create a
|
|
connection to a specific data queue, these other APIs can be used to utilize
|
|
it. Use the <span class="apiname">cwbDQ_Close</span> API when the connection no longer
|
|
is needed.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqapilist3.htm">Data Queues: Attributes APIs</a></strong><br />
|
|
Use these APIs to declare attributes of a data queue. The attribute object is used when creating a data queue or when obtaining the data queue attributes.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqapilist4.htm">Data Queues: Read and write APIs</a></strong><br />
|
|
Use these APIs for writing to and reading from a data queue</li>
|
|
<li class="ulchildlink"><strong><a href="rzaikdqapiex.htm">Example: Using Data Queues APIs</a></strong><br />
|
|
The following example illustrates using Data Queues 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="rzaikrcdqapis.htm">Data Queues 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> |