How to find the number of records altered using DFSORT
Posted: Tue Apr 12, 2011 10:01 pm
Hi all,
I have one flat file of LRECL 80 with the following records.
AAAAAAAAAAAAAAAAA72BBBBBB.....
AAAAAABBBBBCCCCCCC76BBBBBB....
AAAAAACCCCCCCCCCC72CCBBBB....
AAAAAACCCCCCBBCCC72BBBBBB....
BBBCCCCCCCCCCCCCC76BBBBBB....
The characters 72 and 76 appear in the input file at the same position say 18. I would like to change 72 to 63 and 76 to 66 using a SORT card.
After changing I would like to know how many 72 got changed to 63 and how many 76 got changed to 66 in the SORT step itself.
Is it possible to find the count?
Thanks
Prasanna G
I have one flat file of LRECL 80 with the following records.
AAAAAAAAAAAAAAAAA72BBBBBB.....
AAAAAABBBBBCCCCCCC76BBBBBB....
AAAAAACCCCCCCCCCC72CCBBBB....
AAAAAACCCCCCBBCCC72BBBBBB....
BBBCCCCCCCCCCCCCC76BBBBBB....
The characters 72 and 76 appear in the input file at the same position say 18. I would like to change 72 to 63 and 76 to 66 using a SORT card.
After changing I would like to know how many 72 got changed to 63 and how many 76 got changed to 66 in the SORT step itself.
Is it possible to find the count?
Thanks
Prasanna G