I have a dataset in SAS that has 10 variables on the basis of which I would like to create a new flag. If any of the class columns is greater than 0 then its name should come in the flag as given in the picture below.
Can someone please help me on how this can be done?
Thanks
Try this