Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

RESUME-JOB-STREAM

&pagelevel(3)&pagelevel

Take job stream off hold

Component:

BS2000

Functional area:

Job processing

Domain:

JOB

Privileges:

TSOS
OPERATING

Routing code:

J

Function

The RESUME-JOB-STREAM command enables systems support staff to take a job stream suspended with the HOLD-JOB-STREAM command off hold. The job scheduler is reactivated and begins selecting the jobs to be started from its assigned number of job classes and passing them to the class scheduler.
The RESUME-JOB-STREAM command is also permitted for the system job stream $SYSJS.

A message is displayed on the console to indicate that scheduling has been resumed.

Format

RESUME-JOB-STREAM                                                                                                                              

STREAM-NAME = <name 1..8>

Operands

STREAM-NAME = <name 1..8>
Name of the job stream to be released.

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

Example

/show-system-status inf=*job-stream

%JSTREAM  STATE DORM ANCD WAIT STRT HOLD START  STOP    LIFETIME 
%$SYSJS   ACT      0    0    0    4    0 ATLOAD ATSHUTD 
%JSSTD    ACT      0    0    0    0    0 ATLOAD ATSHUTD 
%JSSTD1   ACT      0    0    0    6    0 ATLOAD ATSHUTD 
%JSSTD2   HOLD     0    0    0    0    0 ATLOAD ATSHUTD 
%JSTSOS   ACT      0    0    0   10    0 ATLOAD ATSHUTD 

/resume-job-stream jsstd2

%  JMS0022 '/RESUME-JOB-STREAM' COMMAND PROCESSED

/show-system-status inf=*job-stream

%JSTREAM  STATE DORM ANCD WAIT STRT HOLD START  STOP    LIFETIME
%$SYSJS   ACT      0    0    0    4    0 ATLOAD ATSHUTD
%JSSTD    ACT      0    0    0    0    0 ATLOAD ATSHUTD
%JSSTD1   ACT      0    0    0    6    0 ATLOAD ATSHUTD
%JSSTD2   ACT      0    0    0    0    0 ATLOAD ATSHUTD
%JSTSOS   ACT      0    0    0   10    0 ATLOAD ATSHUTD

Job stream JSTD2, which is currently on hold (as indicated by the STATE output field of the first SHOW-SYSTEM-STATUS command), is reactivated by the RESUME-JOB-STREAM command.