Multiple choice technology mainframe

Which of the following are Data Manipulation Statements in COBOL?

  1. INSPECT (TALLYING)

  2. INSPECT (REPLACING or CONVERTING)

  3. SET

  4. ALTER

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Explanation

INSPECT with REPLACING or CONVERTING modifies data content by substituting characters or patterns. SET assigns values to index or data items. ALTER changes the sequence of execution by modifying GO TO statements. INSPECT TALLYING only counts occurrences without modification - it's a data inspection verb, not manipulation.