Hi,
I've a FB file with lrecl=10 that contains four records.
02 AAAAAAA
01 BBBBBBB
03 0000004
02 CCCCCCC
Record with value '03' in position 1 says how many records there are in the file (the amount 4 you'll find position 4-10).
I want to compare the sum of total records in the file with the record '03's amount (position 4-10).
How do I accomplish this ?
If the result doesn't match I want to create a record in a new file.
Best regards,
Micke