Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
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 />
Error code<br />
I/O; CHAR(*)<br />
The structure in which to return error information. For the format of the structure, see Error Code<br />
Parameter. If this parameter is omitted, diagnostic and escape messages are issued to the<br />
application.<br />
Optional Parameter Group 2<br />
Domain<br />
INPUT; CHAR(10)<br />
The domain into which the user queue should be created. If this parameter is not specified, the value<br />
of *DEFAULT will be assumed by the API. Valid values for this parameter are:<br />
*DEFAULT<br />
Allows the system to decide into which domain the object should be created.<br />
*SYSTEM<br />
Creates the user queue object into the system domain. The API can always create a user<br />
queue into the system domain regardless of the security level you are running at. However,<br />
system-domain user queues can only be used at security level 30 and below because there are<br />
no <strong>APIs</strong> to access user queues.<br />
*USER<br />
Attempts to create the user queue object into the user domain. This is not always possible. If<br />
the library you are creating the user queue into does not appear in the QALWUSRDMN<br />
system value, the API cannot create the user queue into the user domain. An error message<br />
will be returned.<br />
The API uses the following criteria to determine into which domain to create the user queue. The<br />
destination library is the library you specified in the qualified user queue name parameter. The<br />
optional domain parameter is the information specified in the domain parameter.<br />
QALWUSRDMN<br />
System Value Destination Library<br />
Optional Domain<br />
Parameter<br />
Domain of Created<br />
Object<br />
*ALL Any *DEFAULT User domain<br />
*ALL Any *SYSTEM System domain<br />
*ALL Any *USER User domain<br />
QTEMP QTEMP *DEFAULT User domain<br />
QTEMP QTEMP *SYSTEM System domain<br />
QTEMP<br />
Does not contain<br />
QTEMP *USER User domain<br />
library name<br />
Does not contain<br />
Library name *DEFAULT System domain<br />
library name Library name *SYSTEM System domain<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quscrtuq.htm (5 of 9) [10/4/1999 2:33:25 PM]