HH&S product

XSMeXtended Sort Merge

Step-by-step CSV sort, merge and deduplication demonstration.

Step 5

Merge multiple files

Specify two input files to merge by adding another INPFIL statement.

SKIP_HEADER removes the header from the first input file only. Because every input file has a header, use SKIP_HEADERS to remove the header from each file.

The result is 501 − 1 + 501 − 1 = 1,000 output lines.

XSM CSV demonstration — step 5
Step 5 — Merge multiple files.