Using wildcards
Workload Automation Programming Language supports the use of wildcards in many commands, either partially or completely.
Wildcards are completely supported for the standard keywords
of the Data Access commands based on PIF, and for the PIF related
keywords of the Current Plan Operation commands. In both cases, you
can use wildcards as in the HCL Workload Automation for Z PIF
commands:
- Percentage sign (%)
- Represents any single character.
- Asterisk (*)
- Represents one or more characters.
ABC*
- Matches values beginning with ABC.
*XYZ
- Matches values ending with XYZ.
ABC%%%XYZ
- Matches values beginning with ABC, followed by 3 characters of any value and ending with XYZ.
%%%%DEF*
- Matches any values starting with DEF at the fifth position in the string.
Wildcards are partially supported for non-PIF keywords within Workload Automation Programming Language where
wildcard support is explicitly stated. In this case, you can use wildcards
as in the HCL Workload Automation for Z PIF
commands:
- Percentage sign (%)
- Represents any single character.
- Asterisk (*)
- Represents one or more characters.
ABC*
- Matches values beginning with ABC.
*XYZ
- Matches values ending with XYZ.
ABC%%%XYZ
- Matches values beginning with ABC, followed by 3 characters of any value and ending with XYZ.
%%%%DEF*
- Matches any values starting with DEF at the fifth position in the string.