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.

Create User Index (QUSCRTUI) API<br />

characters contain the user index name, and the second 10 characters contain the library name. You<br />

can use this special value for the library name:<br />

*CURLIB<br />

The job's current library<br />

User indexes created in the QTEMP and QRPLOBJ libraries are not forced to permanent storage;<br />

they are deleted when those libraries are cleared at sign-off and system IPL, respectively.<br />

Extended attribute<br />

INPUT; CHAR(10)<br />

The extended attribute of the user index. For example, an object type of *FILE could have an<br />

extended attribute of PF (physical file), LF (logical file), DSPF (display file), or SAVF (save file).<br />

The extended attribute must be a valid *NAME. You can enter this parameter in uppercase,<br />

lowercase, or mixed case. The API automatically converts it to uppercase.<br />

Entry length attribute<br />

INPUT; CHAR(1)<br />

Whether there are fixed-length or variable-length entries in the user index. The valid values are:<br />

F<br />

Fixed-length entries<br />

V<br />

Variable-length entries<br />

Entry length<br />

INPUT; BINARY(4)<br />

The length of entries in the index.<br />

The valid values for fixed-length entries are from 1 through 2000.<br />

Valid values for variable length entries are 0 or -1. A value of 0 enables a maximum entry length of<br />

120 bytes and a key length from 1 through 120. A value of -1 enables a maximum entry length of<br />

2000 and a key length from 1 through 2000.<br />

Note: A user index created with an entry length greater than 120 cannot be saved or restored to a<br />

release prior to Version 2 Release 2 Modification 0.<br />

Key insertion<br />

INPUT; CHAR(1)<br />

Whether or not the inserts to the index are by key. The valid values are:<br />

0<br />

No insertion by key<br />

1<br />

Insertion by key<br />

Key length<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quscrtui.htm (3 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!