PSFBK | Back to Index page

| Prolog Control Block Contents PSFBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

PSFBK Prolog | Top of page

     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
     RELOCATION CONSIDERATIONS : None
     HISTORY    : This control block was created with @S712158.

PSFBK Control Block Content | Top of page

     PSFBK DSECT
    Top of page

    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' PSFRDRQ File is on the
                                            reader queue
              .1.. ....      PSFPUNQ        X'40' PSFPUNQ File is on the
                                            punch queue
              ..1. ....      PSFPRTQ        X'20' PSFPRTQ 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 | Top of page

    *** 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 | Top of page

    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 7.2.0 Last updated on 24 Jun 2020 at 09:29:45 EDT.
Copyright IBM Corporation, 1990, 2020