Answer Posted / vimal raj
SAS Array's main functionality is
when a same action has to be performed repeatedly for n number of similar variables, it is ideal to use array which will simplify the sas program and gives the efficient performance in running and also the look n feel is better
data readin;
set outdata;
array Q(20) Q1-Q20;
do i= 1 to 20;
if Q(i) = 6 then Q(i)= .;
end;
run;
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
for what purpose would you use the retain statement? : Sas programming
describe how to adjust the performance of data integrator? : Sas-di
What areas of SAS are you most interested in?
How to create a permanent sas data set?
What is the SAS data set?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
Differentiate between ceil and floor functions.
If a variable contains only numbers, can it be a character data type?
In sas, what are the areas that you are most interested in? : sas-grid-administration
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
what is operational data and operational system? : Sas-di
What is the difference between one to one merge and match merge? Give an example.
How can I remove header from output data set?
what is sas metadata server? : Sas-di
I need level 2 to 5 sas using companies in india