Examples

Some examples of CAZRULE statements are illustrated here. The examples specify a name field that is ignored. We assigned reference numbers 01, 02, 03 and 04 to the rules in the name field for easier identification.

01 CAZRULE FRANK01,Allow,ViewRequestsOwnedBy,*
02 CAZRULE *,Allow,MeasureJob,*
03 CAZRULE *,Allow,MeasureTSU,========
04 CAZRULE ADMIN01,allow,AdministerProduct,*
Notes® about CAZRULE statement examples:
  1. The first example specifies an access rule that applies to User ID FRANK01. The second positional parameter, Allow, specifies that access is granted to FRANK01. The third positional parameter specifies the type of access. In this case, ViewRequestsOwnedBy specifies that FRANK01 is allowed to view reports for measurement requests. The fourth positional parameter specifies *. FRANK01 is allowed to view reports for measurement requests owned by any user.
  2. The second example specifies an access rule that applies to all users; the wildcard pattern * in the first positional parameter indicates this. The second positional parameter, Allow, specifies that the access is granted. The third positional parameter specifies the type of access. In this case, MeasureJob; it specifies those jobs are allowed to be measured. The fourth positional parameter specifies *. This grants all users permission to measure all job names.
  3. The third example specifies an asterisk for the User ID, hence, applies to all users. The value '========' is specified for the Object. In the case of MeasureTSU the Object is the User ID of the user's TSO address space. Since each character of the Object field is an equal sign, the corresponding characters of the actual User ID are substituted. The effect is that the user is only allowed to measure his own TSO address space.
  4. The fourth example specifies that only the User ID ADMIN01 has Application Performance Analyzer administrator authority. ADMIN01 is allowed to update the common list of data sets in the common data store for source program mapping. When expiry days warning is enabled, ADMIN01 will see the expiry days warning for all users' observations.