A list object for a list of iSeries™ spool files is created. After setting the desired filter criteria, the list is opened, and a handle to the first object in the list is obtained. A properties view that shows the attributes for this object is displayed to the user.
(O) cwbRC_StartSys Start a conversation with an iSeries server (R) CWBSO_CreateListHandle Create a list of iSeries objects (O) CWBSO_SetListFilter Set list filter criteria (R) CWBSO_CreateErrorHandle Create an error object (R) CWBSO_OpenList Open the list (builds a list on the iSeries server) (O) CWBSO_DisplayErrMsg Display error message if error occurred (O) CWBSO_GetListSize Get number of objects in the list (R) CWBSO_GetObjHandle Get an object from the list (R) CWBSO_DisplayObjAttr Display the properties view for the object (R) CWBSO_DeleteObjHandle Delete the object (O) CWBSO_CloseList Close the list (R) CWBSO_DeleteErrorHandle Delete error object (R) CWBSO_DeleteListHandle Delete list (O) cwbRC_StopSys End iSeries conversation