Multiple choice technology programming languages

Indicate which of the following, performs the initialization of the sum controls, LINE-COUNTER and PAGE-COUNTER to their initial values.

  1. RESET

  2. INITIATE

  3. VALUE

  4. GENERATE

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In COBOL Report Writer, the INITIATE statement initializes LINE-COUNTER and PAGE-COUNTER to their starting values. RESET is used for other purposes, VALUE declares constants, and GENERATE produces report lines. INITIATE is specifically designed for counter initialization.