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

$CRWBK

Prolog  

Control Block Contents  
   $CRWBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


$CRWBK Prolog

 NAME       : LGRCRWBK
 DESCRIPTION: Relocation mapping for HCPCRWBK
 DSECT      : $CRWBK
 FUNCTION   : LGRCRWBK describes those fields of the CRWBK 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.
 CREATED BY : HCPRLIWF - CRWBK Formatter for LGR
 DELETED BY : HCPRLDRL - Release storage associated with an RDP
 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 HCPCRWBK 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.

 

$CRWBK Control Block Content


$CRWBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      $CRWBK         Relocation mapping for HCPCRWBK
          00000001       $CRW_VER       1 Mapping version number for this
                                        DSECT. Version is independent of
                                        the CP level and need only be
                                        changed when this DSECT is
                                        changed. The convention is to
                                        increment by 1.
0000    0 Signed       2 $CRW_HDRL      Header length (in bytes)
0002    2 Signed       2 $CRW_BITL      Length of mapped bits (in bytes)
0004    4 Signed       4 *              Reserved for future use
          00000008       $CRW_HDLN      *-$CRWBK Length of header (bytes)
      Bit map: Contains the CRWBK flags that are subject to
               relocation. These bits are defined sequentially,
               regardless of how they are defined in HCPCRWBK.
               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 $CRW_BITS (0)  Bit map area
          00000000       $CRW_BLEN      *-$CRW_BITS Length of bit map
                                        area
      Data:    Contains all HCPCRWBK 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.
               together with new flag bytes as required.
0008    8 Bitstring    1 $CRW_DATA (0)  Start of data map
0008    8 Bitstring    1 $CRWFLAGS      Channel report codes
0009    9 Bitstring    1 $CRWEFLD       CRW Error Recovery Information
000A   10 Bitstring    2 $CRWRSID       Resource ID Code
000C   12 Bitstring    4 $CRWNEXT       Next CRW pointer
          00000010       $CRW_LEN       *-$CRWBK Total length, in bytes
          00000002       $CRW_SZ        ($CRW_LEN+7)/8 Size in
                                        doublewords

 

$CRWBK Storage Layout

          
*** $CRWBK - Relocation mapping for HCPCRWBK
*
*     +-------------+-------------+---------------------------+
*   0 | $CRW_HDRL   | $CRW_BITL   |///////////////////////////|
*     +------+------+-------------+---------------------------+
*   8 |(008) |:WEFLD|  $CRWRSID   |         $CRWNEXT          |
*     +------+------+-------------+---------------------------+
*  10
*
*** $CRWBK - Relocation mapping for HCPCRWBK

 

$CRWBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
$CRW_BITL      0002
$CRW_BITS      0008
$CRW_BLEN      0008 00000000
$CRW_DATA      0008
$CRW_HDLN      0004 00000008
$CRW_HDRL      0000
$CRW_LEN       000C 00000010
$CRW_SZ        000C 00000002
$CRW_VER       0000 00000001
$CRWEFLD       0009
$CRWFLAGS      0008
$CRWNEXT       000C
$CRWRSID       000A

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