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

#### QSFBK

Prolog

Control Block Contents
QSFBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### QSFBK Prolog

     NAME       : HCPQSFBK
     DESCRIPTION: QUERY SPOOL FILES DESCRIPTOR BLOCK
     DSECT      : QSFBK
     FUNCTION   : TO CONTAIN QUERY CHARACTERISTICS FOR QUERY
                  FILES, RDR, PRT, PUN, NSS, IMG, UCR, TRF, AND
                  NLS COMMANDS
     LOCATED BY : HCPCQF - QUERY COMMAND PARSING
                  HCPCQP - QUERY RESPONSE HEADINGS
                  HCPSRQ - QUERY COMMAND PROCESSING
     CREATED BY : HCPCQF.BLDQSFBK - CALL HCPFREE TO ALLOCATE
                  WORK SPACE FOR COMMAND PROCESSING.
     DELETED BY : HCPCQF.SEARCHQ - RELEASE THE ALLOCATED STORAGE

#### QSFBK Control Block Content

#### QSFBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      QSFBK          QUERY SPOOL FILES DESCRIPTOR
                                            BLOCK
    0000    0 Bitstring    1 QSFSDCLS       saved distribution class
    0001    1 Bitstring    1 QSFPARM (3)    parameters for HCPSCS
    0004    4 Signed       4 *              reserved
    0008    8 Bitstring    1 QSFDEVF
              1... ....      QSFPRT         X'80' query prt specified
              .1.. ....      QSFRDR         X'40' query rdr specified
              ..1. ....      QSFPUN         X'20' query pun specified
              ...1 ....      QSFFILE        X'10' query files specified
    0009    9 Bitstring    1 QSFSYSF
              1... ....      QSFIMG         X'80' query img specified
              .1.. ....      QSFNSS         X'40' query nss specified
              ..1. ....      QSFUCR         X'20' query ucr specified
              ...1 ....      QSFSDF         X'10' query sdf specified
              .... 1...      QSFTRF         X'08' query trf specified
              .... .1..      QSFNLS         X'04' query nls specified
              1111 11..      QSFDATA        QSFSDF+QSFNSS+QSFIMG+QSFUCR+QSFTR
                                            F+QSFNLS
    000A   10 Bitstring    1 QSFOPTS2
              1... ....      QSFUID         X'80' specified userid
              .1.. ....      QSFSYS         X'40' system request(default
                                            class d)
              ..1. ....      QSFSPLAT       X'20' looking for own userid
              ...1 ....      QSFALTOW       X'10' alternate id keyword
              .... 1...      QSFUSRID       X'08' 'USERID' keyword
              1111 ....      QSFOPT2        QSFUID+QSFSYS+QSFSPLAT+QSFALTOW
                                            options2
    000B   11 Bitstring    1 QSFOPTS3
              1... ....      QSFCLASS       X'80' looking for matching class
              .1.. ....      QSFFORM        X'40' looking for formname
              ..1. ....      QSFSPID        X'20' looking for spoolid
              ...1 ....      QSFSDFA        X'10' sdf files with 'all'
              .... 1...      QSFNAME        X'08' looking for filename
              .... .1..      QSFMAYBE       X'04' possible spoolid
              .... ..1.      QSFUSERS       X'02' Looking for NSS users.
              .... ...1      QSFDEST        X'01' looking for destination
              1111 1.11      QSFOPT3        QSFCLASS+QSFFORM+QSFSPID+QSFSDFA+
                                            QSFNAME+QSFUSERS+QSFDES T ....
    000C   12 Bitstring    1 QSFOPTS4
              1... ....      QSFHLDY        X'80' looking for held files
              .1.. ....      QSFHLDN        X'40' looking for not-held files
              ..1. ....      QSFSYSY        X'20' looking for system held
                                            files
              ...1 ....      QSFUSERY       X'10' looking for user held files
              1111 ....      QSFOPT4        QSFHLDY+QSFHLDN+QSFSYSY+QSFUSERY
                                            options4
    000D   13 Bitstring    1 QSFOPTS5
              1... ....      QSFEXP         X'80' give expanded information
              .1.. ....      QSFXFER        X'40' looking for xferred files
              ..1. ....      QSFONE         X'20' found an option
              ...1 ....      QSFSCLAB       X'10' give format with SECLABEL
              .... 1...      QSFXFEE        X'08' looking for all prevown
                                            files
              .... .1..      QSFALL         X'04' looking for all spool files
              .... ..1.      QSFAVAIL       X'02' available files only
              .... ...1      QSFPSF         X'01' Give the PSF response
    000E   14 Bitstring    1 QSFOPTS6
              1... ....      QSFXUSER       X'80' count xferred files to
                                            userid
              .1.. ....      QSFXALL        X'40' looking for all xferred
                                            files
              ..1. ....      QSFHDR         X'20' a header has been sent
              ...1 ....      QSFEHDR        X'10' expanded hdr has been sent
    000F   15 Bitstring    1 QSFOPTS7
              1... ....      QSFMAP         X'80' map operand specified
              .1.. ....      QSFCOUNT       X'40' count operand specified
              ..1. ....      QSFENV         X'20' ENVIRONMENT operand
                                            specified
              ...1 ....      QSFATTR        X'10' ATTRIBUTES operand
                                            specified
    0010   16 Bitstring    1 QSFOPTS8
              1... ....      QSFSHODT       X'80' SHORTDATE response
                                            requested
              .1.. ....      QSFFULDT       X'40' FULLDATE response requested
              ..1. ....      QSFISODT       X'20' ISODATE response requested
              ...1 ....      QSFDIST        X'10' DIST option specified
              .... 1...      QSFNDIST       X'08' NODIST option specified
              111. ....      QSFDATFT       QSFSHODT+QSFFULDT+QSFISODT Date
                                            fmt requested
    0011   17 Bitstring    1 * (7)          Reserved for IBM use
    0018   24 Bitstring    1 QSFFLAG        queue indicator
              1... ....      QSFALLU        X'80' system queues
    0019   25 Bitstring    1 QSFSFLG        searchq indicator
              1... ....      QSFSON         X'80' return to searchq
              .1.. ....      QSFERR         X'40' send error response
    001A   26 Bitstring    1 QSFGIVEN       option previously given for
                                            checking conflicting options
    001B   27 Bitstring    1 QSFCQP         Parameters to HCPCQP
    001C   28 Signed       4 QSFRDRC        count of reader files
    0020   32 Signed       4 QSFPRTC        count of print files
    0024   36 Signed       4 QSFPUNC        count of punch files
    0028   40 Signed       2 QSFNSSC        count of nss files
    002A   42 Signed       2 QSFIMGC        count of img files
    002C   44 Signed       2 QSFUCRC        count of ucr files
    002E   46 Signed       2 QSFTRFC        count of TRFiles
    0030   48 Signed       2 QSFNLSC        count of NLS files
    0032   50 Bitstring    1 QSFCTYPE       VMDCTYPE of command issuer
    0033   51 Bitstring    1 QSFCLFLG       Command version executed for ACI
    0034   52 Signed       4 QSFENTRY       user's filid table entry
    0038   56 Signed       4 QSFSQUE        address of system queue
    003C   60 Signed       4 QSFSYSID       system spoolid for scan
              00000040       QSFCHARF       * Start of character fields
    0040   64 Dbl-Word     8 QSFSDEST       Saved DEST value
    0048   72 Dbl-Word     8 QSFSUSER       Saved userid
    0050   80 Dbl-Word     8 QSFSUSID       Save the issuer's userid
    0058   88 Dbl-Word     8 QSFXUID        Saved xferred userid
    0060   96 Dbl-Word     8 QSFSFORM       Saved form name or number
    0068  104 Dbl-Word     8 QSFSNAME       Saved filename
    0070  112 Character    8 QSFALTID       VMDALTID, if specified
              00000037       QSFCLEAR       (*-QSFCHARF)-1 Length to clear to
                                            blanks
              0000000F       QSFSIZE        (*-QSFBK+7)/8 size of QSFBK in
                                            dblwords
    0001    1 Bitstring    1 QSFQUE         file queue flags
    0002    2 Signed       2 QSFSSPID       saved spoolid

