Hi All,
I am completely new to JMP and writing JSL scripts and I needed a help in building a logic for a case:
I have a table with one of the column as Status and I would like to count the number of 1's in that. It will start counting when it sees first "1" and continue to count until the last and output the final count at the last occurence of 1. And once it sees "0" in the next row, it should reset the counter again and start looking for "1".

I would be really grateful if you help me with this.
Abhi