30.06.2013 Views

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Create User <strong>Queue</strong> (QUSCRTUQ) API<br />

Does not contain<br />

library name Library name *USER<br />

None; error is<br />

returned<br />

Note: The QALWUSRDMN system value lists the libraries into which the user domain objects<br />

can be created. The libraries include special value *ALL or a list of one or more library names.<br />

Pointers<br />

INPUT; CHAR(10)<br />

Whether or not the user queue messages can contain pointer data or not. If this parameter is not<br />

specified, *NO is assumed.<br />

*YES<br />

Messages can contain pointer and scalar data. Messages to be enqueued must be 16-byte<br />

aligned, regardless of whether or not the message contains pointer data. Only user-domain<br />

user queues can contain pointer data; therefore, queues that support pointers cannot be created<br />

in or restored to a library that is not permitted by system value QALWUSRDMN. User<br />

queues that can contain pointers cannot be saved to a release prior to Version 2 Release 3<br />

Modification Level 0.<br />

*NO<br />

Messages can contain scalar data only. (User queues created prior to Version 2 Release 3<br />

Modification Level 0 contain scalar data only). The user queue can be in either the system<br />

domain or the user domain.<br />

Optional Parameter Group 3<br />

Number of queue extensions<br />

INPUT; BINARY(4)<br />

The maximum number of extensions allowed for the user queue. A value of -1 indicates that the<br />

maximum number of extensions will be chosen by the machine. If this parameter is not specified, 0<br />

is assumed.<br />

Reclaim storage<br />

INPUT; CHAR(1)<br />

Whether storage reclaim will be attempted when the number of currently enqueued messages in the<br />

user queue reaches zero. Allowable values are:<br />

0<br />

Do not reclaim storage when the user queues have no currently enqueued messages. 0 is the<br />

default value.<br />

1<br />

Reclaim storage when the user queues have no currently enqueued messages.<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quscrtuq.htm (6 of 9) [10/4/1999 2:33:25 PM]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!