Filter pattern masks
Many commands allow you to specify powerful filtering masks using extended ACS masking characters, as shown in the following table.
Mask | Hex | Description |
---|---|---|
* (Single character) |
5C | Can be used before an item or after an item (or both) to designate a wildcard character position. Consider the following example: *PRODAn item
is selected if the last four character end in PROD regardless of the
starting characters. Using the Note: You can not use an
* in the middle
portion of a single item (except for data set names). Use the % character (see below) for that purpose. |
% | 6C | Denotes a single character placeholder value,
which can be alphanumeric or any special character. The Consider the following example: CRM%%ER6An item is
to be selected if it is 8 characters in length and the first three
characters are |
< | 4C | Similar to the Consider the following example: CR<<ER*An item
is to be selected if the first two characters are |
> | 6E | Similar to the Consider the following example: CR>>ER*An item is to be selected if the first two
characters are |
| | 4F | Denotes a multiple character placeholder value for alphanumeric characters. The | character can be used only in the final position of the mask to represent ‘any number of alphanumeric characters.’ Consider the following example: ABC.PROD1017.|An item is to be selected
if the first three characters are |
** (Double asterisk) |
5C5C | Allows compatibility with standard ACS and DFSMSdss filtering
masks. This mask is used only for partially qualified data set names.
The Consider the following example: CRFM*.*VER.**A data set entry is to be selected if it has at least two qualifiers
and the first qualifier starts with Note: As with
common data set name masking, any combination of
* , ** , % , < and > characters can be used for the item mask value. |
! | 5A | Similar to the National characters are |