Examples of data set name patterns

The examples below assume that the following data sets exist under the USERID high-level qualifier:

USERID.FMN.DATA
USERID.FMN.TEMPLATES
USERID.COBOL.COPY
USERID.COBOL.SOURCE
USERID.PLI.COPY
USERID.PLI.SOURCE
USERID.MISC.DATA.BACKUP
USERID.WORK

Example 1

Entering the following pattern (with a single asterisk):
'USERID.*'
displays the only item with exactly one level of qualifier after USERID:
USERID.WORK

Example 2

Entering the following pattern (with two asterisks):
'USERID.**'
displays the complete list of data sets with the USERID high-level qualifier.

Example 3

Entering the following pattern:
'USERID.*.%%%%'
displays the following list (containing those data sets with exactly three qualifiers, whose third-level qualifier contains exactly four characters):
USERID.FMN.DATA
USERID.COBOL.COPY
USERID.PLI.COPY