![]() |
Basic Mode
In the Basic mode of CFS, only input records with a *001 header (or continuation records) will be read from SYSDTA.
No further input will be expected by CFS after reading in the selection conditions and the Variable Actions. The portion of the program that displays the file list and processes the commands will be skipped. CFS proceeds straight to the execution of a Variable Action (if specified) in the form ON&... .
The termination query is also skipped after executing the Variable Action for all the selected data objects. If another *001 record appears on the SYSDTA input medium, then, as described above, it will used as input for the CFS Selection mask. CFS will be terminated when the End of File condition is reached on SYSDTA. This will be, for example, when the next BS2000 command is encountered in a DO procedure.
The Selection criteria are detected in the basic procedure mode by the record having a *001 header. Together with task switches 1 and 11, this header will result in CFS switching to basic procedure mode.
Format of *001 Records
*001 select=par [; select=par ....... ; select=par ]
select Keyword, or abbreviation, for a selection mask field. CFS will substitute spaces as parameter values for those keywords not specified.
par Value for the respective Selection mask field.
Between a parameter value and another keyword, a semicolon is to be used as a separator character.
Only the first 80 bytes of each input record will be evaluated. If an input record is longer than 80 bytes, or if it is required to spread the record over many lines to help readability, a continuation character, "-", must appear in the last position. There is no limit on the number of continuation characters that may be used.
The following rules are valid for keywords:
Generally, the field descriptions of the CFS Selection mask items are to be used as keywords. Right-most portions of the keywords can be omitted, so long as the portion used is unique.
For example, FI= can be used instead of FILENAME-SELECT=. However, F= cannot be used since it is not unique; two fields in the Selection mask begin with F; FILENAME-SELECT and FCBTYPE.
The shortest abbreviations of the respective keywords are listed below:
FI --> FILENAME-SELECT
USER-I --> USER-ID
LA --> LAST PAGE
AG --> AGE
FCB --> FCBTYPE
VOL --> VOLUME
SH --> SHARE / NONSHARE
ACC --> ACCESS
PAS --> PASS
SO --> SORT OPTION
U --> USER OPTION
DOC --> DOCUMENTATION
VAR --> VARIABLE ACTION