Thanks for help. I am getting following issue. 56 data want; 57 set Inst_single_PCT; 58 call symputx ("nb", countw(compress(Inst_single_PCT,' ()','A'),";")); 59 array owner(&nb); - 22 200 WARNING: Apparent symbolic reference NB not resolved. ERROR 22-322: Syntax error, expecting one of the following: a name, an integer constant, *. ERROR 200-322: The symbol is not recognized and will be ignored. 60 do i= 1 to &nb; - 22 WARNING: Apparent symbolic reference NB not resolved. ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT. 61 Owner(i) = scan(compress(Inst_single_PCT,' ()','A'),i,";"); 62 end; 63 drop i; 64 run;
... View more