Relevant Task Switches for the Procedure Mode

/SETSW ON=1 CFS requests all input with RDATA from SYSDTA. The /SYSFILE SYSDTA=(SYSCMD) command must therefore be entered in a BS2000 procedure. /SETSW ON=1 is necessary for both procedures with *001 records (basic mode), as well as procedures with *002 records (enhanced mode).

/SETSW ON=4 The scope of the output protocol from CFS is reduced to a minimum. In enhanced procedure mode in particular, the masks produced by records read from SYSDTA will not be output (WROUT).

/SETSW ON=11 Prerequisite for basic mode procedures (*001).

Task switch 1 must always be set in conjunction with switch 11.

This switch may not be set for enhanced mode procedures.

/SETSW ON|OFF=31 If an error occurs during the processing of the ON&COPY... / ON&ADD... / ON&SEL... Variable Actions, task switch 31 will be set (SETSW ON=31). It is thus possible to test for a successful conclusion to the Variable Action from within a following section of the procedure. For example, an automatic ERASE operation may only be carried out on files added to a library if the ADD operation was itself successful (task switch 31 must not be set).

Task switch 31 will also be set by CFS if no data objects meeting the specified selection criteria are found, or when no dates are found using the SI/SIL/SIS commands.