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

&pagelevel(3)&pagelevel

Take user job off hold

Component:

BS2000

Functional area:

Job processing

Domain:

JOB

Privileges:

TSOS
OPERATING

Routing code:

J

Function

The RESUME-JOB command enables systems support staff to take a user job suspended with the HOLD-JOB command off hold (wait state HELD-BY-COMMAND). The job can then be considered once again by job management and can be processed in accordance with its attributes.

If the user job is in the wait state due to a lack of system resources then the availability of the resources is checked and, if they are unavailable, a warning is issued. This wait state can only be cleared by providing the missing resources (by importing the corresponding pubset or releasing the TSN).

The RESUME-TASK command is used to resume tasks that have already been started.

As soon as the user job has been released, a message is displayed on the operator terminal (console).

Format

RESUME-JOB                                                                                                                                             

JOB-IDENTIFICATION = *TSN(...) / *MONJV(...) / <alphanum-name 1..4>


*TSN(...)



|

TSN = <alphanum-name 1..4>


*MONJV(...)



|

MONJV = <filename 1..54 without-gen-vers>

Operands

JOB-IDENTIFICATION =
Type of job identification.
The command may refer to the TSN or to a monitoring job variable.

JOB-IDENTIFICATION = *TSN(...)
The job to be taken off hold is identified by its TSN.

TSN = <alphanum-name 1..4)
TSN of the job in the wait state.

JOB-IDENTIFICATION = *MONJV(...)
The job to be released is identified via a monitoring job variable.

MONJV = <filename 1..54 without gen>
Job variable specified for the job that was suspended.

JOB-IDENTIFICATION = <alphanum-name 1..4>
Job number of the suspended job.

Return codes

(SC2)

SC1

Maincode

Meaning


0

CMD0001

No error

2

0

CMD0002

Warning: wait state due to lack of resources


1

CMD0202

Syntax error


32

CMD0221

System error


64

JMS0630

Semantic error


64

JMS0640

Command cannot be executed