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

#### SHQBK

Prolog

Control Block Contents
SHQBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SHQBK Prolog

     NAME       : HCPSHQBK
     DESCRIPTION: SPOOL HOLD QUEUE
     DSECT      : SHQBK
     FUNCTION   : EACH SHQBK IDENTIFIES ONE USER WHOSE PRINT AND/OR
                  PUNCH OUTPUT IS TO BE HELD, OR IS NOT ALLOWED TO
                  TO LOGON.
     LOCATED BY : THE FIRST SHQBK IS ADDRESSED BY 'SYSHOLQ' IN THE
                  SYSTEM COMMON AREA.  THERE ARE THIRTY-TWO CONTIGUOUS
                  ENTRIES IN THE ARRAY.
     CREATED BY : THE EXPANSION OF HCPSYS
     DELETED BY : NOT DELETED

#### SHQBK Control Block Content

#### SHQBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SHQBK          SPOOL HOLD QUEUE
    0000    0 Character    8 SHQUSER        USER WHOSE FILES ARE TO BE HELD
    0008    8 Bitstring    1 SHQFLAG        STATUS FLAGS
              1... ....      SHQHLOG        X'80' SHQHLOG USERID CAN'T LOGON
              .1.. ....      SHQHPUN        X'40' SHQHPUN HOLD ALL PUNCH
                                            OUTPUT
              ..1. ....      SHQHPRT        X'20' SHQHPRT HOLD ALL PRINTER
                                            OUTPUT
    0009    9 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    000A   10 Signed       2 *              RESERVED FOR FUTURE IBM USE
    000C   12 Signed       4 *              RESERVED FOR FUTURE IBM USE
              00000002       SHQSIZE        (*-SHQBK+7)/8 BLOCK LENGTH IN
                                            DBL-WORDS
              00000010       SHQBSIZE       SHQSIZE*8 BLOCK LENGTH IN BYTES
              00000020       SHQCNT         32,32 NUMBER OF ENTRIES IN HOLD
                                            QUEUE
              00000040       SHQTOTSZ       SHQCNT*SHQSIZE SIZE OF ENTIRE
                                            HOLD QUEUE

#### SHQBK Storage Layout

    *** SHQBK - SPOOL HOLD QUEUE
    *
    *     +-------------------------------------------------------+
    *   0 |                       SHQUSER                         |
    *     +------+------+-------------+---------------------------+
    *   8 |:FLAG |//////|/////////////|///////////////////////////|
    *     +------+------+-------------+---------------------------+
    *  10
    *
    *** SHQBK - SPOOL HOLD QUEUE

#### SHQBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SHQBSIZE       000C 00000010
    SHQCNT         000C 00000020
    SHQFLAG        0008
    SHQHLOG        0008 80
    SHQHPRT        0008 20
    SHQHPUN        0008 40
    SHQSIZE        000C 00000002
    SHQTOTSZ       000C 00000040
    SHQUSER        0000

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