Displaying job backlog *INQUIRY,B

Function

Use the *INQUIRY,B command to display:
  • The number of jobs backlogged for each JES3 function (DSP).
  • The number of jobs backlogged for a job class.
  • The number of jobs backlogged for a job class group.
  • The number of jobs backlogged for a service class.
  • The number of jobs backlogged for a terminal group.
  • The number of jobs backlogged for a main or all mains.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-*INQUIRY-+--,--B--+------------------------------+--------><
   '-*I-------'        +-+-,SRVCLASS=-+--+-ALL------+-+   
                       | '-,SRVCL=----'  +-srvclass-+ |   
                       |                 '-pattern--' |   
                       +-,--C--=--+-ALL-----+---------+   
                       |          +-class---+         |   
                       |          '-pattern-'         |   
                       +-,--G--=--+-ALL-----+---------+   
                       |          +-group---+         |   
                       |          '-pattern-'         |   
                       +-,--M-------------------------+   
                       +-,--main----------------------+   
                       '-,--T--=--termgrp-------------'   

Parameters

SRVCLASS= or SRVCL=
Displays the number of backlogged jobs, by service class. Only jobs that have been scheduled for main service or are waiting to be scheduled for main service are included. The following information is displayed for each service class that is requested:
  • Whether the jobs in the service class belong to JES-managed groups or WLM-managed groups. Separate lines are displayed for groups that are JES managed and for groups that are WLM managed.
  • The number of jobs in execution.
  • The number of jobs scheduled for main service, but not executing.
  • The number of jobs that are waiting to be scheduled for main service.
ALL
Displays the number of backlogged jobs for all service classes.
srvclass
Displays the number of backlogged jobs in the specified service class.
pattern
Displays the number of backlogged jobs in each service class that matches the specified pattern (not to exceed eight characters). You can specify an asterisk (*) in the pattern to represent zero or more characters, or you can specify a question mark (?) to represent a single character. See "Examples" section below for use of these characters.
C=
Displays the number of jobs backlogged, by job class. Only jobs that have been scheduled for main service or are waiting to be scheduled for main service are included. The following information is displayed for each job class that is requested:
  • Whether the jobs in the job class belong to JES-managed groups or WLM-managed groups. Separate lines are displayed for groups that are JES managed and for groups that are WLM managed.
  • The number of jobs in execution.
  • The number of jobs scheduled for main service, but not executing.
  • The number of jobs that are waiting to be scheduled for main service.
ALL
Displays the number of backlogged jobs in all job classes.
class
Displays the number of backlogged jobs in a specific job class.
pattern
Displays the number of jobs in each job class that matches the specified pattern (not to exceed eight characters). You can specify an asterisk (*) in the pattern to represent zero or more characters, or you can specify a question mark (?) to represent a single character. See "Examples" section below for use of these characters.
G=
Displays the number of jobs backlogged, by job class group. Only jobs that have been scheduled for main service or are waiting to be scheduled for main service are included. The following information is displayed for each job class group that is requested:
  • Whether the jobs in the job class group belong to JES-managed groups or WLM-managed groups. Separate lines are displayed for groups that are JES managed and for groups that are WLM managed.
  • The number of jobs in execution.
  • The number of jobs scheduled for main service, but not executing.
  • The number of jobs that are waiting to be scheduled for main service.
ALL
Displays the number of backlogged jobs in all job class groups.
class
Displays the number of backlogged jobs in a specific job class group.
pattern
Displays the number of jobs in each job class group that matches the specified pattern (not to exceed eight characters). You can specify an asterisk (*) in the pattern to represent zero or more characters, or you can specify a question mark (?) to represent a single character. See "Examples" section below for use of these characters.
M
Displays the number of jobs on the JES3 job queue that have not yet been processed.
main
Displays the number of jobs scheduled for the designated main.
T=termgrp
Displays the number of jobs for the designated terminal group.

Examples

