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.

Retrieve Library Description (QLIRLIBD) API<br />

INPUT; CHAR(*)<br />

The information for the library that you want to retrieve. The information must be in the following<br />

format:<br />

Number of elements in request array<br />

BINARY(4)<br />

The total number of all of the request keys.<br />

Request keys<br />

ARRAY of BINARY(4)<br />

An array of request keys to identify what fields of information about the library are requested.<br />

The size of the array is defined in the preceding number of elements in request array value.<br />

For a list of the valid key identifiers, see the topic 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.<br />

Format of <strong>Data</strong> Returned<br />

For detailed descriptions of the fields, see Field Descriptions.<br />

Offset<br />

Dec Hex Type Field<br />

0 0 BINARY(4) Bytes returned<br />

4 4 BINARY(4) Bytes available<br />

8 8 BINARY(4) Variable length records returned<br />

12 C BINARY(4) Variable length records available<br />

16 10 CHAR(*) Variable length record for each key specified. For the specific format of the<br />

variable length record, see Format for Variable Length Record.<br />

Format for Variable Length Record<br />

For detailed descriptions of the fields, see Field Descriptions.<br />

Offset<br />

Dec Hex Type Field<br />

0 0 BINARY(4) Length of returned data<br />

4 4 BINARY(4) Key identifier<br />

8 8 BINARY(4) Size of field<br />

12 C CHAR(*) Field value<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qlirlibd.htm (2 of 7) [10/4/1999 2:36:39 PM]

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

Saved successfully!

Ooh no, something went wrong!