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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Add User Index Entries (QUSADDUI) API<br />

Add User Index Entries (QUSADDUI) API<br />

Required Parameter Group:<br />

1 Returned library name Output Char(10)<br />

2 Number of entries added Output Binary(4)<br />

3 Qualified user index name Input Char(20)<br />

4 Insert type Input Binary(4)<br />

5 Index entries Input Char(*)<br />

6 Length of index entries Input Binary(4)<br />

7 Entry lengths and offsets Input Array(*)<br />

of<br />

Char(8)<br />

8 Number of entries Input Binary(4)<br />

9 Error code I/O Char(*)<br />

Threadsafe: Yes<br />

The Add User Index Entries (QUSADDUI) API inserts one or more entries into the user index by the<br />

insert type. Each entry is inserted into the index at the appropriate location based on the binary value of the<br />

entry. No other collating sequence is supported. Every entry added causes the number of entries added<br />

parameter to be incremented by 1; you can retrieve the current number of entries added by using the<br />

Retrieve User Index Attributes (QUSRUIAT) API.<br />

When you request to add multiple entries to a user index, the request may be partially successful in the<br />

following situations:<br />

● One or more of the entries you requested to add already exists in the index.<br />

● The index becomes full as the entries are added.<br />

● The user profile storage limit is exceeded as entries are added.<br />

● One or more of the entry lengths or offsets are not valid.<br />

When an error occurs, you should check the number of entries added parameter to see if all entries were<br />

successfully added. If the number of entries added parameter and the number of entries parameter are not<br />

equal, then all entries were not added.<br />

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

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

Saved successfully!

Ooh no, something went wrong!