⟩ What is a collect statement? How is it different from append?
Collect : If an entry with the same key already exists, the COLLECT statement does not append a new line, but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry.
Append – Duplicate entries occurs