Start job stream and associated job scheduler
| Component: | BS2000 | 
| Functional area: | Job processing | 
| Domain: | JOB | 
| Privileges: | TSOS | 
| Routing code: | J | 
Function
The START-JOB-STREAM command starts a job stream and thus, implicitly, the associated job scheduler. Any start time stored in the job stream definition is ignored.
The command allows a privileged ENTER to be used in starting the batch holder job of the job scheduler. The name of the job scheduler is specified in the associated ENTER file; the name of this ENTER file is a component part of the stream specification in the SJMSFILE. In principle, any preferred names can be used for the files; the systems support staff are responsible for the use of consistent names (see the “Introduction to System Administration” [14]).
The command is used when
- the job stream was terminated with the STOP-JOB-STREAM command at an earlier stage 
- the job stream received the start attribute “*BY-OPERATOR” when it was defined with the JMU utility 
- the job stream is to be started at an earlier time than specified in the definition. 
Successful execution of the command is acknowledged by a message output on the console.
Format
| START-JOB-STREAM | 
| STREAM-NAME = <name 1..8> | 
Operands
STREAM-NAME = <name 1..8>
Name of the job stream to be started. 
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 |