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

DFSORT/ICETOOL :: RE: How to split the records using the amount field

$
0
0
Author: magesh23586
Subject: Reply to: How to split the records using the amount field
Posted: Tue Nov 01, 2016 10:46 am (GMT 5.5)

Arun Raj wrote:

This is a good alternative. But again the number of steps may not always decide if there is any savings or not.


I agree "not always," but in this case, it is better than your two steps solution.

Your code is little over engineered. You have ten overlay statements with SEQNUM, Restart and three outfil statements with ifthen build.

You are reading the file twice. One pass is always better than two pass.

Bill Woodger, Please advise, if I am wrong.
_________________
Regards,
Magesh


Viewing all articles
Browse latest Browse all 8500

Trending Articles