Request job stream information
Component: | BS2000 |
Functional area: | Job processing |
Domain: | JOB |
Privileges: | TSOS SW-MONITOR-ADMINISTRATION |
Function
Systems support can use the SHOW-JOB-STREAM command to request either a description of all job streams in the system or a detailed overview of declarations made with the JMU statement DEFINE-JOB-STREAM for a job stream.
Output is alternatively to SYSOUT or SYSLST.
The command supports structured output in S variables (see "Output in S variables").
Format
SHOW-JOB-STREAM |
STREAM-NAME = *ALL / *ALL-NAMES / list-poss(2000): <name 1..8> ,OUTPUT = *SYSOUT / *SYSLST |
Operands
STREAM-NAME = *ALL / *ALL-NAMES / list-poss(2000): <name 1..8>
Defines the scope of information to be displayed.
STREAM-NAME = *ALL
Displays the descriptions of all job streams.
STREAM-NAME = *ALL-NAMES
Displays the names of all job streams.
STREAM-NAME = list-poss: <name 1..8>
Defines the names of the job streams on which information is desired.
OUTPUT = *SYSOUT / *SYSLST
Specifies whether the information is to be output to SYSOUT or SYSLST.
OUTPUT = *SYSOUT
The information is output to SYSOUT.
OUTPUT = *SYSLST
The information is output to SYSLST. This operand should be specified if the amount of information to be output is extensive.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
2 | 0 | CMD0002 | Command executed with a warning |
1 | CMD0202 | Syntax error | |
32 | CMD2009 | Error during generation of presentation variables | |
64 | JMS0640 | Command not executed: |
Output in S variables
The STREAM-NAME operand identifies the S variables which are to be created. The values *ALL-NAMES and <name 1..8> can be specified for STREAM-NAME.
Output information | Name of the S variable | T | Contents | Condition |
---|---|---|---|---|
Default stream | var(*LIST).DEF | S | *NO | STREAM = |
Name of the ENTER file | var(*LIST).F-NAME | S | <filename 1..54> | STREAM = |
Initial priority of the stream task | var(*LIST).RUN-PRIO | S | 30..255 | STREAM = |
Stream starting point (default) | var(*LIST).START-DEF | S | *AT | STREAM = |
Stream starting time (hour) | var(*LIST).START.HOURS | S | '' | STREAM = |
Stream starting time (minute) | var(*LIST).START.MINUTES | S | '' | STREAM = |
Stream stopping point (default) | var(*LIST).STOP-DEF | S | *AFTER | STREAM = |
Stream stopping time (hour) | var(*LIST).STOP.HOURS | S | '' | STREAM = |
Stream stopping time (minute) | var(*LIST).STOP.MINUTES | S | '' | STREAM = |
Name of the stream definition | var(*LIST).STREAM-NAME | S | <name 1..8> | |
Special parameters for the job scheduler | var(*LIST).STREAM-PAR | S | *NO | STREAM = |