Record selection is based on comparisons of a TMC/Audit record field to a site-defined constant or to another TMC/Audit record field. The comparisons are any combinations of relational expressions.
Example
CONTROL-SECTION
.
.
.
DEFINE CYCLOW DT 'CYCLE/001'
DEFINE CYCHI DT 'CYCLE/364'
PROCESS-SECTION
WHEN EXPDT GE CYCLOW AND EXPDT LE CYCHI
LIST
REPORT-SECTION
.
.
.
In the previous example, records for all tape data sets with expiration dates under Cycle Control would be selected.
If a record fails to be selected by a WHEN statement, it is processed against the next WHEN statement. If the TMC/Audit record fails to be selected by any of the WHEN statements, it will not appear in the report.
Complete instructions on record selection are found in the paragraphs covering the PROCESS-SECTION and CONTROL-SECTION statements.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|