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

TRGBK

Prolog  

Control Block Contents  
   TRGBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


TRGBK Prolog

 NAME       : HCPTRGBK
 DESCRIPTION: ISFC CP Application target control block
 DSECT      : TRGBK
 FUNCTION   : Each TRGBK holds information about one path to a partner.
 LOCATED BY : ACTBK, CARBK
 CREATED BY : CP application mailbox on an OPEN function.
 DELETED BY : CP application mailbox on a CLOSE function.
 SERIALIZED : The ACTBK lock.
 RELOCATION CONSIDERATIONS : None
 NOTES      :
              A TRGBK contains information about one path to a partner
              application. It is used by the CP application mailbox to
              find a path to a partner application on another node.
              The ACTBK has the anchor to the TRGBK chain.

 

TRGBK Control Block Content


TRGBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      TRGBK          ISFC CP Application target control block
0000    0 Character    8 TRGNODET       Target node id
0008    8 Character    8 TRGAPPLT       Target application
0010   16 Bitstring    8 TRGPNDOQ       Pending open queue
0018   24 Signed       4 TRGNEXT        Next TRGBK in chain
001C   28 Signed       4 TRGPTHBK       Pointer to PTHBK
0020   32 Signed       4 TRGLOSER       PTHBK for OPEN 'loser'
0024   36 Bitstring    1 TRGFLAGS       Flag byte:
          1... ....      TRGBUSY        X'80' TRGBUSY - Path is busy
          .1.. ....      TRGPNDOP       X'40' TRGPNDOP - OPEN is pending
                                        on path
0025   37 Bitstring    1 * (3)          Reserved
0028   40 Dbl-Word     8 *              Reserved
          00000006       TRGSIZE        (*-TRGBK+7)/8 Size, in
                                        doublewords, of TRGBK

 

TRGBK Storage Layout

          
*** TRGBK - ISFC CP Application target control block
*
*     +-------------------------------------------------------+
*   0 |                       TRGNODET                        |
*     +-------------------------------------------------------+
*   8 |                       TRGAPPLT                        |
*     +-------------------------------------------------------+
*  10 |                       TRGPNDOQ                        |
*     +---------------------------+---------------------------+
*  18 |         TRGNEXT           |         TRGPTHBK          |
*     +---------------------------+------+--------------------+
*  20 |         TRGLOSER          |:FLAGS|////////////////////|
*     +---------------------------+------+--------------------+
*  28 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  30
*
*** TRGBK - ISFC CP Application target control block

 

TRGBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
TRGAPPLT       0008
TRGBUSY        0024 80
TRGFLAGS       0024
TRGLOSER       0020
TRGNEXT        0018
TRGNODET       0000
TRGPNDOP       0024 40
TRGPNDOQ       0010
TRGPTHBK       001C
TRGSIZE        0028 00000006

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