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

#### IUSBK

Prolog

Control Block Contents
IUSBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### IUSBK Prolog

     NAME       : HCPIUSBK
     DESCRIPTION: IUCV WORK AREA MAPPING MACRO
     DSECT      : IUSBK
     FUNCTION   : TO PASS INFORMATION BETWEEN IUCV ENTRY POINTS.
     LOCATED BY : SEE ENTRY POINT REGISTERS
     CREATED BY : HCPIUAVM, HCPIUAIU, OR HCPIUACP
     DELETED BY : CREATOR (SEE ABOVE)

#### IUSBK Control Block Content

#### IUSBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      IUSBK          IUCV WORK AREA MAPPING MACRO
         **** THE VALUE OF IPSIZE FOR DATAMAP IS 5
    0000    0 Dbl-Word     8 IUSPARMS (5)   PARM LIST - TEMP DATAMAP FIX
    0028   40 Address      4 IUSLOCKA       IUCV LOCKWORD ADDRESS
    002C   44 Address      4 IUSCCT         CCTBK ADDRESS
    0030   48 Signed       4 IUSTRCID       TRACE CODE
    0034   52 Bitstring    1 IUSCCODE       CP CONDITION CODE
    0035   53 Bitstring    1 IUSFCODE       TRACE SUBTYPE
    0036   54 Bitstring    1 IUSAWTCC       APPC/VM WAIT RETURNED COND. CODE
    0037   55 Bitstring    1 *
    0038   56 Address      4 IUSDCRA        DETAILED CONNECT REQUEST BK ADDR
    003C   60 Address      4 IUSCPEBK       CPEBK ADDRESS IUSTRACE MUST BE ON
                                            A FULLWORD BOUNDRY
    0040   64 Bitstring   20 IUSTRACE (0)   TRACE TABLE ENTRY
    0040   64 Address      4 IUSIUCV        IUCVB ADDRESS
    0044   68 Bitstring    1 IUSMASK (0)    MASK FIELD
    0044   68 Bitstring    1 IUSCC (0)      CONDITON CODE FROM TESTMSG
    0044   68 Signed       2 IUSPATH        PATH ID
    0046   70 Bitstring    1 IUSRCODE       RETURN CODE
    0047   71 Bitstring    1 IUSFLAGS       IUCV INPUT FLAGS
    0048   72 Bitstring    1 IUSSTATE (0)   CURRENT APPC STATE
    0048   72 Bitstring    1 IUSFNSTA (0)   APPC FUNCTION STATUS BITS
              00000080       IUSFNENT       X'80' IUSFNENT ENTERING APPCVM
                                            WAIT
              00000040       IUSFNEXI       X'40' IUSFNEXI EXITING APPCVM
                                            WAIT
    0048   72 Signed       2 IUSIBUFL (0)   IPOLL DATA BUFFER LENGTH
    0048   72 Bitstring    1 IUSCPSYS       CP SYSTEM SERVICE
    0049   73 Bitstring    1 IUSFLGS2       APPC INPUT FLAGS
    004A   74 Signed       2 IUSOBUFL (0)   IPOLL OUTPUT DATA LENGTH
    004A   74 Bitstring    1 IUSWHTRC       APPC WHAT RECEIVED CODE
    004B   75 Bitstring    1 IUSFLAGT (0)   FLAGS INCLUDED IN IUCV TRACES
              1... ....      IUSFRMCP       X'80' IUSFRMCP INDICATES A CALL
                                            FROM CP
    004B   75 Bitstring    1 IUSSNDOP       APPC SEND OPTION CODE
    004C   76 Bitstring    1 IUSSNDO2 (0)   APPC SEND OPTION CODE 2
    004C   76 Address      4 IUSMSGBK (0)   MSGBLOK ADDRESS
    004C   76 Address      4 IUSBUFF (0)    DCLBFR OR IPOLL BUFFER ADDRESS
    004C   76 Signed       2 IUSIPSIZ (0)   PARMLIST SIZE FROM QUERY
    004C   76 Bitstring    1 IUSSIPCD       SYNCPOINT IN PROGRESS RESET CODE
    004D   77 Bitstring    1 IUSSIPFG       SYNCPOINT IN PROGRESS FLAG OUTPUT
    004E   78 Signed       2 IUSMXCN (0)    MAXIMUM CONNECT FROM QUERY
    004E   78 Bitstring    1 IUSSPCMD       SYNC POINT CONTROL MODIFIER
    004F   79 Bitstring    1 IUSSYCLV       SYNC LEVEL FOR THE PATH
    0050   80 Address      4 IUSINSTR       IUCV INSTRUCTION ADDRESS END OF
                                            TRACE TABLE ENTRY
    0054   84 Address      4 IUSPAGE1       VIRTUAL ADDR OF PAGE ONE
    0058   88 Address      4 IUSPAGE2       VIRTUAL ADDR OF PAGE TWO
    005C   92 Signed       2 IUSLEN1        LENGTH IN IUSPAGE1 - 1
    005E   94 Signed       2 IUSLEN2        LENGTH IN IUSPAGE2 - 1
    0060   96 Bitstring    1 IUSFLAG2
              1... ....      IUSCPENT       X'80' IUSCPENT INDICATES CP ENTRY
              .1.. ....      IUSWAIT        X'40' IUSWAIT WAIT FOR APPC
                                            COMPLETION
              ..1. ....      IUSSAVE        X'20' IUSSAVE ADDRESS OF DCRBK
                                            FOR SUSP. CONN.
              ...1 ....      IUSPDINV       X'10' IUSPDINV CLEAN UP SEVER
                                            ALREADY COMPLETED
              .... 1...      IUSKEEP        X'08' IUSKEEP SEVER KEEP=YES
                                            SPECIFIED
              .... .1..      IUSSNCIP       X'04' IUSSNCIP SYNCPOINT IN
                                            PROGRESS
    0061   97 Bitstring    3 *              RESERVED
    0064  100 Signed       4 IUSAVWRK (4)   savework area of 4 fullwords
              0000000F       IUSSIZE        (*-IUSBK+7)/8 IUSBK SIZE IN
                                            DOUBLEWORDS

