Programming Interface Information: This page documents intended Programming Interfaces that allow the customer to write programs to obtain the services of z/VM.

#### DD8PARM0

Prolog

Control Block Contents
DD8PARM0 DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### DD8PARM0 Prolog

     NAME       : DD8PARM0
     DESCRIPTION: Parameter List Dsect for HCPSFB
     DSECT      : DD8PARM0
     FUNCTION   : To contain Parameters needed as input by HCPSFB
                  (Diag. D8).
     CREATED BY : Any Module prior to execution of Diag X'D8'.
     DELETED BY : The Module that created it.

#### DD8PARM0 Control Block Content

#### DD8PARM0 DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      DD8PARM0       Parameter List Dsect for HCPSFB
    0000    0 Signed       2 DD8PSPID       Spool file ID of the previous
                                            file
    0002    2 Signed       2 DD8PCODE       Subfunction code
    0004    4 Signed       4 DD8PBUF        Users Buffer address
    0008    8 Character    8 DD8PUSER       Owner of file if selecting by
                                            user
    0010   16 Bitstring    1 DD8PTYPE       Queue to search (RDR|PRT|PUN)
              1... ....      DD8PRINT       X'80' Scan the Print Queue
              .1.. ....      DD8PUNCH       X'40' Scan the Punch Queue
              ..1. ....      DD8READ        X'20' Scan the Reader Queue
    0011   17 Bitstring    1 DD8PSIZE       Size of Users buffer in DWORDS
    0012   18 Bitstring    1 DD8PCFLG       Control byte
              1... ....      DD8ANYVM       X'80' Get next file on 'SYSTEM'
                                            Queue
              .... ....      DD8USRVM       X'00' Get next file on 'USER'
                                            Queue
    0013   19 Bitstring    5 DD8PRSVD       Reserved, must be 0
              00000018       DD8BSZ         *-DD8PARM0 Size of Parm List in
                                            Bytes
              00000003       DD8DSZ         (*-DD8PARM0+7)/8 Size of Parm
                                            List in Dwords
              00000014       DD8DFSZ        20 Default size of Buffer
                                            (DWORDS)

#### DD8PARM0 Storage Layout

    *** DD8PARM0 - Parameter List Dsect for HCPSFB
    *
    *     +-------------+-------------+---------------------------+
    *   0 |  DD8PSPID   |  DD8PCODE   |         DD8PBUF           |
    *     +-------------+-------------+---------------------------+
    *   8 |                       DD8PUSER                        |
    *     +------+------+------+----------------------------------+
    *  10 |:PTYPE|:PSIZE|:PCFLG|            DD8PRSVD              |
    *     +------+------+------+----------------------------------+
    *  18
    *
    *** DD8PARM0 - Parameter List Dsect for HCPSFB

#### DD8PARM0 Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    DD8ANYVM       0012 80
    DD8BSZ         0013 00000018
    DD8DFSZ        0013 00000014
    DD8DSZ         0013 00000003
    DD8PBUF        0004
    DD8PCFLG       0012
    DD8PCODE       0002
    DD8PRINT       0010 80
    DD8PRSVD       0013
    DD8PSIZE       0011
    DD8PSPID       0000
    DD8PTYPE       0010
    DD8PUNCH       0010 40
    DD8PUSER       0008
    DD8READ        0010 20
    DD8USRVM       0012 00

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 16:38:40 EDT.
Copyright IBM Corporation, 1990, 2005