VMS Help  —  COBOL  DATA_DIVISION, clauses  PICTURE
  The PICTURE clause specifies the general characteristics and editing
  requirements of an elementary item, including an elementary screen
  item.

1  –  1format_general

  Format 1 -

    { PICTURE } IS character-string
    { PIC     }

1.1  –  PICTURE symbols

  The following symbols may be used in a PICTURE clause:

    A  B  P  S  V  X  Z  9  0  /  ,  .  +  -  CR  DB  *  cs

2  –  2format_screen_section

  Format 2 - Screen Section

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

2.1  –  PICTURE symbols

  The following symbols may be used in a PICTURE clause:

    A  B  P  S  V  X  Z  9  0  /  ,  .  +  -  CR  DB  *  cs
Close Help