VDSBK | Back to Index page

| Prolog Control Block Contents VDSBK 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.

VDSBK Prolog | Top of page

     NAME       : HCPVDSBK
     DESCRIPTION: VIRTUAL DEVICE SIMULATION BLOCK
     DSECT      : VDSBK
     FUNCTION   : THIS CONTROL BLOCK CONTAINS INFORMATION NECESSARY FOR
                  SIMULATION OF A VIRTUAL DEVICE.
     LOCATED BY : VDEVVDS   FIELD OF HCPVDEV
     CREATED BY : HCPVDSDF - WHILE DEFINING A VIRTUAL DEVICE.
     DELETED BY : HCPVDBDL - WHEN DELETING A VIRTUAL DEVICE.
     RELOCATION CONSIDERATIONS : This control block is relocated as part of a live
                  guest relocation (LGR).  The bits and fields that
                  need to be relocated are defined in the
                  corresponding LGRVDSBK COPY file.  Whenever changes
                  are made to this control block, consideration must
                  be given to any effects these changes will have on
                  a relocation.  If any new fields or bits are
                  defined, they may need to be relocated.  If
                  existing bits or fields are changed, corresponding
                  modifications may be required in the LGR version of
                  this control block.  Consider also the effects of
                  these changes on a relocation involving a back-level
                  release of CP.

VDSBK Control Block Content | Top of page

     VDSBK DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      VDSBK          VIRTUAL DEVICE SIMULATION BLOCK
    0000    0 Signed       4 VDSVFC         POINTER TO VFCBLOK
    0004    4 Bitstring    4 VDSFLAGS (0)   DEVICE SIMULATION FLAGS
    0004    4 Bitstring    1 VDSRFLG        DEVICE SIMULATION REQUEST FLAG
              1... ....      VDSATTN        X'80' VDSATTN CONS - 2 OR MORE
                                            ATTENTIONS SEEN
              .1.. ....      VDSDIAG        X'40' VDSDIAG DIAGNOSE I/O ACTIVE
                                            ON THIS DEVICE
    0005    5 Bitstring    1 VDSSFLG        DEVICE SIMULATION STATUS FLAG
              1... ....      VDSCCW1        X'80' VDSCCW1 PROCESSING FIRST
                                            CCW IN CHAIN
              .1.. ....      VDSCPOST       X'40' VDSCPOST VIRTUAL COND. CODE
                                            PRESENTED
              ..1. ....      VDSLTIC        X'20' VDSLTIC LAST CCW PROCESSED
                                            WAS A TIC
              ...1 ....      VDSDTRAN       X'10' VDSDTRAN DATA XFER IN THIS
                                            CCW STRING
              .... 1...      VDSFEED        X'08' VDSFEED RDR - LAST CCW DID
                                            A 'FEED'
              .... .1..      VDSCRCW        X'04' VDSCRCW TIC SCAN PASSED
                                            CURR RCWTASK
              .... ..1.      VDSREJLT       X'02' VDSREJLT PRESENT COMMAND
                                            REJECT LATER
              .... ...1      VDSUE          X'01' VDSUE UNIT EXCEPTION HAS
                                            BEEN PRESENTED
    0006    6 Bitstring    1 VDSCFLG        DEVICE SIMULATION CONTROL FLAG
              .... 1...      VDSAUCR        X'08' VDSAUCR CONS - AUTO CR ON
                                            FIRST READ
              .... .1..      VDSAUCRX       X'04' VDSAUCRX AUCR bit when last
                                            LGR was initiated
    0007    7 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    0008    8 Signed       4 VDSRCW         POINTER TO CURRENT RCWTASK
    000C   12 Signed       4 VDSGSDVC       POINTER TO WORK GSDBLOK
    0010   16 Signed       4 VDSACCW        ADDRESS OF CURRENT CCW IN RCWTASK
    0014   20 Signed       4 VDSUCSB        POINTER TO UCSB DATA BLOCK
    0018   24 Signed       4 VDSGSDW        POINTER TO VSP WORK GSDBLOK
    001C   28 Signed       4 VDSGSDI        POINTER TO INPUT GSDBLOK
    0020   32 Signed       4 VDSGSDO        POINTER TO OUTPUT GSDBLOK
    0024   36 Address      4 VDSSDL         POINTER TO AN SDLBK
              00000005       VDSSIZE        (*-VDSBK+7)/8 VDSBK SIZE IN
                                            DOUBLE-WORDS

VDSBK Storage Layout | Top of page

    *** VDSBK - VIRTUAL DEVICE SIMULATION BLOCK
    *
    *     +---------------------------+------+------+------+------+
    *   0 |          VDSVFC           |:RFLG |:SFLG |:CFLG |//////|
    *     +---------------------------+------+------+------+------+
    *   8 |          VDSRCW           |         VDSGSDVC          |
    *     +---------------------------+---------------------------+
    *  10 |         VDSACCW           |         VDSUCSB           |
    *     +---------------------------+---------------------------+
    *  18 |         VDSGSDW           |         VDSGSDI           |
    *     +---------------------------+---------------------------+
    *  20 |         VDSGSDO           |          VDSSDL           |
    *     +---------------------------+---------------------------+
    *  28
    *
    *** VDSBK - VIRTUAL DEVICE SIMULATION BLOCK

VDSBK Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    VDSACCW        0010
    VDSATTN        0004 80
    VDSAUCR        0006 08
    VDSAUCRX       0006 04
    VDSCCW1        0005 80
    VDSCFLG        0006
    VDSCPOST       0005 40
    VDSCRCW        0005 04
    VDSDIAG        0004 40
    VDSDTRAN       0005 10
    VDSFEED        0005 08
    VDSFLAGS       0004
    VDSGSDI        001C
    VDSGSDO        0020
    VDSGSDVC       000C
    VDSGSDW        0018
    VDSLTIC        0005 20
    VDSRCW         0008
    VDSREJLT       0005 02
    VDSRFLG        0004
    VDSSDL         0024
    VDSSFLG        0005
    VDSSIZE        0024 00000005
    VDSUCSB        0014
    VDSUE          0005 01
    VDSVFC         0000

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:31:32 EDT.
Copyright IBM Corporation, 1990, 2020