Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

SYNCSORT :: RE: Consolidating and summing file contents

$
0
0
Author: Abid Hasan
Posted: Thu Aug 11, 2016 6:14 pm (GMT 5.5)

Hello Sergeyken,

Indeed, you're spot-on.
Yet, going by the data shared, it seemed that the 'number' present in the trailer was the count of records minus the header present. If you notice, there are 3 'xxx1' records, 2 'xxx2' records and 1 'xxx3' record. TS has not specified the significance of the number in trailer, since it matched my assumption, hence the usage of COUNT operator; though, it CAN be further trimmed with a bit more logic; kindly refer Mr. Woodger's earlier post which enunciates this.
_________________
Thanks.


Viewing all articles
Browse latest Browse all 8500

Trending Articles