I have to update the Trailer of a file with a count from another file.
To be more specific, my requirement is like this.
In FILE1, the Trailer is as shown below.
The green colored count is the no of occurences of 88888888as a record in FILE1. The violet colored count is the count of total number of records in the FILE1.
Can we have both these counts in the Trailer in a single step?
I tried, but since I am not able to I calculated the occurence of 888888888 in another STEP and I have the count in a file.
The FILE1 has the TRAILER 9999999999000000000600.
I want to update the TRAILER with the count in the other File.