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

#### TTYFLG

Prolog

Control Block Contents
TTYFLG DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### TTYFLG Prolog

     NAME       : TTYFLG
     DESCRIPTION: HCPTYI AND HCPTYO PARAMETERS
     DSECT      : TTYFLG
     FUNCTION   : PARAMETER LIST CREATED WHEN HCPTYI IS CALLED.
                  PARAMETER LIST CREATED WHEN HCPTYO IS CALLED.
     LOCATED BY : PARAMETER LIST IS SPECIFIED BY HCPTYI AND
                  HCPTYO.
     CREATED BY : PARAMETER LIST IS CREATED BY HCPTYI AND
                  HCPTYO.
     DELETED BY : PARAMETER LIST IS DELETED BY HCPTYI AND
                  HCPTYO.
     DEFINED BY - HCPTYI AND HCPTYO AS TTYFLAGS:
                  TYNOLNFD = APPLIES TO THE CURRENT TRANSACTION AND INDICATES
                  80 CHARACTERS OF DATA WERE FOUND DURING THE 3101
                  COMPRESS. IF PROMPT=TTY NO LINE FEED IS NEEDED
                  TO END THE WRITE TRANSACTION SINCE THE DEVICE
                  DEVICE WILL PROVIDE IT.
                  TYPFERR = THE PFKEY WAS DEFINED AS "TAB" OR "COPY" AND A MESSAGE
                  MUST BE SENT TO THE TERMINAL TO NOTIFY THE USER.
                  TYPFDLAY = THE PFKEY WAS DEFINED AS "DELAYED" OR "RETRIEVE" AND
                  THE DEFINITION MUST BE WRITTEN BACK TO
                  THE TERMINAL USER.
                  TYPFTABK = WORKS IN CONJUNCTION WITH THE TYPFERR FLAG. WHEN ON,
                  THIS FLAG INDICATES THE PFKEY WAS DEFINED AS "TAB", OFF
                  INDICATES THE KEY WAS DEFINED AS "COPY".
                  TYNOAUCR = APPLIES TO THE CURRENT TRANSACTION AND INDICATES THIS
                  WRITE WAS QCNNOCR AND THE USER WANTS THE CARRIER TO
                  RETURN AT THE CURRENT POSITION.
                  NO CARRIER CONTROL SHOULD END THE WRITE.
                  TYNEEDLF= APPLIES TO THE CURRENT TRANSACTION AND INDICATES THIS
                  READ OR WRITE ENDED IN A CR. A LINE FEED MAY BE REQUIRED
                  TO PLACE THE USER ON A CLEAN LINE.
                  WHEN TRANSACTIONS TO/FROM THE TERMINAL END WITH CR, ASSUME
                  THE USER WANTS THE DEVICE TO BE IN LINE-BY-LINE MODE.

#### TTYFLG Control Block Content

#### TTYFLG DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      TTYFLG         HCPTYI AND HCPTYO PARAMETERS
    0000    0 Bitstring    1 TTYFLAGS       FLAGS BYTE
              1... ....      TYNOLNFD       X'80' NO LINE FEED FLAG
              .1.. ....      TYPFERR        X'40' PF ERROR FLAG
              ..1. ....      TYPFDLAY       X'20' PF DELAY FLAG
              ...1 ....      TYPFTABK       X'10' PF TAB KEY FLAG
              .... .1..      TYNOAUCR       X'04' THIS IS A QCNNOCR COMBK
              .... ..1.      TYNEEDLF       X'02' LINE FEED MAY BE NEEDED
                                            NEXT TASK
    0001    1 Bitstring    1 * (7)          RESERVED FOR FUTURE IBM USE
              00000001       TYSIZE         (*-TTYFLG+7)/8 TTYFLG SIZE IN
                                            DOUBLE WORDS

#### TTYFLG Storage Layout

    *** TTYFLG - HCPTYI AND HCPTYO PARAMETERS
    *
    *     +------+------------------------------------------------+
    *   0 |:FLAGS|////////////////////////////////////////////////|
    *     +------+------------------------------------------------+
    *   8
    *
    *** TTYFLG - HCPTYI AND HCPTYO PARAMETERS

#### TTYFLG Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    TTYFLAGS       0000
    TYNEEDLF       0000 02
    TYNOAUCR       0000 04
    TYNOLNFD       0000 80
    TYPFDLAY       0000 20
    TYPFERR        0000 40
    TYPFTABK       0000 10
    TYSIZE         0001 00000001

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 17:43:10 EDT.
Copyright IBM Corporation, 1990, 2005