#### QSFBK Storage Layout

    *** QSFBK - QUERY SPOOL FILES DESCRIPTOR BLOCK
    *
    *     +------+--------------------+---------------------------+
    *   0 |:SDCLS|      QSFPARM       |///////////////////////////|
    *     +------+------+------+------+------+------+------+------+
    *   8 |:DEVF |:SYSF |:OPTS2|:OPTS3|:OPTS4|:OPTS5|:OPTS6|:OPTS7|
    *     +------+------+------+------+------+------+------+------+
    *  10 |:OPTS8|////////////////////////////////////////////////|
    *     +------+------+------+------+---------------------------+
    *  18 |:FLAG |:SFLG |:GIVEN|QSFCQP|         QSFRDRC           |
    *     +------+------+------+------+---------------------------+
    *  20 |         QSFPRTC           |         QSFPUNC           |
    *     +-------------+-------------+-------------+-------------+
    *  28 |  QSFNSSC    |  QSFIMGC    |  QSFUCRC    |  QSFTRFC    |
    *     +-------------+------+------+-------------+-------------+
    *  30 |  QSFNLSC    |:CTYPE|:CLFLG|         QSFENTRY          |
    *     +-------------+------+------+---------------------------+
    *  38 |         QSFSQUE           |         QSFSYSID          |
    *     +---------------------------+---------------------------+
    *  40 |                       QSFSDEST                        |
    *     +-------------------------------------------------------+
    *  48 |                       QSFSUSER                        |
    *     +-------------------------------------------------------+
    *  50 |                       QSFSUSID                        |
    *     +-------------------------------------------------------+
    *  58 |                       QSFXUID                         |
    *     +-------------------------------------------------------+
    *  60 |                       QSFSFORM                        |
    *     +-------------------------------------------------------+
    *  68 |                       QSFSNAME                        |
    *     +-------------------------------------------------------+
    *  70 |                       QSFALTID                        |
    *     +-------------------------------------------------------+
    *  78
    *
    *** QSFBK - QUERY SPOOL FILES DESCRIPTOR BLOCK

    *** Overlay for QSFPARM in QSFBK
    *
    *            +------+-------------+
    *   0 ..   1 |QSFQUE|  QSFSSPID   | 4
    *            +------+-------------+
    *
    *** Overlay for QSFPARM in QSFBK

#### QSFBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    QSFALL         000D 04
    QSFALLU        0018 80
    QSFALTID       0070
    QSFALTOW       000A 10
    QSFATTR        000F 10
    QSFAVAIL       000D 02
    QSFCHARF       003C 00000040
    QSFCLASS       000B 80
    QSFCLEAR       0070 00000037
    QSFCLFLG       0033
    QSFCOUNT       000F 40
    QSFCQP         001B
    QSFCTYPE       0032
    QSFDATA        0009 FC
    QSFDATFT       0010 E0
    QSFDEST        000B 01
    QSFDEVF        0008
    QSFDIST        0010 10
    QSFEHDR        000E 10
    QSFENTRY       0034
    QSFENV         000F 20
    QSFERR         0019 40
    QSFEXP         000D 80
    QSFFILE        0008 10
    QSFFLAG        0018
    QSFFORM        000B 40
    QSFFULDT       0010 40
    QSFGIVEN       001A
    QSFHDR         000E 20
    QSFHLDN        000C 40
    QSFHLDY        000C 80
    QSFIMG         0009 80
    QSFIMGC        002A
    QSFISODT       0010 20
    QSFMAP         000F 80
    QSFMAYBE       000B 04
    QSFNAME        000B 08
    QSFNDIST       0010 08
    QSFNLS         0009 04
    QSFNLSC        0030
    QSFNSS         0009 40
    QSFNSSC        0028
    QSFONE         000D 20
    QSFOPTS2       000A
    QSFOPTS3       000B
    QSFOPTS4       000C
    QSFOPTS5       000D
    QSFOPTS6       000E
    QSFOPTS7       000F
    QSFOPTS8       0010
    QSFOPT2        000A F0
    QSFOPT3        000B FB
    QSFOPT4        000C F0
    QSFPARM        0001
    QSFPRT         0008 80
    QSFPRTC        0020
    QSFPSF         000D 01
    QSFPUN         0008 20
    QSFPUNC        0024
    QSFQUE         0001
    QSFRDR         0008 40
    QSFRDRC        001C
    QSFSCLAB       000D 10
    QSFSDCLS       0000
    QSFSDEST       0040
    QSFSDF         0009 10
    QSFSDFA        000B 10
    QSFSFLG        0019
    QSFSFORM       0060
    QSFSHODT       0010 80
    QSFSIZE        0070 0000000F
    QSFSNAME       0068
    QSFSON         0019 80
    QSFSPID        000B 20
    QSFSPLAT       000A 20
    QSFSQUE        0038
    QSFSSPID       0002
    QSFSUSER       0048
    QSFSUSID       0050
    QSFSYS         000A 40
    QSFSYSF        0009
    QSFSYSID       003C
    QSFSYSY        000C 20
    QSFTRF         0009 08
    QSFTRFC        002E
    QSFUCR         0009 20
    QSFUCRC        002C
    QSFUID         000A 80
    QSFUSERS       000B 02
    QSFUSERY       000C 10
    QSFUSRID       000A 08
    QSFXALL        000E 40
    QSFXFEE        000D 08
    QSFXFER        000D 40
    QSFXUID        0058
    QSFXUSER       000E 80

This information is based on z/VM V4R3.0. Last updated on 30 Apr 2002 at 17:26:14 EDT.
Copyright IBM Corporation, 1990, 2002