Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.

TSBBK

Prolog  

Control Block Contents  
   TSBBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


TSBBK Prolog

              Description: FCX Transport Status Block
              DSECT      : TSBBK
              Function   : Provide symbolic reference to the fields of a
              Transport Status Block used by Fiber Channel
              Extensions (FCX)
              Located by : N/A
              Created by : N/A
              Delete By  - N/A

 

TSBBK Control Block Content


TSBBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      TSBBK          FCX Transport Status Block
0000    0 Bitstring   12 TSBHDR (0)     Transport Status Header
0000    0 Bitstring    1 TSBLEN         Byte length of status data
0001    1 Bitstring    1 TSBFLGS        TSB flags
          1... ....      TSBDCWOV       X'80' TSBDCWOV DCW-offset field
                                        valid
          .1.. ....      TSBCNTV        X'40' TSBCNTV Count field valid
          ..1. ....      TSBCACHM       X'20' TSBCACHM Cache miss
          ...1 ....      TSBTIMEV       X'10' TSBTIMEV Time fields valid
                                        Bits 5-7 = TSA Format field
          .... .111      TSBTSAFM       X'07' TSBTSAFM TSA Format Mask
          .... ...1      TSBIOSTS       X'01' TSBIOSTS I/O Status TSA
          .... ..1.      TSBPGMCK       X'02' TSBPGMCK Device-Detected
                                        Program Check TSA
          .... ..11      TSBINT         X'03' TSBINT Interrogate TSA
                                        Formats 4-7 are reserved for IBM
                                        use
0002    2 Bitstring    2 TSBDCWOF       DCW Offset
0004    4 Bitstring    4 TSBCOUNT       DCW Residual Count
0008    8 Bitstring    4 TSBHDRSV       Reserved for IBM use
000C   12 Bitstring   52 TSBTSA (0)     Transport Status Area
000C   12 Bitstring   20 TSBFDD         TSB Format-Dependent Data in TSA
0020   32 Bitstring   32 TSBSNS         Start of Sense Data (if present)
          00000040       TSBBKBSZ       (*-TSBBK) TSBBK byte size
          00000008       TSBBKDSZ       (*-TSBBK+7)/8 TSBBK dword size
          00000020       TSBSNSVL       32 Sense present if TSBLEN >
                                        TSBSNSVL
      I/O Status TSA (Format = TSBIOSTS)
000C   12 Bitstring    4 TSBDEVTM       Device Time
0010   16 Bitstring    4 TSBDFRTM       Defer Time
0014   20 Bitstring    4 TSBQTM         Queue Time
0018   24 Bitstring    4 TSBBSYTM       Device-Busy Time
001C   28 Bitstring    4 TSBDAOTM       Device-Active-Only Time
0020   32 Bitstring   32 TSBIOSNS       Sense Data (if present)
      Device-Detected Program Check TSA (Format = TSBPGMCK)
