Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Open List of Objects (QGYOLOBJ) API<br />
The format of this parameter is described in Selection Control Format.<br />
Number of keyed fields to return<br />
INPUT; BINARY(4)<br />
The number of keyed fields to return in addition to the fields returned with the specified format.<br />
Key of fields to be returned<br />
INPUT; ARRAY(*) of BINARY(4)<br />
The list of the fields to be returned in addition to the fields returned with the specified format. For a<br />
list of the valid keys, see page Valid Keys.<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. If this parameter is omitted, diagnostic and escape messages are issued to the<br />
application.<br />
Sort Information Format<br />
The following shows the format of the sort information parameter. For detailed descriptions of the fields in<br />
the table, see Field Descriptions.<br />
Dec<br />
Offset<br />
Hex Type Field<br />
0 0 BINARY(4) Number of keys to sort on<br />
Offsets vary. These BINARY(4) Sort key field starting position<br />
fields repeat for each<br />
sort key field.<br />
BINARY(4) Sort key field length<br />
BINARY(2) Sort key field data type<br />
CHAR(1) Sort order<br />
CHAR(1) Reserved.<br />
Note: If the last three fields (sort key field data type, sort order and the reserved field) are not used, they<br />
must be set to hexadecimal zeros. This causes all the data to be treated as character data, and it is sorted in<br />
ascending order.<br />
Field Descriptions<br />
Number of keys to sort on. The number of fields within the record structure to sort on. If zero is<br />
specified, the list is not sorted.<br />
Reserved. An ignored field. Set to hexadecimal zeros.<br />
Sort key field data type. The data type of the field to sort. Refer to the key data type field in the for<br />
information about the list of data types available.<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qgyolobj.htm (6 of 24) [10/4/1999 2:36:21 PM]