BillyBoyo wrote:Can there be five records with the same text? And you'd want three records on the output, or two? And the records with the same text would always be contiguous (so no need to actually SORT them to get matches together?).
text1/text2/etc. are up to 20 different values, always 8 characters long. They can occur several times in the dataset, maximum is about 100 times.
I can´t sort the file because I´ll loose vital information if I do so. "data I need" are 5-10 lines of text which can´t be sorted and are associated to the "text1"/"text2"/etc..
The data I want to manipulate is a Beta92 output, consisting of the daily processed data of our Jobs (about 25 different Jobs). I want to output all of those into one dataset.
The problem is, some of our Jobs can run multiple times (up to 100 times), and thus there are 100 equal Job outputs with different numbers, which is the reason I can´t sort.
I think the SEQNUM solution would be most suited for my problem, but I do not know how to OMIT lines based on wheter chars 10-15 are odd or even.
I hope my English is good enough for you too understand my problem.
Thanks again for you help!