samb01 wrote:Hello,
in this file :
52 : NBR TOT
3 : ABA
47 : CDG
0 : QUIT
0 :
15 : NBR UNDER
0 : ABA
3 : CDG
0 : QUIT
0 :
the number in the fisrt line, the number 52 must be equal to the other number of the other three lines ==> 3 + 47 + 0
we don't care about the others following lines
0 :
15 : NBR UNDER
0 : ABA
3 : CDG
0 : QUIT
0 :
I know doing that rexx, but i would like to know if it's possible to use dfsort program ?
The final attempt to request information.It seems like your input is a series of "grouped records"; each group begins with group header "
nn : NBR xxxxxxx", and ends with group trailer "
0 : ".
Highly likely, you want to verify, that the "total" amount "
nn" of each group does match the sum of partial amounts of all group lines, isn't it?
If you plan to continue keeping silence, please, do not expect any further advice.
Javas and Pythons come and go, but JCL and SORT stay forever.