Length of each record in Variable file I have a requirement where I have to read a variable file and based on the different length of records in the file I have to do different processing. Say my input file has records with length 10, 20 , 30 and 40 In my cobol program if the record is of length 10 then I would deal it with other processing then the record with length 20. Any help would be appreciated. “; ; ; ;