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

DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n recs

$
0
0
Author: Bill Woodger
Subject: Reply to: For each given key value, how to keep up to the first n recs
Posted: Sat Nov 12, 2016 2:44 am (GMT 5.5)

If your data is already in order, just use a SEQNUM with RESTART for the key and the INCLUDE= and BUILD on the OUTFIL. Your sequence number should be large enough for the maximum number of cities. One is probably cutting it fine, eight is a bit much :-)

Viewing all articles
Browse latest Browse all 8500

Trending Articles