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

#### SDLBK

Prolog

Control Block Contents
SDLBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SDLBK Prolog

     NAME       : HCPSDLBK
     DESCRIPTION: SPOOLING DATA LOCATOR BLOCK
     DSECT      : SDLBK
     FUNCTION   : SPECIFIES THE CCW AND THE LOCATION OF ASSOCIATED
                  DATA TO BE ADDED TO OR READ FROM A SPOOL FILE.
     LOCATED BY : VDSSDL - ANCHOR IN HCPVDSBK
                  GENERAL REGISTER 1 IN HCPVSP, HCPSPS, & HCPSXS
     CREATED BY : HCPVDS, HCPSPS
     DELETED BY : HCPDTD, HCPSPS

#### SDLBK Control Block Content

#### SDLBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SDLBK          SPOOLING DATA LOCATOR BLOCK
    0000    0 Bitstring    1 SDLCCWOP       CCW COMMAND CODE
    0001    1 Bitstring    1 SDLCCWFL       CCW FLAG BITS
              1... ....      CCWDC          X'80' CCWDC CHAIN DATA ADDRESS
                                            AND COUNT
              .1.. ....      CCWCC          X'40' CCWCC COMMAND CHAIN
              ..1. ....      CCWSILI        X'20' CCWSILI SUPPRESS INCORRECT
                                            LENGTH
              ...1 ....      CCWSKIP        X'10' CCWSKIP SUPPRESS INBOUND
                                            DATA TRANSFER
              .... 1...      CCWPCIR        X'08' CCWPCIR REQUEST PC
                                            INTERRUPTION
              .... .1..      CCWIDA         X'04' CCWIDA INDIRECT DATA
                                            ADDRESSING
              .... ..11      CCWINVAL       X'03' CCWINVAL I/O UNDEFINED PAIR
                                            OF BITS
              .... ..1.      CCWSUSPN       X'02' CCWSUSPN I/O
                                            SUSPENSION/RESUMPTION The
                                            CCWUNDEF definition is left here
                                            because some code still uses this
                                            field where the CCWMIDA bit is
                                            not applicable.
              .... ...1      CCWUNDEF       X'01' CCWUNDEF I/O UNDEFINED BIT
              .... ...1      CCWMIDA        X'01' CCWMIDA
                                            Modified-CCW-indirect-data-addres
                                            sing
    0002    2 Bitstring    2 SDLTBC         TOTAL BYTE COUNT (CCW DATA COUNT)
    0004    4 Bitstring    1 * (3)          RESERVED
    0007    7 Bitstring    1 SDLFLAG        DATA LOCATOR FLAG
              1... ....      SDLCHSIM       X'80' SDLCHSIM USE CHANNEL
                                            SIMULATOR TO MOVE DATA. IF OFF,
                                            DATA BUFFER LIST FOLLOWS.
              .1.. ....      SDLNOTTL       X'40' SDLNOTTL DO NOT PRINT PAGE
                                            TITLES
              ..1. ....      SDLFSTSP       X'20' SDLFSTSP This is the first
                                            SPLINK in the file to be
                                            translated
              ...1 ....      SDLSPTCM       X'10' SDLSPTCM SPTAPE LOAD issued
                                            and blanks are compressed
    0008    8 Signed       4 SDLIORBK       IORBK ADDR FOR CHANNEL SIMULATOR
    000C   12 Signed       4 SDLBUFCT       NUMBER OF DATA BUFFERS (0-4)
                                            WHICH FOLLOW
    0010   16 Dbl-Word     8 SDLSECTS (6)   0-4 DATA BUFFERS (ADDR / LENGTH)
           The length of the SDLSAVE field for BLOCKMAP is 64 d-words
    0040   64 Dbl-Word     8 SDLSAVE (64)   Add a savearea for use by VSQRW
              00000048       SDLSIZE        (*-SDLBK+7)/8 SDLBK SIZE IN
                                            DOUBLE WORDS
    0010   16 Signed       4 SDLSRADD       Host Logical addr of data section
    0014   20 Signed       4 SDLSVADD       VIRTUAL ADDRESS OF DATA SECTION.
                                            (WORK AREA FOR CALLER - NOT REQ)
    0018   24 Signed       4 SDLSECCT       BYTE COUNT OF THE DATA SECTION
              0000000C       SDLENTRY       *-SDLSRADD LENGTH OF ONE DATA
                                            BUFFER ENTRY

#### SDLBK Storage Layout

    *** SDLBK - SPOOLING DATA LOCATOR BLOCK
    *
    *     +------+------+-------------+--------------------+------+
    *   0 |:CCWOP|:CCWFL|   SDLTBC    |////////////////////|:FLAG |
    *     +------+------+-------------+--------------------+------+
    *   8 |         SDLIORBK          |         SDLBUFCT          |
    *     +---------------------------+---------------------------+
    *  10 |                                                       |
    *     =                       SDLSECTS                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  40 |                                                       |
    *     =                       SDLSAVE                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 240
    *
    *** SDLBK - SPOOLING DATA LOCATOR BLOCK

    *** Overlay for SDLSECTS in SDLBK
    *
    *     +---------------------------+---------------------------+
    *  10 |         SDLSRADD          |         SDLSVADD          |
    *     +---------------------------+---------------------------+
    *  18 |         SDLSECCT          | 1C
    *     +---------------------------+
    *
    *** Overlay for SDLSECTS in SDLBK

#### SDLBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CCWCC          0001 40
    CCWDC          0001 80
    CCWIDA         0001 04
    CCWINVAL       0001 03
    CCWMIDA        0001 01
    CCWPCIR        0001 08
    CCWSILI        0001 20
    CCWSKIP        0001 10
    CCWSUSPN       0001 02
    CCWUNDEF       0001 01
    SDLBUFCT       000C
    SDLCCWFL       0001
    SDLCCWOP       0000
    SDLCHSIM       0007 80
    SDLENTRY       0018 0000000C
    SDLFLAG        0007
    SDLFSTSP       0007 20
    SDLIORBK       0008
    SDLNOTTL       0007 40
    SDLSAVE        0040
    SDLSECCT       0018
    SDLSECTS       0010
    SDLSIZE        0040 00000048
    SDLSPTCM       0007 10
    SDLSRADD       0010
    SDLSVADD       0014
    SDLTBC         0002

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 09:03:44 EDT.
Copyright IBM Corporation, 1990, 2008