Data Set Name functions parse and build the NWSM_DATA_SET_NAME_LIST and NWSM_SELECTION_LIST structures. The Data Set Name functions support maximum of 255 names or paths.
Data Set Name functions use the following definitions:
#define VALID 0x2AAAAAAAL
#define INVALID 0x15555555L
Context information for each data set name list or selection list is kept in a list handle. valid contains two values, VALID or INVALID, which indicates if the structure is still allocated (VALID), or previously released (INVALID).