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 Index (QUSCRTUI) API<br />

Optional Parameter Group 2<br />

Domain<br />

INPUT; CHAR(10)<br />

The domain into which the user index 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 index object into the system domain. The API can always create a user index<br />

into the system domain, regardless of the security level running. However, if you are running<br />

at security level 40 or greater, you must use <strong>APIs</strong> to access system-domain user index objects.<br />

*USER<br />

Attempts to create the user index object into the user domain. This is not always possible. If<br />

the library you are creating the user index into does not appear in the QALWUSRDMN<br />

system value, the API cannot create the user index 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 index. The<br />

destination library is the library you specified in the qualified user index 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<br />

Does not contain<br />

Library name *SYSTEM System domain<br />

library name Library name *USER None; error is returned<br />

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

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

If your system is at security level 40 or greater, you must use <strong>APIs</strong> to access system-domain user<br />

indexes using <strong>APIs</strong>. You cannot use MI instructions to directly access system-domain user indexes.<br />

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

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

Saved successfully!

Ooh no, something went wrong!