Multiple choice technology programming languages

Which operation code allows you to update only specified fields on a record?

  1. EXFMT

  2. UPDAT

  3. EXCPT

  4. WRITE

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

EXCPT (Exception Output) in RPG is specifically designed to update only selected fields on a record when certain conditions are met, rather than writing entire records. EXFMT writes formatted display records, UPDAT is not a valid RPG operation code, and WRITE creates new records rather than updating existing ones.