The examples contained in this section represent parameter syntax for exclusive processing. For clarity, the default STARTWITH=ALL is included in all of the following examples.
Example 1 - Sweep and audit all areas except CLASS-REGION
PROCESS,SUBSCHEMA=TESTSUB,STARTWITH=ALL AUDIT,USERSETS AREA=CLASS-REGION,NOACCESS
Any set whose owner or members reside in CLASS-REGION is not audited. Specifically, the following sets are not audited:
SUBJECT-CLASS TEACHER-CLASS ROOM-CLASS PERIOD-CLASS CLASS-SCHEDULE STUDENT-SCHEDULE
Example 2 - Do not sweep area CLASS-REGION, but access its member records from cross-area sets
PROCESS,SUBSCHEMA=TESTSUB,STARTWITH=ALL,AUDITTYPE=STANDARD AUDIT,USERSETS AREA=CLASS-REGION,NOSWEEP
A cross-area set is a set whose owners and members reside in different areas. In this example, all sets whose owners reside outside of CLASS-REGION are audited, even if the members reside in CLASS-REGION. Consequently, the only set not audited is CLASS-SCHEDULE.
To satisfy the conditions of Example 2, the audit type must be Standard. Example 3, which follows, demonstrates the effect of specifying QuickCheck as the audit type with all other parameters being the same.
Example 3 - Do not audit owned sets in area CLASS-REGION with QuickCheck
PROCESS,SUBSCHEMA=TESTSUB,STARTWITH=ALL,AUDITTYPE=QUICKCHECK AUDIT,USERSETS AREA=CLASS-REGION,NOSWEEP
Again, in this example, only the CLASS-SCHEDULE set is not audited. Because the audit type is QuickCheck, however, the sets with owner records that point into the NOSWEEP CLASS-REGION from another area must be set either to AUDIT or NOAUDIT. This parameter is required because, by definition, NOSWEEP does not impact member sets, yet QuickCheck must sweep member records if their owners are swept and their sets are audited. One way to audit owned sets that point into CLASS-REGION is to audit one of the sets that point into the CLASS-REGION, thereby forcing the CLASS-REGION to be swept:
AREA=CLASS-REGION, NOSWEEP SET=SUBJECT-CLASS, AUDIT
Example 4 - Audit an entire subschema except for sets IX-SUBJ-NAME and IX-STUD-LNAME
PROCESS,SUBSCHEMA=TESTSUB,STARTWITH=ALL AUDIT,USERSETS SET=IX-SUBJ-NAME,NOAUDIT SET=IX-STUD-LNAME,NOAUDIT
Integrated index sets that are stored in the same area page range must be audited--or not audited--together. If IX-SUBJ-NAME and IX-TCHR-LNAME were in the same page range, you would have no choice but to set them both to AUDIT or to NOAUDIT.
|
Copyright © 2013 CA.
All rights reserved.
|
|