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

TCWBK

Prolog  

Control Block Contents  
   TCWBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


TCWBK Prolog

              Description: FCX Transport Control Word
              DSECT      : TCWBK
              Function   : Provide symbolic reference to the fields of a
              Transport Control Word used by Fibre Channel
              Extensions (FCX)
              Located by : N/A
              Created by : N/A
              Delete By  - N/A

 

TCWBK Control Block Content


TCWBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      TCWBK          FCX Transport Control Word
0000    0 Bitstring    1 TCWFMT         TCW Format
          .... ....      TCWFMT0        X'00' TCWFMT0 Format 0
0001    1 Bitstring    3 TCWTFLGS (0)   T-Flags
0001    1 Bitstring    1 TCWTFLG0       T-Flag byte 0
          .... .1..      TCWITIDA       X'04' TCWITIDA Input TIDA
          .... ..1.      TCWTTIDA       X'02' TCWTTIDA TCCB TIDA
          .... ...1      TCWOTIDA       X'01' TCWOTIDA Output TIDA
0002    2 Bitstring    1 TCWTFLG1       T-Flag byte 1
          .... ....      TCWTFMT0       X'00' TCWTFMT0 TIDAW Format 0
0003    3 Bitstring    1 TCWTFLG2       T-Flag byte 2
0004    4 Bitstring    1 TCWW1B0        Reserved for IBM use
0005    5 Bitstring    1 TCWW1B1        TCW Word 1 Byte 1
          .... ..1.      TCWREAD        X'02' TCWREAD Read Operation
                                        (Input)
          .... ...1      TCWWRITE       X'01' TCWWRITE Write Operation
                                        (Output)
          1111 11..      TCWTCCBM       X'FC' TCWTCCBM Mask for TCCB byte
                                        length
0006    6 Bitstring    1 TCWW1B2        Reserved for IBM use
0007    7 Bitstring    1 TCWW1B3        Reserved for IBM use
0008    8 Address      8 TCWODATA       64b Outut TIDAL or Data Addr
0010   16 Address      8 TCWIDATA       64b Input TIDAL or Data Addr
0018   24 Address      8 TCWTSBA (0)    64b Transport Status Block Addr
0018   24 Address      4 TCWTSBAH       High word of TCWTSB
001C   28 Address      4 TCWTSBAL       Low word of TCWTSB
0020   32 Address      8 TCWTCCBA (0)   64b Transport Command Control
                                        Block Addr
0020   32 Address      4 TCWTCCBH       High word of TCWTCCBA
0024   36 Address      4 TCWTCCBL       Low word of TCWTCCBA
0028   40 Signed       4 TCWOCNT        Output Byte Count
002C   44 Signed       4 TCWICNT        Input Byte Count
0030   48 Bitstring   12 TCWRSV0        Reserved for IBM use
003C   60 Address      4 TCWINTA        31b Interrogate TCW Addr
          00000040       TCWARBSZ       (*-TCWBK) TCWBK architected byte
                                        size
          00000008       TCWARDSZ       (*-TCWBK+7)/8 TCWBK architected
                                        dword size
      End of architected TCW.  All remaining data is CP-owned.
0040   64 Character    1 TCWCPOWN (0)   Start of CP-owned data
0040   64 Address      8 TCWGATSB       64b GAA(TSB associated with this
                                        TCW)
0048   72 Address      4 TCWHLTSB       HLA(TSB in this TCW)
004C   76 Bitstring    4 *              Reserved for IBM use
          00000050       TCWBKBSZ       (*-TCWBK) TCWBK byte size
          0000000A       TCWBKDSZ       (*-TCWBK+7)/8 TCWBK dword size

 

TCWBK Storage Layout

          
*** TCWBK - FCX Transport Control Word
*
*     +------+------+------+------+------+------+------+------+
*   0 |TCWFMT|:TFLG0|:TFLG1|:TFLG2|:W1B0 |:W1B1 |:W1B2 |:W1B3 |
*     +------+------+------+------+------+------+------+------+
*   8 |                       TCWODATA                        |
*     +-------------------------------------------------------+
*  10 |                       TCWIDATA                        |
*     +---------------------------+---------------------------+
*  18 |         TCWTSBAH          |         TCWTSBAL          |
*     +---------------------------+---------------------------+
*  20 |         TCWTCCBH          |         TCWTCCBL          |
*     +---------------------------+---------------------------+
*  28 |         TCWOCNT           |         TCWICNT           |
*     +---------------------------+---------------------------+
*  30 |                       TCWRSV0                         |
*     |                           +---------------------------+
*  38 |                           |         TCWINTA           |
*     +---------------------------+---------------------------+
*  40 |                       TCWGATSB                        |
*     +---------------------------+---------------------------+
*  48 |         TCWHLTSB          |///////////////////////////|
*     +---------------------------+---------------------------+
*  50
*
*** TCWBK - FCX Transport Control Word

 

TCWBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
TCWARBSZ       003C 00000040
TCWARDSZ       003C 00000008
TCWBKBSZ       004C 00000050
TCWBKDSZ       004C 0000000A
TCWCPOWN       0040
TCWFMT         0000
TCWFMT0        0000 00
TCWGATSB       0040
TCWHLTSB       0048
TCWICNT        002C
TCWIDATA       0010
TCWINTA        003C
TCWITIDA       0001 04
TCWOCNT        0028
TCWODATA       0008
TCWOTIDA       0001 01
TCWREAD        0005 02
TCWRSV0        0030
TCWTCCBA       0020
TCWTCCBH       0020
TCWTCCBL       0024
TCWTCCBM       0005 FC
TCWTFLGS       0001
TCWTFLG0       0001
TCWTFLG1       0002
TCWTFLG2       0003
TCWTFMT0       0002 00
TCWTSBA        0018
TCWTSBAH       0018
TCWTSBAL       001C
TCWTTIDA       0001 02
TCWWRITE       0005 01
TCWW1B0        0004
TCWW1B1        0005
TCWW1B2        0006
TCWW1B3        0007

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