Hi I have a data set that looks like: Customer Var1 Var2 Var3 Var4 1 Value_A Value_B Value_C Value_D 2 Value_E Value_F Value_G Value_H 4 Value_I Value_J Value_K Value_L I want to create different flags for each customer which take 0 and 1 value for each Value_A,Value_B,Value_C,Value_D,..... ... .. .. .Value_L Currently I am using "If" conditions to do that but it is very tedious if any value gets added to those variables. I think it can be achieved easily by some of the advanced sas functions. any help is highly appreciated. thanks!
... View more