Previous Topic: EDL AssistantNext Topic: Joining Objects and Conditions


Syntax

EDL selection statements have the following general syntax:

OBJECT  WHERE  CONDITION

For example:

VOLUME  WHERE  VOLUME_SIZE > 5GB

Clauses

Examples

OBJECT

The OBJECT clause can be an actual object (such as a file or computer) or include an object name pattern (for example, every file with an *.exe extension).

The following are examples of valid object clauses:

COMPUTER                 (object)
file “*.txt”             (object with pattern)
MY_COMPUTERS             (class)

CONDITION

The CONDITION can be one of the following:

(1) ATTRIBUTE  OPERATOR  VALUE

for example:

VOLUME_SIZE >= 3GB
(2) OBJECT  RELATION  SELECTION
for example:	
TSM_SESSION  BELONGS_TO  TSM_NODE “QA”

You can combine these basic conditions using the logical operators AND, OR, and NOT.

Note: In the actual EDL statement, entries in quotation marks are case-sensitive and must appear exactly as they appear in the CA SRM database. For example, DIRECTORY “usr” is not the same as DIRECTORY “USR”. To remove case sensitivity, use the UCASE keyword. For example, UCASE(DIRECTORY) “USR” finds directories USR, Usr, and usr.

For more information about timing expressions, see Special Statements in this chapter.