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

$PSGBK

Prolog  

Control Block Contents  
   $PSGBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


$PSGBK Prolog

 NAME       : LGRPSGBK
 DESCRIPTION: Relocation mapping for HCPPSGBK
 DSECT      : $PSGBK
 FUNCTION   : LGRPSGBK describes those fields of the PSGBK that
              will be migrated to the destination system during
              guest relocation.
 LOCATED BY : This is a mapping of the RDODATA area within the
              RDOBK during guest relocation.
 RELOCATION CONSIDERATIONS : This control block is used during live guest
              relocation.  It is used to relocate a control block
              defined in a corresponding HCP COPY file.  Any
              fields or bits defined in HCPPSGBK which are
              required on the destination system must be defined
              here, and code must be added to migrate the field
              or bit during a relocation.

 

$PSGBK Control Block Content


$PSGBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      $PSGBK         Relocation mapping for HCPPSGBK
          00000001       $PSG_VER       1 Mapping version number
0000    0 Signed       2 $PSG_HDRL      Header length (in bytes)
0002    2 Signed       2 $PSG_BITL      Length of mapped bits (in bytes)
0004    4 Signed       4 *              Reserved for future use
          00000008       $PSG_HDLN      *-$PSGBK Length of header (bytes)
      Bit map: Contains the PSGBK flags that are subject to
               relocation. These bits are defined sequentially,
               regardless of how they are defined in HCPPSGBK.
               This yields a consistent mapping that ensures
               compatibility when a guest is relocated between
               systems at differing service levels.
               Names in the comments column indicate the control
               block byte which contains the flag. This name is
               subject to change if the flag definition changes.
         ====> NEVER change bits which already exist here.
         ====> NEVER change the order of bits in this section.
         ====> ALWAYS add new bits at the end of this section,
               together with new flag bytes as required.
0008    8 Signed       2 $PSG_BITS (0)  Bit map area
0008    8 Bitstring    1 $PSG0
          1... ....      $PSGINPXI      X'80' $PSGINPXI PSGFLAG
          00000001       $PSG_BLEN      *-$PSG_BITS Length of bit map
                                        area
      Data:    Contains all HCPPSGBK data that is subject to
               relocation, except for flag bits, which are
               handled separately.
               All fields are defined as XLnn to avoid alignment
               warnings and to pack the data efficiently.
         ====> NEVER change fields which already exist here.
         ====> NEVER change the order of fields in this section.
         ====> ALWAYS add new fields at the end of this section.
0009    9 Bitstring    1 $PSG_DATA (0)  Start of data map
0009    9 Bitstring    4 $PSGCOUNT      Count of supplementary GIDs
000D   13 Bitstring    4 $PSGPXICT      Count of referring PXIBKs
0011   17 Bitstring    4 $PSGSGIDS      -> RDO offset to list of SGIDs
          00000015       $PSG_LEN       *-$PSGBK Total length, in bytes
          00000003       $PSG_SZ        ($PSG_LEN+7)/8 Size in
                                        doublewords

 

$PSGBK Storage Layout

          
*** $PSGBK - Relocation mapping for HCPPSGBK
*
*     +-------------+-------------+---------------------------+
*   0 | $PSG_HDRL   | $PSG_BITL   |///////////////////////////|
*     +------+------+-------------+------+--------------------+
*   8 |$PSG0 |        $PSGCOUNT          |    $PSGPXICT-      |
*     +------+---------------------------+--------------------+
*  10 |-(00D)|        $PSGSGIDS          | 15
*     +------+---------------------------+
*
*** $PSGBK - Relocation mapping for HCPPSGBK

 

$PSGBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
$PSG_BITL      0002
$PSG_BITS      0008
$PSG_BLEN      0008 00000001
$PSG_DATA      0009
$PSG_HDLN      0004 00000008
$PSG_HDRL      0000
$PSG_LEN       0011 00000015
$PSG_SZ        0011 00000003
$PSG_VER       0000 00000001
$PSGCOUNT      0009
$PSGINPXI      0008 80
$PSGPXICT      000D
$PSGSGIDS      0011
$PSG0          0008

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