Skip to content

Data Set Name Patterns

Many of the configuration procedures allow entry of data set name patterns. All data set name patterns in ChangeMan ZDD follow z/OS wild syntax rules as follows:

Wild Character Usage
? A question mark indicates that exactly one character (except period) can occupy that position.
* A single asterisk by itself indicates that one qualifier must occupy that position. A single asterisk within a qualifier indicates that zero or more characters can occupy that position.
** A double asterisk indicates that zero or more qualifiers can occupy that position. A double asterisk is invalid within a qualifier; it must be preceded or followed by either a period or blank.

Note

This is different from Windows wild rules where a single asterisk can represent multiple qualifiers.

The following examples illustrate how patterns are matched with data set names:

Pattern Match No Match
ABC.TEST???.D?TA ABC.TEST001.DATA ABC.TEST001.DAATA
ABC.T*.*.DATA ABC.TEST.NEW.DATA ABC.TMP.VERY.OLD.DATA
ABC.TEST.DATA
ABC.PROD.NEW.DATA
ABC.*X*.DATA ABC.X.DATA
ABC.AX.DATA
ABC.AAXBB.DATA
ABC.XYZ.DATA
ABC.X.Y.
ABC.AABB.DATA
ABC.**.DATA ABC.DATA
ABC.TEMP.DATA
ABC.VERY.OLD.DATA
ABC.TEMP.DATA.JUNK
ABC.*.DATA ABC.NEW.DATA
ABC.TEMP.DATA
ABC.DATA
ABC.VERY.OLD.DATA
**.DATA ABC.DATA
ABC.TEMP.DATA
ABC.VERY.OLD.DATA
ABC.TEMP.DATA.JUNK
*.DATA ABC.DATA ABC.TEMP.DATA
ABC.VERY.OLD.DATA
Back to top