VMS Help  —  COBOL  PROCEDURE_DIVISION, INITIALIZE
  The INITIALIZE statement sets selected types of data fields to
  predetermined values.

  Format -

  INITIALIZE { fld-name } ...

      [           { { ALPHABETIC          }             }     ]
      [           { { ALPHANUMERIC        }             }     ]
      [ REPLACING { { NUMERIC             } DATA BY val } ... ]
      [           { { ALPHANUMERIC-EDITED }             }     ]
      [           { { NUMERIC-EDITED      }             }     ]

1  –  fld-name

  is the identifier of the receiving area data item.

2  –  val

  is the sending area.  It can be a literal or the identifier of a data
  item.
Close Help