Show job switches set to ON
| Component: | BS2000 | 
| Functional area: | Job processing | 
| Domain: | JOB | 
| Privileges: | STD-PROCESSING | 
Function
The SHOW-JOB-SWITCHES command displays the numbers of the job switches that are set to ON. 32 job switches (numbered 0 to 31) are available for each job. They are cleared (set to OFF) at the beginning of the job and can be modified during the job as follows:
- explicitly, by means of the MODIFY-JOB-SWITCHES command 
- implicitly, by means of the SET-JOB-STEP command (resets switches 16 to 31) or with utility routines (see section "Job switches"). 
At the end of the job, all job switches are reset.
Format
| SHOW-JOB-SWITCHES  | Alias: SHJSW | 
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | Command executed | |
| 32 | EXC0041 | System error | 
Example
/show-job-sw
ALL TASK SWITCHES SET OFF
/mod-job-sw on=(4,5)
/show-job-sw
   TASK SWITCHES ON EQUAL-
    4, 5