Using asterisks in resource names
To reduce the number of profiles you need to define, you can use * (one asterisk) and ** (two consecutive asterisks) to represent one or more entries. Use of one or two asterisks is optional.
Note: Before using asterisks in profile definitions, ensure that
generics have been activated for the relevant class:
SETROPTS GENERIC(CPSMOBJ,CPSMXMP)
The following examples demonstrate how asterisks can be used:
- OPERATE.*.EYUPLX01.EYUPLX01
- Indicates that all views and action commands associated with any type valid within the OPERATE function are to be recognized when the context and scope are EYUPLX01.
- OPERATE.PROGRAM.**
- Indicates that all views and action commands associated with the PROGRAM type within the OPERATE function are to be recognized, regardless of the current context and scope.
- OPERATE.**
- Indicates that all views and action commands associated with any type valid within the OPERATE function are to be recognized, regardless of the current context and scope.
- **
- Indicates that all views and action commands associated with any type valid within any function are to be recognized, regardless of the current context and scope.