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

#### IMMBLOK

Prolog

Control Block Contents
IMMBLOK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### IMMBLOK Prolog

     Name       : IMMBLOK
     Description: Immediate Command Support
     DSECT      : IMMBLOK
     Function   : Mapping macro which maps information describing
                  the characteristics of an immediate command.
                  This block is created whenever an immediate
                  command is established; it contains information
                  about the immediate command. IMMBLOK is called
                  by the IMMBLOK macro.

#### IMMBLOK Control Block Content

#### IMMBLOK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      IMMBLOK        Immediate Command Support
              00000000       IMMNEXTD       *-IMMBLOK IMMNEXT DISP INTO
                                            IMMBLOK
    0000    0 Address      4 IMMNEXT        POINTER TO NEXT IMMBLOK
              .... .1..      IMMNEXTL       4 LENGTH OF IMMNEXT FIELD
    0004    4 Signed       4 IMMUWORD       USER WORD
    0008    8 Character    8 IMMNAME        IMMEDIATE COMMAND NAME
    0010   16 Bitstring    1 IMMFLAG1       FLAGS
              1... ....      IMMSYS         X'80' IMMEDIATE COMMAND IS A
                                            NUCLEUS EXTENSION WITH SYSTEM
                                            ATTRIBUTE
              .1.. ....      IMMCOUNT       X'40' IMMEDIATE COMMAND
                                            ESTABLISHED VIA IMMCMD COMMAND
              ..1. ....      IMMNUCX        X'20' IMMEDIATE COMMAND IS A
                                            NUCLEUS EXTENSION
              ...1 ....      IMMAM31        X'10' AMODE OF EXIT IS AMODE 31
    0011   17 Bitstring    1 IMMFLAG2 (3)   FLAGS
    0014   20 Address      4 IMMADDR        ADDRESS OF EXIT ROUTINE
    0018   24 Signed       4 IMMHIDE        NUMBER OF NUCLEUS EXTENSIONS THAT
                                            ARE HIDING THIS IMMEDIATE COMMAND
    0020   32 Dbl-Word     8 IMMEND (0)
              00000004       IMMDWDS        (*-IMMBLOK)/8 SIZE IN DOUBLEWORDS
              00000020       IMMBYTES       (*-IMMBLOK) SIZE IN BYTES

#### IMMBLOK Storage Layout

    *** IMMBLOK - Immediate Command Support
    *
    *     +---------------------------+---------------------------+
    *   0 |         IMMNEXT           |         IMMUWORD          |
    *     +---------------------------+---------------------------+
    *   8 |                       IMMNAME                         |
    *     +------+--------------------+---------------------------+
    *  10 |:FLAG1|     IMMFLAG2       |         IMMADDR           |
    *     +------+--------------------+---------------------------+
    *  18 |         IMMHIDE           |///////////////////////////|
    *     +---------------------------+---------------------------+
    *
    *** IMMBLOK - Immediate Command Support

#### IMMBLOK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    IMMADDR        0014
    IMMAM31        0010 10
    IMMBYTES       0020 00000020
    IMMCOUNT       0010 40
    IMMDWDS        0020 00000004
    IMMEND         0020
    IMMFLAG1       0010
    IMMFLAG2       0011
    IMMHIDE        0018
    IMMNAME        0008
    IMMNEXT        0000
    IMMNEXTD       0000 00000000
    IMMNEXTL       0000 04
    IMMNUCX        0010 20
    IMMSYS         0010 80
    IMMUWORD       0004

This information is based on z/VM V5R2.0.
Last updated on 6 Dec 2005 at 15:40:00 EDT.
Copyright IBM Corporation, 1990, 2005