26.  Task Switches for Specific Operating Modes

SETSW ON=1 CFS expects input from SYSDTA. A protected field asterisk (*) appears as the input request.

SETSW ON=2 Alternative CFS mask mode. This mode is necessary, for example, with some PC emulation packages.

CFS clears the screen before each mask output. The logical line length is set to 80 columns (necessary when using CFS in terminal emulation mode on some graphic systems).

SETSW ON=4 The scope of messages produced by CFS is reduced to a minimum:

- When CFS is running in DO or Enter procedures (*002 mode), the WROUT portion of the mask is not displayed on screen and will not appear in the SYSOUT listing.

- In procedure-controlled CFS mode, the *001 or *002 records will not be displayed, nor will they appear in the SYSOUT listing.

- When replaying a captured dialog session (RES command), the automatic entries will not be displayed on the screen.

SETSW ON=10 Sets NAC mode (No Add Compress) for ADD operations to LMS-ISAM libraries. For further information, see the NAC command on page 18-.

SETSW ON=11 This task switch must be set if CFS is to be run in a DO or Enter procedure, and -*001 records are to be used (Basic mode).

SETSW ON=12 Sets AI mode (Add with Increment of version) for LMS ADD operations. For further information, see the AI command on page 18-.

SETSW ON=14 Suppress the display of file names during Variable Actions. After returning to the file list by answering U to the termination query, only those files for which the Variable Action was not successfull will be displayed. Files which were successfully processed in conjunction with the Variable Action will be removed from the file list by CFS with an implicit "-" Action Code.

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&COPY/ ON&ADD/ ON&SEL, or if no events matching the specific conditions are found for a SI, SIL or SIS command.

Note:

When CFS terminates in procedure mode, Task Switches 1, 4 and 11 are reset automatically. If CFS is called again from within the same procedure, the switches need to be set again.