Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Create User <strong>Queue</strong> (QUSCRTUQ) API<br />
lowercase, or mixed case. The API automatically converts it to uppercase.<br />
<strong>Queue</strong> type<br />
INPUT; CHAR(1)<br />
The sequence in which messages are to be dequeued from the queue. The valid values are:<br />
F<br />
First-in first-out<br />
K<br />
Keyed<br />
L<br />
Last-in first-out<br />
Key length<br />
INPUT; BINARY(4)<br />
The length in bytes of the message key from 1 to 256 if you specify the queue type as keyed. If you<br />
specify that the queue is not a keyed queue, the value must be 0.<br />
Maximum message size<br />
INPUT; BINARY(4)<br />
The maximum allowed size of messages to be placed on the queue. The API truncates messages that<br />
are longer than the value you specify. The maximum size allowed is 64 000 bytes.<br />
Initial number of messages<br />
INPUT; BINARY(4)<br />
The initial number of messages that the queue can contain.<br />
Additional number of messages<br />
INPUT; BINARY(4)<br />
The amount to increase the maximum number of messages value when the queue is full. When this<br />
parameter is set to 0, the queue is not extended if an overflow occurs and an error message is sent to<br />
the program attempting to place a message on the queue.<br />
Public authority<br />
INPUT; CHAR(10)<br />
The authority you give to the users who do not have specific private or group authority to the user<br />
queue. Once the user queue has been created, its public authority stays the same when it is moved to<br />
another library or restored from backup media.<br />
If the replace parameter is used and a user queue exists to be replaced, this parameter is ignored. All<br />
authorities are transferred from the replaced user queue to the new one.<br />
The valid values for this parameter are:<br />
*ALL<br />
The user can perform all authorized operations on the user queue.<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quscrtuq.htm (3 of 9) [10/4/1999 2:33:25 PM]