cobol1.hlp (Topic list)
Screen Description Entry (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Construct:    Screen Description Entry
 
  Function:     Reserves and names an area of the screen for displaying
                or accepting an item of data, and describes the data to
                be displayed or accepted there.
 
  Syntax:
 
     ───level-number─┬─────────────┬────────────────────────────────
                       ├─FILLER──────┤
                       └─screen-name─┘
 
     ─┬────────────────┬─┬──────┬─┬───────┬─┬───────────────┬────────
       └─BLANK─┬─LINE───┤ ├─BELL─┤ └─BLINK─┘ └─ERASE─┬─EOL─┬─┘
               └─SCREEN─┘ └─BEEP─┘                   └─EOS─┘
 
     ─┬───────────┬─┬──────┬──┬──────────┬─┬──────────┬──────────────
       ├─HIGHLIGHT─┤ └─GRID─┘  └─LEFTLINE─┘ └─OVERLINE─┘
       └─LOWLIGHT──┘
 
     ─┬───────────────┬─┬───────────┬──┬───────────────────────────┬─
       └─REVERSE-VIDEO─┘ └─UNDERLINE─┘  └─SIZE─┬──┬─┬─identifier-1─┬┘
                                               └IS┘ └─integer-1────┘
 
     ─┬──────────────────────────────────────────────┬───────────────
       └─LINE─┬──────────────────────────────────────┬┘
              └┬──────┬┬──┬─┬──────┬─┬─identifier-2─┬┘
               └NUMBER┘└IS┘ ├─PLUS─┤ └─integer-2────┘
                            ├─ + ──┤
                            └─ - ──┘
 
     ─┬───────────────────────────────────────────────────┬──────────
       └┬─COLUMN─┬─┬──────────────────────────────────────┬┘
        └─COL────┘ └┬──────┬┬──┬─┬──────┬─┬─identifier-3─┬┘
                    └NUMBER┘└IS┘ ├─PLUS─┤ └─integer-3────┘
                                 ├─ + ──┤
                                 └─ - ──┘
 
     ─┬───────────────────────────────────────────┬──────────────────
       └┬─FOREGROUND-COLOR──┬─┬──┬─┬─integer-4────┬┘
        └─FOREGROUND-COLOUR─┘ └IS┘ └─identifier-4─┘
 
     ─┬───────────────────────────────────────────┬──────────────────
       └┬─BACKGROUND-COLOR──┬─┬──┬─┬─integer-5────┬┘
        └─BACKGROUND-COLOUR─┘ └IS┘ └─identifier-5─┘
 
     ─┬───────────────────────────┬─┬────────────────────────┬───────
       └─CONTROL─┬──┬─identifier-6─┘ └┬───────────┬─literal-1─┘
                 └IS┘                 └─VALUE─┬──┬┘
                                              └IS┘
 
     ─┬──────────────────────────────────────────────────────────────1
       └┬─PICTURE─┬─┬──┬─picture-string───────────────────────────────2
        └─PIC─────┘ └IS┘
 
    1─────────────────────────────────────────────────────┬──────────
    2────────┬┬──────────────────────┬┬─────────────────┬┬┘
              │└─FROM─┬─identifier-7─┬┘└─TO identifier-8─┘│
              │       └─literal-2────┘                    │
              └──USING identifier-9───────────────────────┘
 
     ─┬────────────────────────┬─────────────────────────────────────
       └┬───────────┬──DISPLAY──┘
        └─USAGE─┬──┬┘
                └IS┘
 
     ─┬────────────────────────┬───┬──────────────────────┬──────────
       └─BLANK─┬────┬┬─ZERO───┬─┘   └┬─JUSTIFIED─┬─┬─────┬─┘
               └WHEN┘├─ZEROS──┤      └─JUST──────┘ └RIGHT┘
                     └─ZEROES─┘
 
     ─┬─────────────────────────────────────────────────┬────────────
       └┬──────────┬─┬─LEADING──┬─┬─────────────────────┬┘
        └─SIGN─┬──┬┘ └─TRAILING─┘ └─SEPARATE─┬─────────┬┘
               └IS┘                          └CHARACTER┘
 
     ─┬─────────────┬───┬───────────┬───┬───────────────┬────────────
       └┬─AUTO──────┬┘   └┬─SECURE──┬┘   └┬─REQUIRED────┬┘
        └─AUTO-SKIP─┘     └─NO-ECHO─┘     └─EMPTY-CHECK─┘
 
     ─┬───────────────────────────────────────────┬──────────────────
       └─PROMPT─┬─────────────────────────────────┬┘
                └┬─────────┬┬──┬─┬─identifier-10─┬┘
                 └CHARACTER┘└IS┘ └─literal-3─────┘
 
     ─┬──────────────────────────┬──┬───────────────┬──┬────────────┬─
       └─OCCURS integer-6─┬─────┬─┘  └┬─FULL────────┬┘  └─ZERO-FILL──┘
                          └TIMES┘     └─LENGH-CHECK─┘
                                    -♦-