Hi,
I just started using jmp at work and trying to learn JSL. I am trying to write a script to get the column names where the row value =1. For example, the table shows values of 0 and 1 under different IMCX columns and I want to find out which column has the value =1 in each row and store under a new column called IMC. In the first row, column IMC 4 has 1 so I manually enter IMC4 under IMC. There are more than 5000 rows in the tables. Thank you for the help.
![Paul06_0-1609807451271.png Paul06_0-1609807451271.png](https://community.jmp.com/t5/image/serverpage/image-id/29193i43AA8EDA732E4DC3/image-size/medium?v=v2&px=400)