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

#### VPXBK

Prolog

Control Block Contents
VPXBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### VPXBK Prolog

     NAME       : HCPVPXBK
     DESCRIPTION: VIRTUAL PRINTER EXTENSION BLOCK
     DSECT      : VPXBK
     FUNCTION   : THIS CONTROL BLOCK CONTAINS INFORMATION SPECIFIC
                  TO VIRTUAL 3800 PRINTERS.
     LOCATED BY : VDEVVPX    FIELD OF HCPVDEV
     CREATED BY : HCPVDSDF - WHILE DEFINING A VIRTUAL DEVICE.
     DELETED BY : HCPVDBDL - WHEN DELETING A VIRTUAL DEVICE.

#### VPXBK Control Block Content

#### VPXBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      VPXBK          VIRTUAL PRINTER EXTENSION BLOCK
    0000    0 Signed       4 * (0)
    0000    0 Signed       2 VPXLCNT        CURRENT LINE NUMBER
    0002    2 Signed       2 VPXPAGID       CHANNEL PAGE ID
    0004    4 Signed       2 VPXLODCK       RELATIVE DISPLACEMENT FOR LOAD
                                            CHECKS
    0006    6 Bitstring    1 VPXWIDTH       CODE FOR FORMS WIDTH
    0007    7 Bitstring    1 VPXLENTH       CODE FOR FORMS LENGTH
    0008    8 Bitstring    1 VPXWCGM0       CONTENTS OF WCGM 0
    0009    9 Bitstring    1 VPXWCGM1       CONTENTS OF WCGM 1
    000A   10 Bitstring    1 VPXWCGM2       CONTENTS OF WCGM 2
    000B   11 Bitstring    1 VPXWCGM3       CONTENTS OF WCGM 3
    000C   12 Bitstring    1 VPXFLAG1       FEATURES/MISCELLANEOUS FLAGS
              1... ....      VPXTT0V        X'80' VPXTT0V TRANSLATE TABLE 0
                                            IS VALID
              .1.. ....      VPXTT1V        X'40' VPXTT1V TRANSLATE TABLE 1
                                            IS VALID
              ..1. ....      VPXTT2V        X'20' VPXTT2V TRANSLATE TABLE 2
                                            IS VALID
              ...1 ....      VPXTT3V        X'10' VPXTT3V TRANSLATE TABLE 3
                                            IS VALID
              .... 1...      VPXBTS         X'08' VPXBTS
                                            BURSTER-TRIMMER-STACKER FEATURE
              .... .1..      VPX4WCGM       X'04' VPX4WCGM 4-WCGM FEATURE
                                            INSTALLED
              .... ..1.      VPXBLKDC       X'02' VPXBLKDC DATA CHECKS SHOULD
                                            BE BLOCKED
              .... ...1      VPXALLDC       X'01' VPXALLDC REFLECT ALL DATA
                                            CHECKS
    000D   13 Bitstring    1 VPXFLAG2       SIMULATION CONTROLS
              1... ....      VPXCLPRS       X'80' VPXCLPRS 'CLR PRT'
                                            SUPPRESSED ON LOAD CCW
              .1.. ....      VPXBIGBF       X'40' VPXBIGBF LARGE BUFFER IN
                                            USE
              ..1. ....      VPXOVPRT       X'20' VPXOVPRT CHECK NEXT LINE
                                            FOR OVERPRINT
              ...1 ....      VPXNORML       X'10' VPXNORML CURRENT CCW IS NOT
                                            A LOAD CCW
              .... 1...      VPXLFCB        X'08' VPXLFCB A 'LOAD FCB' HAS
                                            BEEN ISSUED
    000E   14 Bitstring    1 VPXCURTT       CURRENT TRANSLATE TABLE
    000F   15 Bitstring    1 VPXSVCCW       CURRENT CCW COMMAND CODE
    0010   16 Signed       4 * (0)
    0010   16 Signed       4 VPXIBUFC       DATA COUNT FOR INTERMEDIATED
                                            BUFFER
    0014   20 Bitstring  144 VPXFCB         FCB CURRENTLY LOADED
    00A4  164 Bitstring   24 VPXINTBF (0)   INTERMEDIATE BUFFER SUBFIELDS IN
                                            3800 INTERMEDIATE BUFFER IN
                                            RESPONSE TO THE REQUEST PRINTER
                                            INFORMATION ORDER CODE OF THE
                                            EXECUTE ORDER CONTROL CCW.
    00A4  164 Signed       2 VPXBCPID       CHANNEL PAGE ID
    00A6  166 Signed       2 VPXBLINP       FCB LINE POSITION
    00A8  168 Signed       2 VPXBSPID       STACKED PAGE ID
    00AA  170 Signed       2 VPXBFPID       FUSER PAGE ID
    00AC  172 Signed       2 VPXBTPID       TRANSFER PAGE ID
    00AE  174 Bitstring    1 VPXBFWTH       FORMS WIDTH CODE
    00AF  175 Bitstring    1 VPXBFLNG       LENGTH OF CURR PAGE (1/2 IN)
    00B0  176 Bitstring    4 VPXBWCGS (0)   WCGMS 0-3 IDS
    00B0  176 Bitstring    1 VPXBWCG0       WCGM 0 ID
    00B1  177 Bitstring    1 VPXBWCG1       WCGM 1 ID
    00B2  178 Bitstring    1 VPXBWCG2       WCGM 2 ID
    00B3  179 Bitstring    1 VPXBWCG3       WCGM 3 ID
    00B4  180 Bitstring    1 VPXBFTR        FEATURES
              .... 1...      VPXB4WCG       X'08' VPXB4WCG 4 WCGM INSTALLED
              .... .1..      VPXBBTS        X'04' VPXBBTS BTS INSTALLED
    00B5  181 Bitstring    3 *
    00B8  184 Bitstring    1 VPXBSTG        STORAGE SIZE, 3800-3
              00000031       VPXBSTGS       X'31' VPXBSTGS DEFAULT STORAGE
                                            SIZE,3800-3
    00B9  185 Bitstring    1 *
    00BA  186 Bitstring    1 VPXBPLNI       PAPER LINE INFO, 3800-3
              .... ...1      VPXBBTS3       X'01' VPXBBTS3 BTS INSTALLED
                                            3800-3
    00BB  187 Bitstring    1 *
    00BC  188 Bitstring  256 VPXTRT0        BYTE MAP FOR UNPRINTABLE
    01BC  444 Bitstring  256 VPXTRT1        CHARACTERS FOR EACH
    02BC  700 Bitstring  256 VPXTRT2        OF THE POSSIBLE
    03BC  956 Bitstring  256 VPXTRT3        TRANSLATE TABLES
    04BC 1212 Bitstring  204 VPXOVMAP       MAP FOR OVERPRINT DETECTION
              000000B1       VPXSIZE        (*-VPXBK+7)/8 BLOCK SIZE IN
                                            DBL-WORDS
              00000008       VPXWCGMS       VPXWCGM0,4 WCGM CODES DEFINED
              00000014       VPXFCB1        VPXFCB,1 1ST BYTE OF FCB
              0000000F       VPXFCBND       VPXFCB-5 6 BYTES BEFORE END OF
                                            FCB

