Modify execution priority of stream task
Component: | BS2000 |
Functional area: | Job processing |
Domain: | JOB |
Privileges: | TSOS |
Routing code: | J |
Function
The MODIFY-JOB-STREAM command allows system administrators to change the task scheduling priority defined with the JMU DEFINE-JOB-STREAM statement and to modify stream-specific parameters.
The modifications are valid until the next MODIFY-JOB-STREAM command or until the end of the session.
The default value *UNCHANGED in the corresponding operands means that the previously valid definition still applies.
Format
MODIFY-JOB-STREAM | Alias: MDJSR |
STREAM-NAME = <name 1..8> ,RUN-PRIORITY = *UNCHANGED / <integer 30..255> ,STREAM-PARAMETER = *UNCHANGED / *NO / <c-string 1..127> |
Operands
STREAM-NAME = <name 1..8>
Name of the job stream whose attributes are to be modified.
RUN-PRIORITY = *UNCHANGED / <integer 30..255>
Increases or decreases the program priority of the stream task.
STREAM-PARAMETER = *UNCHANGED / NO / <c-string 1..127>
Defines whether stream-specific parameters are to be interpreted.
In addition to the standard scheduler and individual job scheduler can also interpret this operand.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
32 | CMD0221 | System error | |
64 | JMS0630 | Semantic error | |
64 | JMS0640 | Command cannot be executed | |
132 | JMS0620 | Saturation reached |
Example
/show-job-stream jsstd1
REQUESTED DETAILS OF JOB STREAM: JSSTD1 NAME..........:JSSTD1 FILE..........:SYSENT.JOBSCHED.170 RUN PRIORITY..:130 DEFAULT.......:YES START.........:AT-LOAD STOP..........:AT-SHUTDOWN STREAMPARAM :JOB-PRIORITY=Y,CPU-TIME=Y,WAIT-TIME=Y,JOB-QUOTA=30, LOGG ING=NO
/mod-job-stream jsstd1,run-prio=100
% JMS0022 '/MODIFY-JOB-STREAM' COMMAND PROCESSED
/show-job-stream jsstd1
REQUESTED DETAILS OF JOB STREAM: JSSTD1 NAME..........:JSSTD1 FILE..........:SYSENT.JOBSCHED.170 RUN PRIORITY..:100 DEFAULT.......:YES START.........:AT-LOAD STOP..........:AT-SHUTDOWN STREAMPARAM :JOB-PRIORITY=Y,CPU-TIME=Y,WAIT-TIME=Y,JOB-QUOTA=30, LOGG ING=NO