#### IUSBK Storage Layout

    *** IUSBK - IUCV WORK AREA MAPPING MACRO
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       IUSPARMS                        =
    *     |                                                       |
    *     +---------------------------+---------------------------+
    *  28 |         IUSLOCKA          |          IUSCCT           |
    *     +---------------------------+------+------+------+------+
    *  30 |         IUSTRCID          |:CCODE|:FCODE|:AWTCC|//////|
    *     +---------------------------+------+------+------+------+
    *  38 |         IUSDCRA           |         IUSCPEBK          |
    *     +---------------------------+-------------+------+------+
    *  40 |         IUSIUCV           |  IUSPATH    |:RCODE|:FLAGS|
    *     +------+------+------+------+------+------+------+------+
    *  48 |:CPSYS|:FLGS2|:WHTRC|:SNDOP|:SIPCD|:SIPFG|:SPCMD|:SYCLV|
    *     +------+------+------+------+------+------+------+------+
    *  50 |         IUSINSTR          |         IUSPAGE1          |
    *     +---------------------------+-------------+-------------+
    *  58 |         IUSPAGE2          |  IUSLEN1    |  IUSLEN2    |
    *     +------+--------------------+-------------+-------------+
    *  60 |:FLAG2|////////////////////|                           |
    *     +------+--------------------+                           |
    *     |                       IUSAVWRK                        |
    *     |                           +---------------------------+
    *     |                           | 74
    *     +---------------------------+
    *
    *** IUSBK - IUCV WORK AREA MAPPING MACRO

#### IUSBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    IUSAVWRK       0064
    IUSAWTCC       0036
    IUSBUFF        004C
    IUSCC          0044
    IUSCCODE       0034
    IUSCCT         002C
    IUSCPEBK       003C
    IUSCPENT       0060 80
    IUSCPSYS       0048
    IUSDCRA        0038
    IUSFCODE       0035
    IUSFLAGS       0047
    IUSFLAGT       004B
    IUSFLAG2       0060
    IUSFLGS2       0049
    IUSFNENT       0048 00000080
    IUSFNEXI       0048 00000040
    IUSFNSTA       0048
    IUSFRMCP       004B 80
    IUSIBUFL       0048
    IUSINSTR       0050
    IUSIPSIZ       004C
    IUSIUCV        0040
    IUSKEEP        0060 08
    IUSLEN1        005C
    IUSLEN2        005E
    IUSLOCKA       0028
    IUSMASK        0044
    IUSMSGBK       004C
    IUSMXCN        004E
    IUSOBUFL       004A
    IUSPAGE1       0054
    IUSPAGE2       0058
    IUSPARMS       0000
    IUSPATH        0044
    IUSPDINV       0060 10
    IUSRCODE       0046
    IUSSAVE        0060 20
    IUSSIPCD       004C
    IUSSIPFG       004D
    IUSSIZE        0064 0000000F
    IUSSNCIP       0060 04
    IUSSNDOP       004B
    IUSSNDO2       004C
    IUSSPCMD       004E
    IUSSTATE       0048
    IUSSYCLV       004F
    IUSTRACE       0040
    IUSTRCID       0030
    IUSWAIT        0060 40
    IUSWHTRC       004A

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