![]() |
simple selection criterium
[col] [-] [p] 'string'
Selection according to a string of characters occurring in the Files/Job variable/ Library element name.
col :col1-col2: | :col: | >:col: | <:col:
If a column range is entered (:col: or :col1-col2:), the specified search string 'string' must begin in this column range. See additional information in the notes on the next page.
- negative selection: All data objects are selected whose name does not contain 'string'.
p > | <
All data objects are selected whose name is greater/less than 'string'.
Standard: = 'string'
'string' Search string.
The single quotes enclosing the search string can mostly be omitted. Selection strings containing CFS keywords, such as FMS/ LMS/ LMR MAC/ NO/ RL/ FSTAT/ STAJV/ RDTFT/ OLDLIST must be enclosed in quotation marks.
Notes:
If no string is given in the FILENAME-SELECT field, then all file/Job variables will be selected whose characteristics match those specified in the other search criteria fields of the mask.
If an empty selection mask is transmitted, then all files of the current userid will be selected.
If a column range is specified in the search argument, then the following differences to EDT column range specification should be noted:
1) :col1-col2: means only that the search string enclosed in quotes must begin within the specified column range.
In EDT the search string must be contained fully within the column range.
2) :col: means that the search string enclosed within the quotes must begin exactly at that column.
Specifying an individual column in EDT will cause the search to be performed from that column to the end of the record. This is achieved in CFS by specifying >:col2: , whereby col2=col-1. By entering <:col: in CFS, a string can be sought from the beginning of the name up to col.
Examples:
LST
The file name must contain the string 'LST'.
#
All temporary files of the current session are selected.
'#'
All regular files (i.e. no temporary files) containing the character '#' somewhere in its name will be selected.
-'.'
The name may not contain a full stop '.' .
:1:<'D'
The name must begin with the letters A, B, or C (characters < 'D').
:1-3:-'.'
The name may not begin with a 3 letter partial qualification.
:9:' '
The name must contain a blank in column 9, i.e. it must be 1 to 8 characters long.
->'Z'
The name may not contain any numerals (no character > 'Z').