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.

Open List of Objects (QGYOLOBJ) API<br />

Open List of Objects (QGYOLOBJ) API<br />

Required Parameter Group:<br />

1 Receiver variable Output Char(*)<br />

2 Length of receiver variable Input Binary(4)<br />

3 List Information Output Char(80)<br />

4 Number of records to return Input Binary(4)<br />

5 Sort information Input Char(*)<br />

6 Object and library name Input Char(20)<br />

7 Object type Input Char(10)<br />

8 Authority control Input Char(*)<br />

9 Selection control Input Char(*)<br />

10 Number of fields to return Input Binary(4)<br />

11 Key of fields to return Input Array(*)<br />

of<br />

Binary(4)<br />

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

Threadsafe: No<br />

The Open List of Objects (QGYOLOBJ) API lets you generate a list of object names and descriptive<br />

information based on specified selection parameters. The QGYOLOBJ API places the list into a receiver<br />

variable. You can access additional records by using the Get List Entries (QGYGTLE) API. On successful<br />

completion of this API, a handle is returned in the list information parameter. You may use this handle on<br />

subsequent calls to the following <strong>APIs</strong>:<br />

Get List Entries (QGYGTLE)<br />

Find Entry Number in List (QGYFNDE)<br />

Close List (QGYCLST)<br />

You can use the QGYOLOBJ API to:<br />

● Open a list of objects in a library<br />

● Open a list of objects of only one type<br />

●<br />

Write an application program to move programs from the QRPLOBJ library back to their original<br />

location<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qgyolobj.htm (1 of 24) [10/4/1999 2:36:21 PM]

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

Saved successfully!

Ooh no, something went wrong!