Process Open List APIs

The process open list APIs are used to access the data returned by the open list APIs. You can get list entries, find entry numbers in lists and in message lists, find field numbers in lists, retrieve server job information, and close lists. Some examples of the open list APIs are:

The open list APIs can improve perceived performance when creating lists. The APIs create and make available to the caller a partial listing of the total set of files, messages, or objects. This list is immediately available to be acted upon, while the remainder of the list is being created. The user does not have to wait for the entire list to be created.

Note: When using the open list APIs, you should use the Close List (QGYCLST) API to close any open lists after they have been processed and are no longer needed. This frees any internal storage associated with that list. Failure to close open lists when finished may result in the inability to process subsequent open lists APIs.

The open list APIs are available only if the Host Servers feature of the IBM® i operating system is installed. You can install this option by using the GO LICPGM function of IBM i. Select the Install Licensed Programs option on the Work with Licensed Programs display, and select the Host Servers option on the Install Licensed Programs display. Beginning with IBM i Version 5 Release 3, these and other open list APIs are available in IBM i. However, the Host Servers option may still be required so that applications from previous releases continue to function properly. Routing programs are provided with the Host Servers option to transfer requests to the corresponding program in IBM i.

The process open list APIs and their functions are:


[ Back to top | APIs by category ]