z/OS DFSMSrmm Managing and Using Removable Media
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Name filtering with job name masks z/OS DFSMSrmm Managing and Using Removable Media SC23-6873-00 |
|
|
When you specify a job name or job name mask in a vital record
specification, there can be a more specific match between vital record
specifications and data sets.
In the first example, DFSMSrmm uses data set name only to match data sets to data set name masks. When there are multiple data sets of the same name that match the data set name mask, the sets of matching data sets are managed as a vital record group. There can be multiple vital record groups. For example, three A.B1 data sets are retained as one vital record group; three A.BX data sets are retained as another vital record group. When you add a job name mask as shown in the second vital record specification, there can be more vital record groups because each set of data sets with the same data set name and job name is managed as a separate vital record group. For example, you could have separate vital record groups for data sets that are created by JOB1; data sets that are created by job JOB2; data sets that are created by JOB3, and so on. When you specify JOBNAME(1), DFSMSrmm concatenates the jobname mask and the data set name to form a single filter mask. When you specify JOBNAME(2), the data set name mask and jobname mask are concatenated to form a single filter mask. If a data set matches to multiple vital record specifications, DFSMSrmm selects the vital record specification that matches most specifically. The most specific match is determined by scanning the filter masks from left to right checking for generic characters (%, *, or **). The sooner a generic character is found in a filter mask, the less specific the match is. For example, a data set MAXWELL.DATA.SET is created by a job with
JOBNAME BANK. Two vital record specifications are defined.
The data set matches to both vital record specifications. With
JOBNAME(1), the most specific match is determined by comparing the
data set name against the concatenated jobname and data set names.
BANK.*.DATA.SET is the most specific match.With JOBNAME(2), the most specific match is determined by comparing
the data set name against the concatenated jobname and data set names.
MAXWELL.DATA.SET.B* is the most specific
match.
|
Copyright IBM Corporation 1990, 2014 |