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

#### PARSERCB

Prolog

Control Block Contents
PARSERCB DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### PARSERCB Prolog

     Name       : PARSERCB - Parser Control Block mapping
     Description: Interface to the Parsing Facility
     DSECT      : PARSERCB
     Notes      : Bilingual:  PL/AS & ASSEMBLER F
     Function   : The PARSERCB contains the following
                  data areas and addresses for arguments
                  specified on the PARSECMD macro, and provides
                  back the addresses of the results of the
                  Parsing Facility.

#### PARSERCB Control Block Content

#### PARSERCB DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      PARSERCB       Interface to the Parsing Facility
    0000    0 Character    8 PARNAME        Parser entry point 'DMSPAR'
    0008    8 Address      4 PARTOKIN       Input tokenized plist address
    000C   12 Address      4 PARTOKPT       Parsed (translated) tokenized
                                            plist address
    0010   16 Address      4 PAREPLIN       Input extended plist address
    0014   20 Address      4 PAREPLPT       Parsed (translated) extended
                                            plist address
    0018   24 Bitstring    1 PARPTYPE       F*1 Plist Type - High order byte
                                            of R1
    0019   25 Bitstring    1 PARTRANS       F*2 Translation flag
              1... ....      PARTRYES       X'80' Translation = YES (national
                                            lang)
              .1.. ....      PARTRNO        X'40' Translation = NO (system
                                            lang)
              ..1. ....      PARTRSAM       X'20' Translation = SAME (system
                                            = national)
              ...1 ....      PARSFLG        X'10' Parsflg specified
              .... 1...      PARUPYES       X'08' Uppercase tokenized plist
              .... .1..      PARUPNO        X'04' Copy tokenized plist from
                                            eplist
              .... ..1.      PARCALT        X'02' CALLTYP specified
    001A   26 Bitstring    1 PARMSG         F*3 Message disposition
              .... ....      PARMSGER       X'00' Message disposition ERRMSG
              .... ..1.      PARMSGNO       X'02' Message disposition NONE
              .... .1..      PARMSGXC       X'04' Message disposition EXECOMM
    001B   27 Bitstring    1 *              F*4 reserved The Parser
                                            Validation Code (PVC) table
                                            contains the address, length, and
                                            type code of every parsed token.
    001C   28 Address      4 PARPVCAD       PVC table address
    0020   32 Signed       4 PARPVCNM       Number of entries in PVC table
                                            The first byte of this buffer is
                                            its length, which is replaced
                                            with the length of any message
                                            filled in. If the address is
                                            zero, no buffer is provided.
    0024   36 Address      4 PARMSGAD       Message buffer address
    0028   40 Character   16 PARUNQID       Syntax definition unique id
    0038   56 Character    3 PARAPLID       Application identifier
    003B   59 Bitstring    5 *              reserved
              00000040       PARLENBY       *-PARSERCB Length of PARSERCB in
                                            bytes
              00000008       PARLENDW       (PARLENBY+7)/8 Length of PARSERCB
                                            in dwords

#### PARSERCB Storage Layout

    *** PARSERCB - Interface to the Parsing Facility
    *
    *     +-------------------------------------------------------+
    *   0 |                       PARNAME                         |
    *     +---------------------------+---------------------------+
    *   8 |         PARTOKIN          |         PARTOKPT          |
    *     +---------------------------+---------------------------+
    *  10 |         PAREPLIN          |         PAREPLPT          |
    *     +------+------+------+------+---------------------------+
    *  18 |:PTYPE|:TRANS|PARMSG|//////|         PARPVCAD          |
    *     +------+------+------+------+---------------------------+
    *  20 |         PARPVCNM          |         PARMSGAD          |
    *     +---------------------------+---------------------------+
    *  28 |                       PARUNQID                        |
    *     |                                                       |
    *     +--------------------+----------------------------------+
    *  38 |     PARAPLID       |//////////////////////////////////|
    *     +--------------------+----------------------------------+
    *  40
    *
    *** PARSERCB - Interface to the Parsing Facility

#### PARSERCB Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    PARAPLID       0038
    PARCALT        0019 02
    PAREPLIN       0010
    PAREPLPT       0014
    PARLENBY       003B 00000040
    PARLENDW       003B 00000008
    PARMSG         001A
    PARMSGAD       0024
    PARMSGER       001A 00
    PARMSGNO       001A 02
    PARMSGXC       001A 04
    PARNAME        0000
    PARPTYPE       0018
    PARPVCAD       001C
    PARPVCNM       0020
    PARSFLG        0019 10
    PARTOKIN       0008
    PARTOKPT       000C
    PARTRANS       0019
    PARTRNO        0019 40
    PARTRSAM       0019 20
    PARTRYES       0019 80
    PARUNQID       0028
    PARUPNO        0019 04
    PARUPYES       0019 08

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