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 these open list APIs are:
These 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 Open List APIs, you should use the Close List 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 option of i5/OS(TM) is installed. You can install this option by using the GO LICPGM function of i5/OS. 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 i5/OS (OS/400) Version 5 Release 3, these and other Open List APIs are available in i5/OS. 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 i5/OS.
The process open list APIs and their functions are:
Top | APIs by category |