HSMS provides the statement SELECT-NODE-FILES as a means of selecting the path names of nodes. This HSMS statement creates a list of path names that can be used in the subsequent operands to select node files:
PATH-NAMES/SELECT-PATHS=*SELECTED
Unless otherwise specified, this list is written to a temporary file that is deleted once the task has been concluded.
Alternatively, this list can be written to a cataloged file, which can then be specified as a list file:
PATH-NAMES/SELECT-PATHS=*FROM-FILE(LIST-FILE-NAME=<file name>)
When handled in this way, the generated list can be used not just once, during a single HSMS session, but as often as desired.
SELECT-NODE-FILES can be used to select node files from an archive directory for restoration. In addition to the PATH-NAMES operand, a whole range of selection criteria can be used to select node files from an archive directory.
Selection from an archive
Files can be selected from an archive by means of the operand SELECT-FROM= *ARCHIVE. The following following selection criteria apply:
the archive in which they are managed
the save version in which they have been saved
the file expiration date
their save type.