I have a row of 15 columns. I need to find out the highest number of consecutive values within that row of 15 variables. Is this possible within SPSS? It loosk like Count Occurrences if is the way to go, but the consecutive part is messing me up.

Thanks!