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

#### OPCTB

Prolog

Control Block Contents
OPCTB DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### OPCTB Prolog

     NAME       : HCPOPCTB
     DESCRIPTION: OPERATOR CONSOLE DEVICE NUMBER TABLE
     DSECT      : OPCTB
     FUNCTION   : CONTAINS THE DEVICE NUMBERS OF THE OPERATORS PRIMARY
                  AND ALTERNATE CONSOLES.
     LOCATED BY : SYSRIOPC is the pointer to the list of potential
                  devices to become the operator's console
          SYSRIOPC ---> +-------+
                        | devno | primary console
                        +-------+
                        | devno | alternate console
                        +-------+
                        | devno | alternate console
                        +-------+
                        |   .   |
                        +-------+
                        |FFFFFFF| end of table
                        +-------+
     CREATED BY : OPCTB is initially part of the system nucleus
                  created by the sysgen process.  During system
                  initialization, a new OPCTB may be created in
                  gotten storage.
     DELETED BY : OPCTB IS PART OF THE SYSTEM NUCLEUS AND NEVER DELETED.

#### OPCTB Control Block Content

#### OPCTB DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      OPCTB          OPERATOR CONSOLE DEVICE NUMBER
                                            TABLE
         THE FIRST ENTRY IS THE PRIMARY OPERATOR'S CONSOLE, EACH SUCCESSIVE
         ENTRY IS FOR AN ALTERNATE CONSOLE, THE END OF THE TABLE IS INDICATED BY
         X'FFFFFFFF'.
    0000    0 Signed       4 OPCDEVNO       Device number of the terminal to
                                            become one of the consoles
    0004    4 Bitstring    1 OPCFLAG        Device flags
              1... ....      OPCIC          X'80' Integrated console
                                            indicator
              00000005       OPCLEN         *-OPCTB Length of one entry
              00000005       OPCNEXT        * Next device number in list

#### OPCTB Storage Layout

    *** OPCTB - OPERATOR CONSOLE DEVICE NUMBER TABLE
    *
    *     +---------------------------+------+
    *   0 |         OPCDEVNO          |:FLAG | 5
    *     +---------------------------+------+
    *
    *** OPCTB - OPERATOR CONSOLE DEVICE NUMBER TABLE

#### OPCTB Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    OPCDEVNO       0000
    OPCFLAG        0004
    OPCIC          0004 80
    OPCLEN         0004 00000005
    OPCNEXT        0004 00000005

This information is based on z/VM V4R3.0. Last updated on 30 Apr 2002 at 17:04:44 EDT.
Copyright IBM Corporation, 1990, 2002