Continues the data set name parsing process started by calling NWSMGetFirstName .
#include <smsutapi.h> CCODE NWSMGetNextName( SMS_HANDLE SM_HUGE *handle, NWSM_DATA_SET_NAME SM_HUGE *name);
(IN) Points to the name handle returned by NWSMGetFirstName.
(OUT) Points to the data set name information.
The following table lists the return values associated with the function.
NWSMGetNextName returns the next name contained in buffer.
To close handle, call NWSMCloseName. handle is automatically closed when NWSMGetNextName returns NWSMUT_NO_MORE_NAMES.
#include <smsutapi.h> CCODE ccode; UINT32 HUGE handle NWSM_DATA_SET_NAME HUGE name; NWSM_DATA_SET_NAME_LIST *dataSetList; void HUGE *buffer; buffer = dataSetList; if ((ccode = NWSMGetFirstName(buffer, &name, &handle)) == 0) { while ((ccode = NWSMGetNextName(&handle, &name)) == 0) { ... } } if (!ccode) NWSMCloseName(&handle);