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

LRDD

Prolog  

Control Block Contents  
   LRDD DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


LRDD Prolog

 Name       : LRDD
 Description: LINERD Data Descriptor
 DSECT      : LRDD
 Function   : LRDD is used to map an area of storage that
              contains information on multple reads resulting
              from the invocation of the LINERD Macro with
              FORM=MULTIPLE.  This descriptor DSECT has two
              formats.  It describes either the cursor position
              and the key pressed or it describes the data
              input that is being returned.

 

LRDD Control Block Content


LRDD DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      LRDD           LINERD Data Descriptor
0000    0 Address      4 LRDDNEXT       Pointer to next linerd descriptor
                                        (LRDD)
0004    4 Character    8 *              Reserved
000C   12 Signed       4 LRDDLINE       Line number
0010   16 Signed       4 LRDDCOL        Column number
0014   20 Address      4 LRDDTXTA       Text address - for input LRDD
0018   24 Signed       4 LRDDTXTL       Length of text following this
                                        LRDD - for input LRDD
001C   28 Character    4 *              Reserved
0020   32 Bitstring    1 LRDDFLG1       Flag byte #1 - for input LRDD
          .... ...1      LRDDRESI       X'01' .... ...X Reserved area of
                                        vscreen
0021   33 Bitstring    1 LRDDOUTL       field outlining value
0022   34 Bitstring    1 LRDDCSET       mixed or sbcs field attribute
0023   35 Character    6 *              Reserved
0029   41 Bitstring    1 LRDDATTR       Attribute byte - for input LRDD
002A   42 Bitstring    1 LRDDCOLR       Color byte - for input LRDD
002B   43 Bitstring    1 LRDDEXHI       Extended highlighting byte -for
                                        input LRDD
002C   44 Bitstring    1 LRDDPSS        PSS byte - for input LRDD
002D   45 Bitstring    1 LRDDFLG2       Flag byte #2 - for cursor LRDD
          .... ...1      LRDDRESC       X'01' .... ...X Reserved area of
                                        vscreen
002E   46 Bitstring    1 *              Reserved
002F   47 Bitstring    1 LRDDKEY        Holds key pressed - for cursor
                                        LRDD
          00000030       LRDDLEN        *-LRDD Length of LRDD in bytes
          00000006       LRDDDBSZ       ((LRDDLEN+7)/8) Length of LRDD in
                                        doublewords

 

LRDD Storage Layout

          
*** LRDD - LINERD Data Descriptor
*
*     +---------------------------+---------------------------+
*   0 |         LRDDNEXT          |///////////////////////////|
*     +---------------------------+---------------------------+
*   8 |///////////////////////////|         LRDDLINE          |
*     +---------------------------+---------------------------+
*  10 |         LRDDCOL           |         LRDDTXTA          |
*     +---------------------------+---------------------------+
*  18 |         LRDDTXTL          |///////////////////////////|
*     +------+------+------+------+---------------------------+
*  20 |:DFLG1|:DOUTL|:DCSET|//////////////////////////////////|
*     +------+------+------+------+------+------+------+------+
*  28 |//////|:DATTR|:DCOLR|:DEXHI|:DPSS |:DFLG2|//////|:DKEY |
*     +------+------+------+------+------+------+------+------+
*  30
*
*** LRDD - LINERD Data Descriptor

 

LRDD Cross Reference

Symbol         Dspl Value
-------------- ---- -----
LRDDATTR       0029
LRDDCOL        0010
LRDDCOLR       002A
LRDDCSET       0022
LRDDDBSZ       002F 00000006
LRDDEXHI       002B
LRDDFLG1       0020
LRDDFLG2       002D
LRDDKEY        002F
LRDDLEN        002F 00000030
LRDDLINE       000C
LRDDNEXT       0000
LRDDOUTL       0021
LRDDPSS        002C
LRDDRESC       002D 01
LRDDRESI       0020 01
LRDDTXTA       0014
LRDDTXTL       0018

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