Terminate job stream and associated job scheduler
| Component: | BS2000 | 
| Functional area: | Job processing | 
| Domain: | JOB | 
| Privileges: | TSOS | 
| Routing code: | J | 
Function
Using this command, the system administration can terminate a job stream, and hence implicitly also the job scheduler. The command is normally issued only if, in the JMU statement DEFINE-JOB-STREAM for this job stream,
- the STOP operand contains the value *BY-OPERATOR 
- a stream termination time was specified which is now to be changed. 
When a job stream is terminated the job scheduler is also terminated. Jobs are still accepted but are no longer started. They are placed in the ‘dormant queue’ of the stream.
Format
| STOP-JOB-STREAM | 
| STREAM-NAME = <name 1..8> | 
Operands
STREAM-NAME = <name 1..8>
Name of the job stream to be terminated.
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | No error | |
| 1 | CMD0202 | Syntax error | |
| 32 | CMD0221 | System error | |
| 64 | JMS0630 | Semantic error | |
| 64 | JMS0640 | Command cannot be executed |