TPEBK Back to Index page
 
Prolog 
Control Block Contents 
   TPEBK DSECT
Storage Layout 
Cross Reference (Contains links to field and bit definitions)
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.


  TPEBK Prolog Top of page
 
 NAME       : HCPTPEBK
 DESCRIPTION: TAPE CONTROL BLOCK
 DSECT      : TPEBK
 FUNCTION   : THE TAPE CONTROL BLOCK IS USED TO SAVE INFORMATION
              USED FOR WRITING TO TAPE.
 LOCATED BY : SYSTPEBK IN HCPSYSCM
 CREATED BY : HCPTPEIN - DURING INITIALIZATION OF I/O PROCESSING.
 DELETED BY : HCPTPEND - DURING TERMINATION OF I/O PROCESSING.
 RELOCATION CONSIDERATIONS : None
 
 
  TPEBK Control Block Content Top of page
 

 TPEBK DSECT Top of page
Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure TPEBK TAPE CONTROL BLOCK 0000 0 Dbl-Word 8 TPEUSER USERID TO SEND INFORMATIONAL MESSAGES TO 0008 8 Signed 4 TPERDEV1 ADDRESS OF RDEVBK 000C 12 Signed 4 TPERDEV2 ADDRESS OF RDEVBK 0010 16 Bitstring 1 TPESTATS TAPE STATUS 1... .... TPELABEL X'80' TPELABEL WRITE TAPE LABEL .1.. .... TPECANCL X'40' TPECANCL CANCEL PROCESSING ..1. .... TPEATCMD X'20' TPEATCMD TRSAVE issued via AT command 0011 17 Bitstring 1 TPEDISP TAPE DISPOSTION 00000002 TPEREW X'02' TPEREW REWIND TAPE 00000001 TPERUN X'01' TPERUN REWIND AND UNLOAD TAPE 00000002 TPEREW X'02' TPEREW REWIND TAPE 00000001 TPERUN X'01' TPERUN REWIND AND UNLOAD TAPE 0012 18 Bitstring 1 TPEMODE TAPE MODE 00000007 TPECOMP X'07' TPECOMP MODE = NON-DEVICE SPECIFIC COMPACTION 00000006 TPE3490C X'06' TPE3490C MODE = 3490 COMPACTION 00000005 TPEXF X'05' TPEXF MODE = XF 00000004 TPE38K X'04' TPE38K MODE = 38K 00000003 TPE6250 X'03' TPE6250 MODE = 6250 BPI 00000002 TPE1600 X'02' TPE1600 MODE = 1600 BPI 00000001 TPE800 X'01' TPE800 MODE = 800 BPI 00000007 TPECOMP X'07' TPECOMP MODE = NON-DEVICE SPECIFIC COMPACTION 00000006 TPE3490C X'06' TPE3490C MODE = 3490 COMPACTION 00000005 TPEXF X'05' TPEXF MODE = XF 00000004 TPE38K X'04' TPE38K MODE = 38K 00000003 TPE6250 X'03' TPE6250 MODE = 6250 BPI 00000002 TPE1600 X'02' TPE1600 MODE = 1600 BPI 00000001 TPE800 X'01' TPE800 MODE = 800 BPI 0013 19 Bitstring 1 * RESERVED FOR IBM USE 0014 20 Signed 4 TPETPLBK ADDRESS OF TAPE LABEL BLOCK HCPTPLBK 0018 24 Signed 4 TPERDEV ADDRESS OF RDEV CURRENTLY DOING I/O TO 001C 28 Signed 4 TPEDATA ADDRESS OF PARAMETER LIST CONTAINING NUMBER OF DATA BUFFERS TO BE WRITTEN TO TAPE, AND UP TO 3 ADDRESSES O1FDATA BUFFERS 0020 32 Signed 4 TPEIORB1 ADDRESS OF IORBK 0024 36 Signed 4 TPEIORB2 ADDRESS OF IORBK 0028 40 Signed 4 TPEIORBK ADDRESS OF CURRENT IORBK IN USE 002C 44 Signed 4 * RESERVED FOR IBM USE 00000006 TPESIZE (*-TPEBK+7)/8 SIZE OF TPEBK IN DOUBLEWORDS
 
 
  TPEBK Storage Layout Top of page
 
          
*** TPEBK - TAPE CONTROL BLOCK
*
*     +-------------------------------------------------------+
*   0 |                       TPEUSER                         |
*     +---------------------------+---------------------------+
*   8 |         TPERDEV1          |         TPERDEV2          |
*     +------+------+------+------+---------------------------+
*  10 |:STATS|:DISP |:MODE |//////|         TPETPLBK          |
*     +------+------+------+------+---------------------------+
*  18 |         TPERDEV           |         TPEDATA           |
*     +---------------------------+---------------------------+
*  20 |         TPEIORB1          |         TPEIORB2          |
*     +---------------------------+---------------------------+
*  28 |         TPEIORBK          |///////////////////////////|
*     +---------------------------+---------------------------+
*  30
*
*** TPEBK - TAPE CONTROL BLOCK
 
 
  TPEBK Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
TPEATCMD       0010 20
TPECANCL       0010 40
TPECOMP        0012 00000007
TPECOMP        0012 00000007
TPEDATA        001C
TPEDISP        0011
TPEIORBK       0028
TPEIORB1       0020
TPEIORB2       0024
TPELABEL       0010 80
TPEMODE        0012
TPERDEV        0018
TPERDEV1       0008
TPERDEV2       000C
TPEREW         0011 00000002
TPEREW         0011 00000002
TPERUN         0011 00000001
TPERUN         0011 00000001
TPESIZE        002C 00000006
TPESTATS       0010
TPETPLBK       0014
TPEUSER        0000
TPEXF          0012 00000005
TPEXF          0012 00000005
TPE1600        0012 00000002
TPE1600        0012 00000002
TPE3490C       0012 00000006
TPE3490C       0012 00000006
TPE38K         0012 00000004
TPE38K         0012 00000004
TPE6250        0012 00000003
TPE6250        0012 00000003
TPE800         0012 00000001
TPE800         0012 00000001
 
This information is based on z/VM 7.3.0 Last updated on 22 Jun 2022 at 15:57:10 EDT.
Copyright IBM Corporation, 1990, 2022