71 lines
5.2 KiB
HTML
71 lines
5.2 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="Examples: Using data queues or user queues" />
|
|
<meta name="abstract" content="Data queues and user queues both provide a means for one or more processes to communicate asynchronously. The queues can be processed FIFO (first-in first-out), LIFO (last-in first-out), or by key." />
|
|
<meta name="description" content="Data queues and user queues both provide a means for one or more processes to communicate asynchronously. The queues can be processed FIFO (first-in first-out), LIFO (last-in first-out), or by key." />
|
|
<meta name="DC.Relation" scheme="URI" content="ExTaskAPIs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="exdqdetermine.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="exdqilec.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="exdqilecobol.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="exdqopmrpg.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="exdqilerpg.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="exuqilec.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="aboutapis.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="conDomain.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="ExTaskDataque" />
|
|
<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>Examples: Using data queues or user queues</title>
|
|
</head>
|
|
<body id="ExTaskDataque"><a name="ExTaskDataque"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Examples: Using data queues or user queues</h1>
|
|
<div><p>Data queues and user queues both provide a means for one or more
|
|
processes to communicate asynchronously. The queues can be processed FIFO
|
|
(first-in first-out), LIFO (last-in first-out), or by key.</p>
|
|
<div class="section"><div class="note"><span class="notetitle">Note:</span> Read the <a href="codedisclaimer.htm">Code license and disclaimer information</a> for important
|
|
legal information.</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="exdqdetermine.htm">Determining whether to use data queues or user queues</a></strong><br />
|
|
If user queues and data queues supply the same function, which one should you choose for your implementation? The following is a comparison of the two and an insight into when you should use one queue rather than the other.</li>
|
|
<li class="ulchildlink"><strong><a href="exdqilec.htm">Example in ILE C: Data queue</a></strong><br />
|
|
This program illustrates how to use APIs to create and manipulate a data queue.</li>
|
|
<li class="ulchildlink"><strong><a href="exdqilecobol.htm">Example in ILE COBOL: Data queue</a></strong><br />
|
|
This program illustrates how to use APIs to create and manipulate a *DTAQ. The following program also works with OPM COBOL.</li>
|
|
<li class="ulchildlink"><strong><a href="exdqopmrpg.htm">Example in OPM RPG: Data queue</a></strong><br />
|
|
This program illustrates how to use APIs to create and manipulate a *DTAQ.</li>
|
|
<li class="ulchildlink"><strong><a href="exdqilerpg.htm">Example in ILE RPG: Data queue</a></strong><br />
|
|
This program illustrates how to use APIs to create and manipulate a *DTAQ.</li>
|
|
<li class="ulchildlink"><strong><a href="exuqilec.htm">Example in ILE C: User queue</a></strong><br />
|
|
This program illustrates how to use APIs to create and manipulate a user queue.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ExTaskAPIs.htm" title="This topic provides some examples of using APIs to perform different types of tasks.">Performing tasks using APIs</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="aboutapis.htm" title="Describes most of the iSeries application programming interfaces (APIs), as well as some APIs for related products that can be used on iSeries servers.">About application programming interfaces (APIs)</a></div>
|
|
<div><a href="conDomain.htm" title="All objects are assigned a domain attribute when they are created.">Domain concepts</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |