I have a problem " Copy one file(with length n) to another while inserting a 4 spaces in a output so that making it's length n+4"
I know it can be done using PGM=SORT with control card as
OUTREC BUILD=(1,08,09:4C' ',09,122)"
(input file being 130 in length here)
I know, it can also be done using ICETOOL.
Now, I want to know, if I used ICETOOL- how it would be advantageous?
There is no advantage to doing this kind of thing with DFSORT's ICETOOL vs DFSORT. They would both accomplish the same thing.
The use of DFSORT's ICETOOL is advantageous for functions such as SELECT FIRSTDUP, SELECT FIRST(n), SPLICE WITHANY, DATASORT, SUBSET, etc that cannot be done easily or at all with DFSORT alone. ICETOOL is also advantageous for doing multiple operations in a single step rather than using multiple steps with DFSORT.