000C   12 Bitstring    3 TSBPRSV        Reserved for IBM use
000F   15 Bitstring    1 TSBPRC         Reason Code (RC)
0010   16 Bitstring   16 TSBPRCQ (0)    Reason Code Qualifier (RCQ)
0010   16 Signed       4 TSBPRCQ0 (0)   RCQ Word 0
0010   16 Bitstring    1 TSBPRCQV       RCQ Value (not used by all
                                        formats)
          00000000       TSBP1Q00       X'00' TSBP1Q00 RC=1: No
                                        additional information
          00000001       TSBP1Q01       X'01' TSBP1Q01 RC=1: TCCB
                                        transport size error
          00000002       TSBP1Q02       X'02' TSBP1Q02 RC=1: TCCB CBC
                                        error
          00000000       TSBP2Q00       X'00' TSBP2Q00 RC=2: RCQ word 0
                                        contains the 32b uint offset of
                                        first output-data byte for which
                                        invalid CBC was detected
          00000001       TSBP2Q01       X'01' TSBP2Q01 RC=2: RCQ word 0
                                        contains the 32b uint offset of
                                        last output-data byte for which
                                        invalid CBC was detected
          00000000       TSBP3Q00       X'00' TSBP3Q00 RC=3: No
                                        additional information
          00000001       TSBP3Q01       X'01' TSBP3Q01 RC=3: TCAL not 8
                                        greater than TCCBL
          00000002       TSBP3Q02       X'02' TSBP3Q02 RC=3: TCAL < 20
                                        or > 252
          00000000       TSBP4Q00       X'00' TSBP4Q00 RC=4: No
                                        additional information
          00000001       TSBP4Q01       X'01' TSBP4Q01 RC=4: TCAH
                                        Format-field spec error
          00000002       TSBP4Q02       X'02' TSBP4Q02 RC=4: TCAH
                                        reserved-field spec error
          00000003       TSBP4Q03       X'03' TSBP4Q03 RC=4: TCAH
                                        service-action-code spec error
          00000000       TSBP5Q00       X'00' TSBP5Q00 RC=5: No
                                        additional information
          00000001       TSBP5Q01       X'01' TSBP5Q01 RC=5: DCW
                                        reserved-field spec error
          00000002       TSBP5Q02       X'02' TSBP5Q02 RC=5: DCW
                                        flags-field spec error
          00000003       TSBP5Q03       X'03' TSBP5Q03 RC=5: DCW
                                        control-data-count spec error
          00000000       TSBP6Q00       X'00' TSBP6Q00 RC=6: No
                                        additional information
          00000001       TSBP6Q01       X'01' TSBP6Q01 RC=6:
                                        Read-direction spec error
          00000002       TSBP6Q02       X'02' TSBP6Q02 RC=6:
                                        Write-direction spec error
          00000000       TSBP7Q00       X'00' TSBP7Q00 RC=7: No
                                        additional information
          00000001       TSBP7Q01       X'01' TSBP7Q01 RC=7: Read-count
                                        spec error
          00000002       TSBP7Q02       X'02' TSBP7Q02 RC=7: Write-count
                                        spec error
          00000000       TSBP8Q00       X'00' TSBP8Q00 RC=8: Two I/O ops
                                        active (no add'l info)
0011   17 Bitstring    3 *              Bytes 1-3 of RCQ Word 0
0014   20 Signed       4 TSBPRCQ1       RCQ Word 1
0018   24 Signed       4 TSBPRCQ2       RCQ Word 2
001C   28 Signed       4 TSBPRCQ3       RCQ Word 3
0020   32 Bitstring   32 TSBPSNS        Sense Data (if present)
      Interrogate TSA (Format = TSBINT)
000C   12 Bitstring    1 TSBIFMT        Format
          00000001       TSBIFMT1       X'01' TSBIFMT1 Transport-count
                                        spec. error All other codes
                                        reserved for IBM use
000D   13 Bitstring    1 TSBIFLG        Flags
          00000000       TSBICSV        X'00' TSBICSV Control-unit-state
                                        valid
          00000001       TSBIDSV        X'01' TSBIDSV Device-state valid
          00000002       TSBIOSV        X'02' TSBIOSV Operation-state
                                        valid All other codes reserved
                                        for IBM use
000E   14 Bitstring    1 TSBICS         Control-unit State
          00000000       TSBICSBZ       X'00' TSBICSBZ Busy
          00000001       TSBICSR        X'01' TSBICSR Recovery in
                                        progress
          00000002       TSBICSMX       X'02' TSBICSMX Interrogate
                                        Maximum All other codes reserved
                                        for IBM use
000F   15 Bitstring    1 TSBIDS         Device State
          00000000       TSBIDSPG       X'00' TSBIDSPG Path-Group
                                        identification
          00000001       TSBIDSLB       X'01' TSBIDSLB Long Busy
          00000002       TSBIDSR        X'02' TSBIDSR Recovery in
                                        progress 3-127 reserved for IBM
                                        use 128-255 Device-Dependent
                                        Meanings
0010   16 Bitstring    1 TSBIOS         Operation State
          00000000       TSBIOSNO       X'00' TSBIOSNO Path-Group
                                        identification
          00000001       TSBIOSEX       X'01' TSBIOSEX Long Busy
          00000002       TSBIOSWC       X'02' TSBIOSWC Waiting for
                                        completion of I/O initiated by
                                        another configuration
          00000003       TSBIOSWX       X'03' TSBIOSWX Waiting for
                                        completion of I/O initiated for
                                        same device extent
          00000004       TSBIOSWD       X'04' TSBIOSWD Waiting to perform
                                        a device- dependent operation
                                        5-127 reserved for IBM use
                                        128-255 Device-Dependent Meanings
0011   17 Bitstring   12 TSBISDI        State-Dependent Information
001D   29 Bitstring    4 TSBIDLID       Device-Level Identifier
0021   33 Bitstring   28 TSBIDDD        Device-Dependent Data

 

TSBBK Storage Layout

          
*** TSBBK - FCX Transport Status Block
*
*     +------+------+-------------+---------------------------+
*   0 |TSBLEN|:FLGS |  TSBDCWOF   |         TSBCOUNT          |
*     +------+------+-------------+---------------------------+
*   8 |         TSBHDRSV          |                           |
*     +---------------------------+                           |
*     |                        TSBFDD                         |
*     |                                                       |
*     +-------------------------------------------------------+
*  20 |                                                       |
*     =                        TSBSNS                         =
*     |                                                       |
*     +-------------------------------------------------------+
*  40
*
*** TSBBK - FCX Transport Status Block
          
*** Overlay for TSBTSA in TSBBK
*
*                                 +---------------------------+
*   8 ...                       C |         TSBDEVTM          |
*     +---------------------------+---------------------------+
*  10 |         TSBDFRTM          |          TSBQTM           |
*     +---------------------------+---------------------------+
*  18 |         TSBBSYTM          |         TSBDAOTM          |
*     +---------------------------+---------------------------+
*  20 |                                                       |
*     =                       TSBIOSNS                        =
*     |                                                       |
*     +-------------------------------------------------------+
*  40
*
*** Overlay for TSBTSA in TSBBK
          
*** Overlay for TSBTSA in TSBBK
*
*                                 +--------------------+------+
*   8 ...                       C |      TSBPRSV       |TSBPRC|
*     +------+--------------------+--------------------+------+
*  10 |:PRCQV|////////////////////|         TSBPRCQ1          |
*     +------+--------------------+---------------------------+
*  18 |         TSBPRCQ2          |         TSBPRCQ3          |
*     +---------------------------+---------------------------+
*  20 |                                                       |
*     =                       TSBPSNS                         =
*     |                                                       |
*     +-------------------------------------------------------+
*  40
*
*** Overlay for TSBTSA in TSBBK
          
*** Overlay for TSBTSA in TSBBK
*
*                                 +------+------+------+------+
*   8 ...                       C |:IFMT |:IFLG |TSBICS|TSBIDS|
*     +------+--------------------+------+------+------+------+
*  10 |TSBIOS|                    TSBISDI                     |
*     +------+                           +--------------------+
*     |                                  |     TSBIDLID-      |
*     +------+---------------------------+--------------------+
*  20 |-(01D)|                                                |
*     +------+                                                |
*  28 |                                                       |
*     =                       TSBIDDD                         =
*     |                                  +--------------------+
*     |                                  | 3D
*     +----------------------------------+
*
*** Overlay for TSBTSA in TSBBK

 

TSBBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
TSBBKBSZ       0020 00000040
TSBBKDSZ       0020 00000008
TSBBSYTM       0018
TSBCACHM       0001 20
TSBCNTV        0001 40
TSBCOUNT       0004
TSBDAOTM       001C
TSBDCWOF       0002
TSBDCWOV       0001 80
TSBDEVTM       000C
TSBDFRTM       0010
TSBFDD         000C
TSBFLGS        0001
TSBHDR         0000
TSBHDRSV       0008
TSBICS         000E
TSBICSBZ       000E 00000000
TSBICSMX       000E 00000002
TSBICSR        000E 00000001
TSBICSV        000D 00000000
TSBIDDD        0021
TSBIDLID       001D
TSBIDS         000F
TSBIDSLB       000F 00000001
TSBIDSPG       000F 00000000
TSBIDSR        000F 00000002
TSBIDSV        000D 00000001
TSBIFLG        000D
TSBIFMT        000C
TSBIFMT1       000C 00000001
TSBINT         0001 03
TSBIOS         0010
TSBIOSEX       0010 00000001
TSBIOSNO       0010 00000000
TSBIOSNS       0020
TSBIOSTS       0001 01
TSBIOSV        000D 00000002
TSBIOSWC       0010 00000002
TSBIOSWD       0010 00000004
TSBIOSWX       0010 00000003
TSBISDI        0011
TSBLEN         0000
TSBPGMCK       0001 02
TSBPRC         000F
TSBPRCQ        0010
TSBPRCQV       0010
TSBPRCQ0       0010
TSBPRCQ1       0014
TSBPRCQ2       0018
TSBPRCQ3       001C
TSBPRSV        000C
TSBPSNS        0020
TSBP1Q00       0010 00000000
TSBP1Q01       0010 00000001
TSBP1Q02       0010 00000002
TSBP2Q00       0010 00000000
TSBP2Q01       0010 00000001
TSBP3Q00       0010 00000000
TSBP3Q01       0010 00000001
TSBP3Q02       0010 00000002
TSBP4Q00       0010 00000000
TSBP4Q01       0010 00000001
TSBP4Q02       0010 00000002
TSBP4Q03       0010 00000003
TSBP5Q00       0010 00000000
TSBP5Q01       0010 00000001
TSBP5Q02       0010 00000002
TSBP5Q03       0010 00000003
TSBP6Q00       0010 00000000
TSBP6Q01       0010 00000001
TSBP6Q02       0010 00000002
TSBP7Q00       0010 00000000
TSBP7Q01       0010 00000001
TSBP7Q02       0010 00000002
TSBP8Q00       0010 00000000
TSBQTM         0014
TSBSNS         0020
TSBSNSVL       0020 00000020
TSBTIMEV       0001 10
TSBTSA         000C
TSBTSAFM       0001 07

This information is based on z/VM V6R2.0. Last updated on 21 Nov 2011 at 11:28:18 EDT.
Copyright IBM Corporation, 1990, 2011