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

ASPBK

Prolog  

Control Block Contents  
   ASPBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


ASPBK Prolog

 NAME       : HCPASPBK
 DESCRIPTION: Active Spool File Block for *SPL
 DSECT      : ASPBK
 FUNCTION   : Represents a file in use by a PSF printer
              virtual machine.
 LOCATED BY : CAPASPQ - Anchor for chain in the CAPBK.
 CREATED BY : SELECT processing
 DELETED BY : CLOSE processing
              PURGE or SEVER is file is not in
              'READ outstanding' status
              READ XAB or READ SPLINK if requested
              by PURGE or SEVER
 SERIALIZED : Protected by the CAPPLOCK of the owning
              path's CAPBK.

 

ASPBK Control Block Content


ASPBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      ASPBK          Active Spool File Block for *SPL
0000    0 Address      4 ASPNEXT        Pointer to next ASPBK
0004    4 Bitstring    1 ASPSTAT        Status flag
          1... ....      ASPCVTNG       X'80' File being converted
          .1.. ....      ASPPRTNG       X'40' File being printed
          ..1. ....      ASPRDOUT       X'20' Read outstanding
          ...1 ....      ASPCPEND       X'10' Cancel pending
          .... 1...      ASPEOF         X'08' At end of file
0005    5 Bitstring    1 *              Reserved
0006    6 Signed       2 ASPSPID        Spool file id
0008    8 Address      4 ASPSPFBK       Spool file block
000C   12 Address      4 ASPSPABK       Spool file allocation
0010   16 Dbl-Word     8 ASPUSER        Owner of the spool file
          00000003       ASPSIZE        (*-ASPBK)/8 Size in double words

 

ASPBK Storage Layout

          
*** ASPBK - Active Spool File Block for *SPL
*
*     +---------------------------+------+------+-------------+
*   0 |         ASPNEXT           |:STAT |//////|  ASPSPID    |
*     +---------------------------+------+------+-------------+
*   8 |         ASPSPFBK          |         ASPSPABK          |
*     +---------------------------+---------------------------+
*  10 |                       ASPUSER                         |
*     +-------------------------------------------------------+
*  18
*
*** ASPBK - Active Spool File Block for *SPL

 

ASPBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
ASPCPEND       0004 10
ASPCVTNG       0004 80
ASPEOF         0004 08
ASPNEXT        0000
ASPPRTNG       0004 40
ASPRDOUT       0004 20
ASPSIZE        0010 00000003
ASPSPABK       000C
ASPSPFBK       0008
ASPSPID        0006
ASPSTAT        0004
ASPUSER        0010

This information is based on z/VM V4R2.0. Last updated on 17 Oct 2001 at 14:48:39 EDT.
Copyright IBM Corporation, 1990, 2001