Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Job switches

&pagelevel(4)&pagelevel

Every job in BS2000 has available to it job-specific switches, which can only be changed or queried when that job is executing (note in this regard: user switches are user-ID-specific, see the MODIFY-USER-SWITCHES command). There are 32 job switches (numbered 0 to 31) available per job. Each of these switches may be given a value of 0 or 1. At the beginning of the job, all job switches are cleared (setting: 0). While the job is executing, these switches can be changed:

  • explicitly, using the MODIFY-JOB-SWITCHES command

  • implicitly, using the SET-JOB-STEP command (resets switches 16 to 31) or using utility routines (software products)

At the end of the job, all job switches are cleared again.

The following table shows which software products normally use job switches:

Software product

Job switches

ARCHIVE

30, 31

BCAMDEF

1, 4, 5, 20, 31

DAMP

5, 30

EDT

4 to 7

EDTU

4 to 8

FMS

5

LMS (ISP)

1, 4, 9

LMS (SDF)

4, 31

PRSERVE

0, 2, 3

SDF-A

15

SHOW-FILE

5

TSOSLNK

4

Table 7: Job switches used by software products

The following applies here:

Setting switch 4 causes the BLS0500 message from the binder loader to be suppressed. 

ARCHIVE

Information regarding the course of the process may be obtained from the setting of the switches that ARCHIVE sets during/after the run.


Switch 30 set by ARCHIVE: Warning message in procedures

Switch 30 is set by ARCHIVE when the ARCHIVE statement was executed but a warning message was issued.


Switch 31 set by ARCHIVE: Errors in procedures

Switch 31 is set by ARCHIVE when an error was detected but the ARCHIVE statement was nevertheless executed.

BCAMDEF

Switches 0, 4, 5, 31 are used:

Within the BCAMDEF procedure, switches 0, 4, 5, 31 are set and then cleared again.

DAMP

Switch 5 set for DAMP

Before the DAMP program is called, task switch 5 must be set in the procedure.

If, in procedure mode, a DAMP statement is followed by a system command that is not permitted at the DAMP program level, DAMP switches from procedure mode to interactive mode and resets task switch 5. The last DAMP output screen is then displayed on the screen. In batch mode, a system command which is not permitted causes the job to be aborted.


Switch 30 set for DAMP

Suppresses a dump (user dump) if DAMP terminates in case of a program or system error:

  • In interactive mode, a message is issued asking whether a dump should be generated.

  • In batch mode, no dump is generated.

EDT

Switch 4 set for EDT: Suppress start and end messages

Setting this switch causes the message BLS0500 following the loading of EDT to be suppressed. When EDT is terminated, message EDT8000 and, where applicable, messages EDT0900 and EDT0904 are also suppressed. In batch mode, the message @LOG NONE is suppressed.


Switch 5 set for EDT: Activate edit-only mode

When this switch is set, EDT reads via RDATA and not via WRTRD, i.e. EDT operates in edit-only mode. 


Switch 6 set for EDT: 160 print positions per line

If this switch is set, EDT writes, to SYSLST, 160 print positions in one line, and writes any remainder in the following record. Normally, EDT uses 132 print positions and writes any remainder in the following record.


Switch 7 set for EDT: Excess memory space is not released

Setting switch 7 prevents the automatic release by EDT of excess initially allocated memory space that was defined as free and therefore redundant during its processing.
Normally, EDT releases unoccupied memory space. Since this switch is checked during the EDT run, the switch change becomes effective immediately

EDTU

The switches 4 to 7 are evaluated as in EDT.

Switch 8 set  for EDTU set: Redirect outputs to SYSOUT

Setting switch 8 redirects the messages and outputs of a series of statements (e.g. @STATUS) going to SYSLST in batch mode to SYSOUT.

FMS

Switch 5 set for FMS: FMS suppresses interactive queries

LMS

Switch 1 set for LMS (ISP only): Alternative input of statements

In interactive mode, unless otherwise specified, statements to LMS are read from the interactive terminal by means of the WRTRD macro. When switch 1 is set, statements are read with the RDATA macro, from the file assigned to the SYSDTA system file.


Switch 4 set for LMS: Suppress start and end messages

Setting switch 4 causes the LMS start and end messages to be suppressed. At the same time, the runtime log of LMS is reduced to the minimum.


Switch 9 set for LMS (ISP only): Request additional memory space

Setting switch 9 makes it possible to process up to 1200 records of different length in one comparison, and to continuously sort larger directories with the TOC function.


Switch 31 set for LMS: Set test condition for diagnostic purposes (see the “LMS” manual [
21]).

PRSERVE

Switch 0 set for PRSERVE: Suppress output of the character frame

Setting switch 0 causes output of the secondary statement indicator (character frame) to SYSOUT to be suppressed. However, this is unrelated to the screen display, produced by means of the DISPLAY statement.


Switch 2 set for PRSERVE: Suppress output of the LOOP record

Setting switch 2 causes the output of the LOOP record (following a CHECK statement) in interactive mode to be suppressed. 


Switch 3 set for PRSERVE: Suppress information regarding the current mode of operation

Unless otherwise specified, the user receives from PRSERVE an error message and information regarding the currently active operational status after an incorrect PRSERVE statement has been entered. By setting switch 3, output of the information is suppressed.

SDF-A

Switch 15 set for SDF-A: Process syntax files in the old format

Syntax files in the old format (supported by SDF V1.4) are processed without being automatically converted into the new format. However, this means that only the syntax and functionality of SDF-A V1.0D are available.

By default, reference syntax files are not assigned, i.e. *NO applies rather than *CURRENT. Only reference syntax files in the old format can be explicitly assigned. It is not possible to generate new system syntax files or output syntax file objects.

TSOSLNK

Switch 4 set for TSOSLNK: Suppress page feed

Setting switch 4 causes all page feeds to be omitted when the linkage editor listing is output on SYSLST.