Safeguard Audit Service Manual (G06.24+, H06.03+)
Producing SAFEART Reports
Safeguard Audit Service Manual—520480-014
6-11
Guidelines for Comparison Statements
To search for all diskfile-pattern records matching the objectname search string
"$DATA.JA*.T*" (where the "*" in the filename is intended to be a search character),
enter this command under SAFEART:
SET WHERE objectname='$DATA.JA[*].T*'
To search for both diskfile and diskfile-pattern records matching the objectname search
string "$DATA.JA*.T*" (where all the wild cards are intended to be search characters),
enter this command under SAFEART:
SET WHERE objectname='$DATA.JA*.T*'
For more information on diskfile patterns, see the Safeguard User’s Guide.
Guidelines for Comparison Statements
A comparison statement consists of a record-item, a relational-operator, and
an expected value.
A record-item is a SAFEART field name such as SubjectUserName or ObjectType.
Uppercase letters in these names are used in this manual only for readability.
SAFEART is not case-sensitive. Nonetheless, the field names must be spelled
correctly. To check the spelling of field names, see Section 7, SAFEART Field
Descriptions, or issue the HELP ITEMS command.
A relational-operator is one of the operators listed earlier in this section under
the SET command. For enumerated fields, only the equal sign (=) and the not-equal
sign (<>) are valid.
A value in a comparison statement must correspond to the field type. For example, if
a comparison statement involves a numeric field, the value compared to it must be a
positive number. For the definition of the different field types, see Field Types on
page 7-1.
If the field type involves alphabetic characters, you do not need to worry about case
when you specify a value. However, do not use wild cards or abbreviations.
To determine which values you can use for an enumerated field, either see the tables
of enumerated items in Enumerated Fields on page 7-44, or issue a HELP ITEMS
command. For example, OwnerIsRemote is an enumerated field. To determine its
possible values, issue this command:
<=HELP ITEMS ownerisremote
These values appear:
Remote
Local
None
Unknown