z/OS BDT Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


I,J — Display the Status of a Job on the BDT Work Queue

z/OS BDT Commands
SC14-7584-00

Purpose

Use this command to display the status of a job on the BDT work queue at your BDT subsystem.

The information displayed includes the job name, number, priority, node of origin, sending and receiving node and DAP, status at both the from and to nodes (queued, active, canceled, scheduled), hold status, DTC network ID and hold count, and whether the job has been rescheduled or canceled.

Format

Read syntax diagramSkip visual syntax diagram
                                 .-,------.          
                                 V        |          
>>-prefix--+-INQUIRY-+--,J=--+-(---job-no-+-)----+-------------->
           '-I-------'       |   .-,--------.    |   
                             |   V          |    |   
                             +-(---job-name-+-)--+   
                             |   .-,---------.   |   
                             |   V           |   |   
                             '-(---job-name*-+-)-'   

   .-,----------------.   
   V                  |   
>----+--------------+-+----------------------------------------><
     +-,REQ=ALL-----+     
     |      .-10--. |     
     '-,N=--+-nn--+-'     
            '-ALL-'       

prefix
is the prefix that is appropriate for your console or terminal. Do not use a prefix when submitting commands in a batch job.
job-no
is the number of the job for which status is to be displayed. Each job has a unique job number.
job-name
is the name of the job for which status is to be displayed. If more than one job has the same name, status will be displayed for all jobs found with that name.
job-name*
specifies that all jobs whose names begin with the characters up to the asterisk (*) should be displayed.
REQ=ALL
displays the job’s characteristics, such as DCB information. This information is the text units from the master job definition (MJD).
N=nn or ALL
specifies the number of jobs requested with J=job-name for which you want status displayed: nn jobs or ALL jobs. If you omit this parameter, 10 is assumed.

Usage Note

To display all the jobs on the work queue, use the I,Q command.

Results

BDT issues this message:
BDT8612 JOB job-no job-name, P=prty O=origin-node,
  [from-node/dap] {(Q|A|C|S)} TO [to-node/dap] 
{(Q|A|C|S)}
        [H=(OPR|,URS|,NET|TQI)][,NET=(net-id,hold-ct)]
        [,{RESCH|CAN}]
For REQ=ALL, BDT also issues this message:
BDT8620  JOB job-no job-name {TO|FROM|GENERIC} KEY(text unit)

Examples of displaying BDT work queue job status

  1. Using a prefix of BDT, display the status of job number 0056.
    BDT,I,J=0056
    Result:
    BDT8612 JOB 0056 MYJOB, P=10 O=MYNOD, MYNOD/SEQ(A) TO
            XNODE/SEQ(A)
  2. Using a prefix of BDT, display the status of the job or jobs named WHSE3.
    BDT,INQUIRY,J=WHSE3
    Result:
    BDT8612 JOB 3456 WHSE3, P=10 O=ZNODE, ZNODE/PDS(Q) TO
            MYNOD/PDS(Q)
  3. From a TSO terminal display the status of the first three jobs whose names begin with WHSE.
    BDT,I,J=WHSE*,N=3
    Result:
    BDT8612 JOB 3456 WHSE1, P=10 O=ZNODE,
            ZNODE/SEQ(Q) TO MYNOD/SEQ(Q) H=(OPR)
    BDT8612 JOB 3460 WHSE2, P=10 O=ZNODE, ZNODE/SEQ(Q)
            TO MYNOD/SEQ(Q) H=(,NET), NET=(WAREHSE,1)
    BDT8612 JOB 3462 WHSE3, P=10 O=ZNODE, ZNODE/SEQ(Q)
            TO MYNOD/SEQ(Q) H=(,NET), NET=(WAREHSE,1)
  4. Using a prefix of *S,BDT, display the status of all jobs whose names begin with WHSE.
    *S,BDT,I,J=WHSE*,N=ALL
    Result:
    BDT8612 JOB 3456 WHSE01, P=10 O=ZNODE,
            ZNODE/SEQ(Q) TO MYNOD/SEQ(Q) H=(TQI)
    BDT8612 JOB 3460 WHSE02, P=10 O=ZNODE, ZNODE/SEQ(Q)
            TO MYNOD/SEQ(Q) H=(,NET), NET=(WAREHSE,1)
    BDT8612 JOB 3462 WHSE03, P=10 O=ZNODE, ZNODE/SEQ(Q)
            TO MYNOD/SEQ(Q) H=(,NET), NET=(WAREHSE,1)
    BDT8612 JOB 4078 WHSERT, P=08 O=MYNOD, MYNOD/PDS(A)
            TO KNODE/PDS(A)
    BDT8612 JOB 5119 WHSE40, P=07 O=MYNOD, MYNOD/SEQ(Q)
            TO BNODE/SEQ(Q)
  5. Using a prefix of *S,BDT, display the text units information for job PDSA1.
    *S,BDT,I,J=PDSA1,REQ=ALL
    Result:
    BDT8612 JOB 0044 PDSA1, P=04 O=SYSA1, SYSA1/PDS(Q)
            TO KNODE/PDS(Q) H=(,URS)
    BDT8620 BDTJOB 0044 PDSA1 FROM KEY(0002 SYS1.BDT51.INIT)
    BDT8620 BDTJOB 0044 PDSA1 FROM KEY(0004 08)
    BDT8620 BDTJOB 0044 PDSA1 GENERIC KEY(0102 BDTTEST,6,909)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0004 04)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0005 04)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0006 04)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(000A 000002)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0008)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(000C 00001B)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0049 90)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0030 0C30)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0042 0050)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0010 111111)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0015 3350)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0002 BDT5.TEST.SYSA2PDS)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(003C 0200)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0003 MSG=A)
    BDT8620 BDTJOB 0044 PDSA1 FROM KEY(0004 08)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0004 08)
    BDT8620 BDTJOB 0044 PDSA1 TO KEY(0004 01)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014