What Is A Collect Statement? How Is It Different From Append?
Answer»
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.