![]() |
multiple selection conditions
Multiple Selection - Format 1: param [op param] [op param] .....
param simple search argument according to the syntax described above.
op Logical operator joining the simple search arguments.
, Or operation.
+ And operation.
* [n] Wildcard operation: And operation, but in addition, the second string must occur after the first in the file name. If the value n is specified, then exactly n positions must exist between the two strings.
Any number of search arguments joined with the Or/And/Wildcard operators may be specified.
Examples:
CFS*SRC
Select all files whose name contains the string 'CFS', and then somewhere later in the name the string 'SRC'.
:1:>'B'+:1:<'H',:1:'X',:1:'Y',:1:'Z'
All files whose names begin with the letter C, D, E, F, G, X, Y or Z.
Multiple Selection - Format 2: ( )
Entering () will display a special search mask. The user will then have 18 lines available to enter any number of search arguments. For a description of the search mask, see page 8-.
Multiple Selection - Format 3: %name | %?
%name is the name of a Parameter Set which contains a complex search argument, and which was saved earlier with the SP %name.
%?: All available parameter sets will be displayed in a list. One of those displayed can be selected by marking it. For further information, see page 8-.
Multiple Selection - Format 4: ( s-fil )
s-fil is the name of a SAM file containing the search arguments. For further information, see page 8-.
Example:
LMS CFS.TESTPLAM,(CFS.SEL.1)
The SAM file CFS.SEL.1 contains the following records:
'OUT'+-'LOGOUT'+'A1'
'CFS'*'SRC'
:1:'S/'
The specified selection records are merged by CFS to give the following search argument: 'OUT'+-'LOGOUT'+'A1','CFS'*'SRC',:1:'S.'
As a result of this statement, all elements from the library CFS.TESTPLAM will be selected whose name fulfills one of the following conditions:
- The element name contains the strings 'OUT' and 'A1', but not 'LOGOUT'
- The element name contains the string 'CFS' and anywhere after that 'SRC'.
- The element name begins with the string 'S/' (Element type S).