26 Task Switches for Specific Operating Modes
SETSW ON|OFF=31 This switch should be set to OFF every time CFS is called from a procedure. If no data objects matching the selection criteria are found by CFS, Switch 31 will be set ON. This provides a simple method from within a DO or Enter procedure of checking whether or not CFS found any files matching the selection criteria. Task Switch 31 will also be set by CFS if an error occurs during the Actions ON©/ ON&ADD/ ON&SEL, or if no events matching the specific conditions are found for a SI, SIL or SIS command.