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.
Add User Index Entries (QUSADDUI) API<br />
Note: If you add new entries with an entry length longer than the user index is expecting, the entries are<br />
truncated to the right. No error is given.<br />
If you are using a fixed length index and the entries you are adding are less than the fixed length,<br />
you may get undesirable results. The entries are not padded with blanks before being entered into<br />
the user index. The API checks the length of index entries parameter to ensure that the length you<br />
pass is a multiple of the length of one index entry.<br />
Authorities and Locks<br />
User Index Library Authority<br />
*EXECUTE<br />
User Index Authority<br />
*CHANGE<br />
User Index Lock<br />
*SHRUPD<br />
Required Parameter Group<br />
Returned library name<br />
OUTPUT; CHAR(10)<br />
The name of the library that contains the user index to which the entries were added if they were<br />
added successfully. This parameter is not set if no entries were successfully added. This information<br />
helps you identify the specific library used when *LIBL or *CURLIB is specified in the qualified<br />
user index name parameter.<br />
Number of entries added<br />
OUTPUT; BINARY(4)<br />
The number of entries successfully added to the specified user index. If an error is received while<br />
processing the entries, this number indicates how many were added before the error occurred.<br />
Qualified user index name<br />
INPUT; CHAR(20)<br />
The user index to which you want to add entries and the library in which it is located. The first 10<br />
characters contain the user index name, and the second 10 characters contain the library name. You<br />
can use these special values for the library name:<br />
*CURLIB<br />
The job's current library<br />
*LIBL<br />
The library list<br />
Insert type<br />
INPUT; BINARY(4)<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qusaddui.htm (2 of 6) [10/4/1999 2:33:37 PM]