A field within a table row can be compared to any other field in the row according to the following rules. If the following field-to-field compatibility rules are violated, you will receive an error message when using the filter dialog.
Examples of field-to-field comparison filter statements
The following field-to-field comparison filter statement, for the Data Sets For System (All) object, identifies data sets that were created but have not been used since the creation date.
Create Dt = LastUseDt
This could be expanded to list only data sets that were created and last used on the same date, but in addition, have not been used within the last 100 days. This combined test eliminates displaying recently created data sets:
Create Dt = LastUseDt AND DaysUn > 100
Another example of a field-to-field comparison filter statement using the Data Sets For System (All) object, is to compare the logical record length value and the block size value. The result is a list of data set names where logical record length is the same as the block size. The results can indicate poorly blocked data sets.
Lrecl = Blksz
|
Copyright © 2013 CA.
All rights reserved.
|
|