Finally, I tried creating a new variable by using a patterned numeric string, formatting that pattern and running a frequency on the newvariable. This presentation will utilize basic SAS techniques, in a side-by-side visual.Lara Jungvig Hilton...
Re: Concatenate a symbol to a text string to create a macro variable Posted 08-21-2018 08:43 AM (3996 views) | In reply to SASSLICK001 You mean this ? %macro x; %let x=test; %do i=1 %to 3; %let x=&x+; %end; %put &x; %mend; %x View solu...
abhidotabhi 5 years ago @mohammed_Forum What is the result of single API call? object/string? if this is object and you want to concatenate all the objects then your final result set should be an array. use below ...
Re: Concatenate a symbol to a text string to create a macro variable Posted 08-21-2018 08:43 AM (3993 views) | In reply to SASSLICK001 You mean this ? %macro x; %let x=test; %do i=1 %to 3; %let x=&x+; %end; %put &x; %mend; %x View solu...
You can make use of variable lists in the CATX function, see also sample below using an array: data want; length colString $ 120; array myVars{30} $ 4 col1 - col30; nChar = rank("A"); do i = 1 to dim(myVars); myVars{i} = byte(nChar); nChar + 1; end; colString...