Hello,
I would like to list all columns containing a specific value in any of their rows and get the listing of those columns.
I start by listing all character columns in a list and loop in it to check if a specific value is contained in each of the columns. Here is the code I used. Any idea how to help me? Thank you in advance
col = dt << get column names( character );
nc = N Items( col );
colList = {};
For( i = 1, i <= nc, i++,
If(Contains (as column(dt,col[i]) ,"null"),
Insert Into( colList, col[i] ))
);<BR />