VMS Help  —  COBOL  DATA_DIVISION, ss_screen-description-entry
  A screen description entry describes a video form or a portion of a
  video form and specifies the attributes, behavior, size, and location
  of screen items within the video form.  The screen description entry
  is referenced in the Procedure Division by the ACCEPT and DISPLAY
  statements

1  –  1format_group_screen

  Format 1 - Group Screen Item

     level-number [ screen-name ]
                  [ FILLER      ]

          [ BLANK_SCREEN ]

          [ FOREGROUND-COLOR IS color-num-1 ]

          [ BACKGROUND-COLOR IS color-num-2 ]

          [ AUTO ]

          [ SECURE ]

          [ REQUIRED ]

          [ [ USAGE IS ] DISPLAY ]

          [ [ SIGN IS ] { LEADING  } [ SEPARATE CHARACTER ] ]
          [             { TRAILING }                        ]

          [ FULL ] .

2  –  2format_literal_elementary

  Format 2 - Elementary Screen Item

     level-number [ screen-name ]
                  [ FILLER      ]

          [ BLANK { LINE   } ]
          [       { SCREEN } ]

          [ BELL ]

          [ BLINK ]

          [ ERASE { EOL } ]
          [       { EOS } ]

          [ HIGHLIGHT ]
          [ LOWLIGHT  ]

          [ REVERSE-VIDEO ]

          [ UNDERLINE ]

          [ NUMBER IS [ PLUS ] { identifier-1 } ]
          [                    { integer-1    } ]

          [ NUMBER IS [ PLUS ] {identifier-2 } ]
          [                    { integer-2   } ]

          [ FOREGROUND-COLOR IS color-num-1 ]

          [ BACKGROUND-COLOR IS color-num-2 ]

          VALUE IS literal-1 .

3  –  3format_elementary

  Format 3 - Elementary Screen Item

     level-number [ screen-name ]
                  [ FILLER      ]

          [ BLANK { LINE   } ]
          [       { SCREEN } ]

          [ BELL ]

          [ BLINK ]

          [ ERASE { EOL  } ]
          [       { EOS  } ]

          [ HIGHLIGHT ]
          [ LOWLIGHT  ]

          [ REVERSE-VIDEO ]

          [ UNDERLINE ]

          [ NUMBER IS [ PLUS ] { identifier-1  } ]
          [                    { integer-1     } ]

          [ NUMBER IS [ PLUS ] { identifier-2  } ]
          [                    { integer-2     } ]

          [ FOREGROUND-COLOR IS color-num-1 ]

          [ BACKGROUND-COLOR IS color-num-2 ]

                                          { USING identifier-3          }
          { PICTURE } IS picture-string-1 { {| FROM { identifier-4 } |} }
          { PIC     }                     { {|      { literal-1    } |} }
                                          { {| TO identiier-5        |} }

          [ [ USAGE IS ] DISPLAY ]

          [ BLANK WHEN ZERO ]

          [ { JUSTIFIED } RIGHT ]
          [ { JUST      }       ]

          [ [ SIGN IS ] { LEADING  } [ SEPARATE CHARACTER ] ]
          [             { TRAILING }                        ]

          [ AUTO ]

          [ SECURE ]

          [ REQUIRED ]

          [ FULL ] .
Close Help