Display the backlog of jobs by JES3 function (DSP).
*I,B
IAT8688 FUNCTION   ACTIVE    WAITING
IAT8688 MAIN       00000007  00000007
IAT8688 CI         00000001  00000010
IAT8688 INTRDR     00000002  00000002
IAT8619 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for all service classes.
*I,B,SRVCLASS=ALL
IAT8621 SRVCLASS   MODE   EXECUTING   SCHEDULED   NOT SCHED
IAT8621 DISCRETN   WLM    00000001    00000002    00000000
IAT8621 LONG       JES    00000000    00000008    00000000
IAT8621 LONG       WLM    00000001    00000006    00000010
IAT8621 MEDIUM     WLM    00000000    00000000    00000001
IAT8621 PROD       WLM    00000000    00000000    00000001
IAT8621 SHORT      WLM    00000001    00000001    00000000
IAT8621 TESTA      JES    00000010    00000002    00000000
IAT8621 TESTA      WLM    00000002    00000002    00000000
IAT8621 TESTB      WLM    00000052    00000050    00000000
IAT8621 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for service class TESTA.
*I,B,SRVCLASS=TESTA
IAT8621 SRVCLASS   MODE   EXECUTING   SCHEDULED   NOT SCHED
IAT8621 TESTA      JES    00000010    00000002    00000000
IAT8621 TESTA      WLM    00000002    00000002    00000000
IAT8621 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for all service classes that start with TESTA.
*I,B,SRVCLASS=TESTA*
IAT8621 SRVCLASS   MODE   EXECUTING   SCHEDULED   NOT SCHED
IAT8621 TESTA      JES    00000010    00000002    00000000
IAT8621 TESTA      WLM    00000002    00000002    00000000
IAT8621 TESTAB     WLM    00000052    00000050    00000000
IAT8621 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for all service classes that start with the letter T, followed by any two characters, followed by the letters T and A, followed by zero or more characters.
*I,B,SRVCLASS=T??TA*
IAT8621 SRVCLASS   MODE   EXECUTING   SCHEDULED   NOT SCHED
IAT8621 TESTA      JES    00000010    00000002    00000000
IAT8621 TESTA      WLM    00000002    00000002    00000000
IAT8621 TESTAB     WLM    00000052    00000050    00000000
IAT8621 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for all job classes.
*I,B,C=ALL
IAT8623 CLASS    MODE      FUNCTION   EXECUTING  SCHEDULED  NOT SCHED
IAT8623 A        JES       MAIN       00000002   00000005   00000000
IAT8623 A        JES       CI         N/A        00000002   00000020
IAT8623 B        WLM       MAIN       00000012   00000005   00000000
IAT8623 C        JES       MAIN       00000020   00000033   00000000
IAT8619 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for job class A.
*I,B,C=A
IAT8623 CLASS    MODE      FUNCTION   EXECUTING  SCHEDULED  NOT SCHED
IAT8623 A        JES       MAIN       00000002   00000005   00000000
IAT8623 A        JES       CI         N/A        00000002   00000020
IAT8619 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for all job class groups.
*I,B,G=ALL
IAT8627 GROUP    MODE      FUNCTION   EXECUTING  SCHEDULED  NOT SCHED
IAT8627 APPLBAT  JES       MAIN       00000020   00000033   00000000
IAT8627 PRODBAT  WLM       MAIN       00000010   00000005   00000000
IAT8627 PRODBAT  WLM       CI         N/A        00000002   00000020
IAT8627 TESTBAT  JES       MAIN       00000012   00000005   00000000
IAT8619 INQUIRY ON BACKLOG COMPLETE
Display the backlog of jobs for job class group PRODBAT.
*I,B,G=PRODBAT
IAT8627 GROUP    MODE      FUNCTION   EXECUTING  SCHEDULED  NOT SCHED
IAT8627 PRODBAT  JES       MAIN       00000002   00000005   00000000
IAT8627 PRODBAT  JES       CI         N/A        00000002   00000020
IAT8619 INQUIRY ON BACKLOG COMPLETE