1.

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.

Append – Duplicate ENTRIES occurs.

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.



Discussion

No Comment Found