#### VPXBK Storage Layout

    *** VPXBK - VIRTUAL PRINTER EXTENSION BLOCK
    *
    *     +-------------+-------------+-------------+------+------+
    *   0 |  VPXLCNT    |  VPXPAGID   |  VPXLODCK   |:WIDTH|:LENTH|
    *     +------+------+------+------+------+------+------+------+
    *   8 |:WCGM0|:WCGM1|:WCGM2|:WCGM3|:FLAG1|:FLAG2|:CURTT|:SVCCW|
    *     +------+------+------+------+------+------+------+------+
    *  10 |         VPXIBUFC          |                           |
    *     +---------------------------+                           |
    *  18 |                                                       |
    *     =                        VPXFCB                         =
    *     |                           +-------------+-------------+
    *  A0 |                           |  VPXBCPID   |  VPXBLINP   |
    *     +-------------+-------------+-------------+------+------+
    *  A8 |  VPXBSPID   |  VPXBFPID   |  VPXBTPID   |:BFWTH|:BFLNG|
    *     +------+------+------+------+------+------+------+------+
    *  B0 |:BWCG0|:BWCG1|:BWCG2|:BWCG3|:BFTR |////////////////////|
    *     +------+------+------+------+------+--------------------+
    *  B8 |:BSTG |//////|:BPLNI|//////|                           |
    *     +------+------+------+------+                           |
    *  C0 |                                                       |
    *     =                       VPXTRT0                         =
    *     |                           +---------------------------+
    *     |                           |                           |
    *     +---------------------------+                           |
    * 1C0 |                                                       |
    *     =                       VPXTRT1                         =
    *     |                           +---------------------------+
    *     |                           |                           |
    *     +---------------------------+                           |
    * 2C0 |                                                       |
    *     =                       VPXTRT2                         =
    *     |                           +---------------------------+
    *     |                           |                           |
    *     +---------------------------+                           |
    * 3C0 |                                                       |
    *     =                       VPXTRT3                         =
    *     |                           +---------------------------+
    *     |                           |                           |
    *     +---------------------------+                           |
    * 4C0 |                                                       |
    *     =                       VPXOVMAP                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 588
    *
    *** VPXBK - VIRTUAL PRINTER EXTENSION BLOCK

#### VPXBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    VPXALLDC       000C 01
    VPXBBTS        00B4 04
    VPXBBTS3       00BA 01
    VPXBCPID       00A4
    VPXBFLNG       00AF
    VPXBFPID       00AA
    VPXBFTR        00B4
    VPXBFWTH       00AE
    VPXBIGBF       000D 40
    VPXBLINP       00A6
    VPXBLKDC       000C 02
    VPXBPLNI       00BA
    VPXBSPID       00A8
    VPXBSTG        00B8
    VPXBSTGS       00B8 00000031
    VPXBTPID       00AC
    VPXBTS         000C 08
    VPXBWCGS       00B0
    VPXBWCG0       00B0
    VPXBWCG1       00B1
    VPXBWCG2       00B2
    VPXBWCG3       00B3
    VPXB4WCG       00B4 08
    VPXCLPRS       000D 80
    VPXCURTT       000E
    VPXFCB         0014
    VPXFCBND       04BC 0000000F
    VPXFCB1        04BC 00000014
    VPXFLAG1       000C
    VPXFLAG2       000D
    VPXIBUFC       0010
    VPXINTBF       00A4
    VPXLCNT        0000
    VPXLENTH       0007
    VPXLFCB        000D 08
    VPXLODCK       0004
    VPXNORML       000D 10
    VPXOVMAP       04BC
    VPXOVPRT       000D 20
    VPXPAGID       0002
    VPXSIZE        04BC 000000B1
    VPXSVCCW       000F
    VPXTRT0        00BC
    VPXTRT1        01BC
    VPXTRT2        02BC
    VPXTRT3        03BC
    VPXTT0V        000C 80
    VPXTT1V        000C 40
    VPXTT2V        000C 20
    VPXTT3V        000C 10
    VPXWCGMS       04BC 00000008
    VPXWCGM0       0008
    VPXWCGM1       0009
    VPXWCGM2       000A
    VPXWCGM3       000B
    VPXWIDTH       0006
    VPX4WCGM       000C 04

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 09:23:55 EDT.
Copyright IBM Corporation, 1990, 2008