<?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="task" /> <meta name="DC.Title" content="Prerequisites for using data queues" /> <meta name="abstract" content="Before using a data queue, you must first create it using the Create Data Queue (CRTDTAQ) command." /> <meta name="description" content="Before using a data queue, you must first create it using the Create Data Queue (CRTDTAQ) command." /> <meta name="DC.subject" content="data queue, creating, managing storage" /> <meta name="keywords" content="data queue, creating, managing storage" /> <meta name="DC.Relation" scheme="URI" content="qcomm.htm" /> <meta name="DC.Relation" scheme="URI" content="../cl/crtdtaq.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="prerq" /> <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>Prerequisites for using data queues</title> </head> <body id="prerq"><a name="prerq"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Prerequisites for using data queues</h1> <div><p>Before using a data queue, you must first create it using the <span class="cmdname">Create Data Queue (CRTDTAQ)</span> command. </p> <div class="section"> <p>The following is an example: </p> <pre>CRTDTAQ DTAQ(MYLIB/INPUT) MAXLEN(128) TEXT('Sample data queue')</pre> <p>The required MAXLEN parameter specifies the maximum length (1 to 64,512 characters) of the entries that are sent to the data queue.</p> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="qcomm.htm" title="Data queues are a type of system object that you can create, to which one HLL procedure or program can send data, and from which another HLL procedure or program can receive data.">Use data queues</a></div> </div> <div class="relinfo"><strong>Related information</strong><br /> <div><a href="../cl/crtdtaq.htm">Create Data Queue (CRTDTAQ) command</a></div> </div> </div> </body> </html>