Wildcard characters
When you specify selection criteria for a JOBNAME, JOBSTEP, PROGNAME, or DSNAME, you can specify a value string that includes a wildcard character.
For example, you can specify JOBNAME=ABC* to indicate that all jobs with names starting with the characters ABC will be processed by this definition.
JOBNAME, JOBSTEP, and PROGNAME can use the following wildcard characters:
Character | Description |
---|---|
% | A percent sign represents any single character. For example, JOBNAME=A%M matches names such as ASM, ADM, and AJM. |
* | A single asterisk represents zero or more characters. For example, JOBNAME=A*D matches names that start with A and end with D, such as ASD, ADD, ASDD, A5TYD, and so on. |
DSNAME can use the following wildcard characters:
Character | Description |
---|---|
% | A percent sign represents any single character. For example, ABC.D %F.GHI matches names like ABC.D AF.GHI, ABC.D BF.GHI, and ABC.D 5F.GHI, and so on; but not ABC.D ABF.GHI. |
* | A single asterisk represents a partial or entire qualifier. You can use one or two asterisks in a qualifier. If you use one asterisk, it can be in any position in the qualifier. If you use two asterisks, the first one must be in the first position of the qualifier and the second one must be in the last position of the qualifier. For example:
|
** | A double asterisk represents zero or more entire qualifiers. If you do not use any other wildcards in the qualifier, a double asterisk is assumed to be at the end of the qualifier. For example, ABC. **.GHI matches anything that ABC.*.GHI would match, as well as names like ABC. DEF.GHI.JKL. It does not match names like ABCDEF.GHI.JKL. |
The heading for each option displays the field name as it appears on the BMC AMI Batch Optimizer dialog Data Policy Definition panel.
Related topic