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

SPRBK

Prolog  

Control Block Contents  
   SPRBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


SPRBK Prolog

 NAME       : HCPSPRBK
 DESCRIPTION: Spool File Reply Block
 DSECT      : SPRBK
 FUNCTION   : The SPRBK contains status information about
              a SELECT/GET request to the *SPL system
              service
 LOCATED BY : Returned to the virtual machine application
              in the IPUSER field in the IPARML
 CREATED BY : IUCV processing
 DELETED BY : N/A

 

SPRBK Control Block Content


SPRBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      SPRBK          Spool File Reply Block
0000    0 Bitstring    1 SPRGENRC       D*1 General return code
      The following constants may be set in SPRGENRC.
          00000004       SPRNOMAT       4 No match found
          00000008       SPRSTACT       8 File still active
          0000000C       SPRNOPRV       12 Not privileged
          00000010       SPRBDQUE       16 Invalid queue
          00000014       SPRBADID       20 Invalid userid
          00000018       SPRBDESM       24 ESM Failure
          000000FF       SPRBDPLS       255 Bad input plist
0001    1 Bitstring    1 SPRSFBRC       D*2 SFBLOK related return code
      The following constants are common to SPRSFBRC, SPRSPKRC,
      SPR38RC, and SPRXABRC.
          00000004       SPRPGERR       4 Paging error
          00000008       SPRPRTEC       8 Protection or addressing excep.
      The following constants are common to SPRSPKRC and SPRXABRC
          00000014       SPRRDOUT       20 Read outstanding
      The following constants may be set in SPRSFBRC only.
          0000000C       SPRTOLIT       12 Buffer too small to hold
                                        SFBLOK
0002    2 Bitstring    1 SPRSPKRC       D*3 SPLINK related return code
      The following constants may be set in SPRSPKRC only
          0000000C       SPRSPKLG       12 Invalid starting SPLINK number
          00000010       SPRSPLTM       16 Number of SPLINKs requested
                                        ran past EOF.
0003    3 Bitstring    1 SPRXABRC       D*4 XAB related return code
      The following constants may be set in SPRXABRC only.
          0000000C       SPRNOXAB       12 No XAB present
          00000010       SPRMXAB        16 There is either more or less
                                        XAB data than requested
0004    4 Bitstring    1 SPR38RC        D*5 3800 related return code
      The following constants may be set in SPR38RC only.
          0000000C       SPRNOTEQ       12 More 3800 info available
0005    5 Address      3 SPRSPLKN       Number of SPLINKS returned
0008    8 Bitstring    1 SPRSFBL        D*6 Length of SFBLOK data
                                        returned (d-words)
0009    9 Bitstring    1 SPR3800L       D*7 Length of 3800 data returned
                                        (bytes)
000A   10 Signed       2 SPRXABL        Length of XAB data returned
                                        (bytes)
000C   12 Signed       4 *              Reserved
          00000010       SPRSIZEB       (*-SPRBK) Size in bytes
          00000002       SPRSIZED       (*-SPRBK+7)/8 Size in d-words

 

SPRBK Storage Layout

          
*** SPRBK - Spool File Reply Block
*
*     +------+------+------+------+------+--------------------+
*   0 |:GENRC|:SFBRC|:SPKRC|:XABRC|:38RC |     SPRSPLKN       |
*     +------+------+------+------+------+--------------------+
*   8 |:SFBL |:3800L|  SPRXABL    |///////////////////////////|
*     +------+------+-------------+---------------------------+
*  10
*
*** SPRBK - Spool File Reply Block

 

SPRBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
SPRBADID       0000 00000014
SPRBDESM       0000 00000018
SPRBDPLS       0000 000000FF
SPRBDQUE       0000 00000010
SPRGENRC       0000
SPRMXAB        0003 00000010
SPRNOMAT       0000 00000004
SPRNOPRV       0000 0000000C
SPRNOTEQ       0004 0000000C
SPRNOXAB       0003 0000000C
SPRPGERR       0001 00000004
SPRPRTEC       0001 00000008
SPRRDOUT       0001 00000014
SPRSFBL        0008
SPRSFBRC       0001
SPRSIZEB       000C 00000010
SPRSIZED       000C 00000002
SPRSPKLG       0002 0000000C
SPRSPKRC       0002
SPRSPLKN       0005
SPRSPLTM       0002 00000010
SPRSTACT       0000 00000008
SPRTOLIT       0001 0000000C
SPRXABL        000A
SPRXABRC       0003
SPR38RC        0004
SPR3800L       0009

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