Wildcard support for specifying selection criteria keywords

Advanced Archive for DFSMShsm supports the use of two wildcard characters when specifying selection criteria keywords for archiving, restoring and reporting. The wildcard characters can be used in masks for data set names, volume serial numbers, management class names, and storage class names for the STORGRP keyword.

The following table describes how Advanced Archive for DFSMShsm interprets these wildcard characters.

Table 1. Wildcard characters
Character Interpretation
* A single asterisk (*) represents a qualifier, or one or more characters within a qualifier, a volume serial number, a management class name, a storage class name, or an archive database group ID, at the specified location within the data set name or management class name. The asterisk may precede or follow a string of characters.
** A double asterisk (**) represents zero or more qualifiers at the specified location within a data set name. A double asterisk may not be preceded or followed by character strings; the double asterisk must be preceded by a period (.) and followed by a period or at least one blank space.
% A single percent sign (%) represents a single alphanumeric or national character at the specified location in the data set name, volume serial number, management class name, storage group name, or archive database group ID. These are the restrictions on the use of the percent sign in masks:
  • You may specify up to eight percent signs within each data set name qualifier specification.
  • You may not use masks when you are specifying a range of volume serial numbers.
  • You may not use masks when you are specifying dates or values for any of the #DAYS_UNTIL or #DAYS_SINCE keywords.