I have got one requirement to split one big input file based on a occurances of repeating block.
suppose i have a input file which have 100 record set multiple times
I have to split the above input file so that each input file will have only three records.In the above case two files will be created one is having first 3 record set another one will have only the last one . if there is 8 nos of 100 record set then three t files will be generated.,havine (3,3,2 sets of record.
I took index while breaking the input file in a functional ma pto each record set so that it will count the no of times it will go inside the functional map
but not sure of how to proceed further :( .Any suggestion