I have requirement to update the trailer count in a VB file using syncsort of length 3000.
In the file there are different record types as '080', '030', '910', '999' starting from 42nd position in the file. '999' is the trailer record. I need to count the records based on record type and need to update the counts in the trailer record.
The '080' record count shoul be updated in the trailer record from 68th postion having 8 bytes which is a PD format.
For '030' count shoul be updated from 76 position having 8 bytes.