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

#### TCBADR

Prolog

Control Block Contents
TCBADR DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### TCBADR Prolog

     Name       : BGTCB
     Description: Task Control Block
     DSECT      : TCBADR
     Function   : TCBADR simulates the VSE task control block.
                  TCBADR is called by the BGTCB macro.

#### TCBADR Control Block Content

#### TCBADR DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      TCBADR         Task Control Block
    0000    0 Signed       2 *              LENGTH OF TCB
    0002    2 Bitstring    1 *              RESERVED
    0003    3 Bitstring    1 TCBRID         RID
    0004    4 Signed       2 FATHERID       TID OF ATTACHING TASK
    0006    6 Bitstring    1 TCBFLAGS       FLAG BYTE
              1... ....      SYSRESW        X'80' 0 WRITE ON SYSRES ALLOWED
                                            1-2 RESERVED
              ...1 ....      ACLOSE         X'10' 3 VSAM AUTO. CLOSE IN
                                            PROCESS
              .... 1...      VSAMOPEN       X'08' 4 VSAM ACB'S OPEN IN
                                            PARTITIN
    0007    7 Bitstring    1 TCBFLAG2       FLAG BYTE
    0008    8 Signed       4 TCBTIB         TIB POINTER
    000C   12 Signed       4 TCBSAVE        TASK SAVE AREA ADDRESS
    0010   16 Signed       4 INTINFO        INTERRUPT INFORMATION
    0014   20 Signed       4 AERREXIT (0)   ERROR EXITS
    0014   20 Signed       4 TCBECB         USER TASKS: ADDR. OF ATTACH ECB
    0018   24 Signed       4 TCBSAV2        ADDRESS OF SECOND SAVE AREA
    001C   28 Signed       4 TCBITPTR       ADDRESS OF EXIT ROUTINE OR TECB
    0020   32 Signed       4 TCBITSAV       ADDRESS OF EXIT SAVE AREA
              00000024       SSTCBLNG       *-TCBADR LENGTH OF SHORT SYSTEM
                                            TASK TCB
    0024   36 Signed       4 TCBABPTR       ADDRESS OF AB EXIT ROUTINE
    0028   40 Signed       4 TCBABSAV       ADDRESS OF AB EXIT SAVEAREA
    002C   44 Signed       4 TCBPCPTR       ADDRESS OF PC EXIT ROUTINE
    0030   48 Signed       4 TCBPCSAV       ADDRESS OF PC EXIT SAVEAREA

#### TCBADR Storage Layout

    *** TCBADR - Task Control Block
    *
    *     +-------------+------+------+-------------+------+------+
    *   0 |/////////////|//////|TCBRID|  FATHERID   |:FLAGS|:FLAG2|
    *     +-------------+------+------+-------------+------+------+
    *   8 |          TCBTIB           |         TCBSAVE           |
    *     +---------------------------+---------------------------+
    *  10 |         INTINFO           |          TCBECB           |
    *     +---------------------------+---------------------------+
    *  18 |         TCBSAV2           |         TCBITPTR          |
    *     +---------------------------+---------------------------+
    *  20 |         TCBITSAV          |         TCBABPTR          |
    *     +---------------------------+---------------------------+
    *  28 |         TCBABSAV          |         TCBPCPTR          |
    *     +---------------------------+---------------------------+
    *  30 |         TCBPCSAV          | 34
    *     +---------------------------+
    *
    *** TCBADR - Task Control Block

#### TCBADR Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ACLOSE         0006 10
    AERREXIT       0014
    FATHERID       0004
    INTINFO        0010
    SSTCBLNG       0020 00000024
    SYSRESW        0006 80
    TCBABPTR       0024
    TCBABSAV       0028
    TCBECB         0014
    TCBFLAGS       0006
    TCBFLAG2       0007
    TCBITPTR       001C
    TCBITSAV       0020
    TCBPCPTR       002C
    TCBPCSAV       0030
    TCBRID         0003
    TCBSAVE        000C
    TCBSAV2        0018
    TCBTIB         0008
    VSAMOPEN       0006 08

This information is based on z/VM V5R2.0.
Last updated on 6 Dec 2005 at 15:46:21 EDT.
Copyright IBM Corporation, 1990, 2005