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 />
The number of entries that are to be added to the user index. Valid values are 1 through 4095.<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.<br />
Format for Entry Lengths and Entry Offsets<br />
The following table defines the format for the entry lengths and entry offsets parameter. This information<br />
is needed to parse through the index entries parameter. For detailed descriptions of the fields in the table,<br />
see Field Descriptions.<br />
Offset<br />
Note: The following fields<br />
will be repeated. The number<br />
of times they are repeated<br />
depends on the value specified<br />
in the number of entries<br />
parameter.<br />
Type Field Dec Hex<br />
BINARY(4) Entry<br />
length<br />
Field Descriptions<br />
BINARY(4) Entry<br />
offset<br />
Entry length The length of the entry to be inserted into the index. Valid values are 1-2000. This value<br />
depends on how the user index was created.<br />
Entry offset. For the first entry, the offset is the number of bytes from the beginning of the index entries<br />
parameter to the first byte of the first entry. For each subsequent entry, the offset is the number of bytes<br />
from the beginning of the previous entry to the first byte of the next entry. Each entry offset value must be<br />
greater than or equal to 0 and must refer to an entry within the index entries parameter.<br />
Error Messages<br />
CPF24B4 E<br />
Severe error while addressing parameter list.<br />
CPF3CF1 E<br />
Error code parameter not valid.<br />
CPF3C7B E<br />
Length of index entries is not valid.<br />
CPF3C7C E<br />
User index is full.<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qusaddui.htm (4 of 6) [10/4/1999 2:33:37 PM]