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

PSFBK

Prolog
Control Block Contents
PSFBK DSECT
Storage Layout
Cross Reference

PSFBK Prolog

 NAME       : HCPPSFBK
 DESCRIPTION: PURGE SPOOL FILE CONTROL BLOCK
 DSECT      : PSFBK
 FUNCTION   : One PSFBK will reside in a linked list.  This
              list will keep track of all of the SPOOL files
              that should be deleted after processing on the
              file is completed.
 CREATED BY : HCPCSFCX - Process CHANGE and TRANSFER commands
 DELETED BY : HCPSCSPL - Process the PSFBK queue
 HISTORY    : This control block was created with @S712158.

 

PSFBK Control Block Content

PSFBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      PSFBK          PURGE SPOOL FILE CONTROL BLOCK
0000    0 Address      4 PSFFPNT        Pointer to the next PSFBK on
                                        queue
0004    4 Bitstring    1 PSFQUEUE       Spool file queue location
          1... ....      PSFRDRQ        X'80' File is on the reader queue
          .1.. ....      PSFPUNQ        X'40' File is on the punch queue
          ..1. ....      PSFPRTQ        X'20' File is on the printer
                                        queue
0005    5 Bitstring    1 *              Reserved for IBM use
0006    6 Signed       2 PSFSPID        User spool file number (not
                                        unique)
0008    8 Signed       4 PSFSYSID       Unique system spool ID of the
                                        file
000C   12 Character    8 PSFUSER        User identificaton of file owner
0018   24 Dbl-Word     8 PSFTOD         TOD (full) of the spool file open
          00000004       PSFSIZE        (*-PSFBK+7)/8 Size in double
                                        words

 

PSFBK Storage Layout

          
*** PSFBK - PURGE SPOOL FILE CONTROL BLOCK
*
*     +---------------------------+------+------+-------------+
*   0 |         PSFFPNT           |:QUEUE|//////|  PSFSPID    |
*     +---------------------------+------+------+-------------+
*   8 |         PSFSYSID          |         PSFUSER-          |
*     +---------------------------+---------------------------+
*  10 |          -(00C)           |///////////////////////////|
*     +---------------------------+---------------------------+
*  18 |                        PSFTOD                         |
*     +-------------------------------------------------------+
*  20
*
*** PSFBK - PURGE SPOOL FILE CONTROL BLOCK

 

PSFBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
PSFFPNT        0000
PSFPRTQ        0004 20
PSFPUNQ        0004 40
PSFQUEUE       0004
PSFRDRQ        0004 80
PSFSIZE        0018 00000004
PSFSPID        0006
PSFSYSID       0008
PSFTOD         0018
PSFUSER        000C

This information is based on z/VM V3R1.0.
Last updated on 29 Mar 2001 at 16:28:41 EDT.
Copyright IBM Corporation, 1990, 2001