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
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Name some categories in sas 9? : sas-grid-administration
What is the purpose of _character_ and _numeric_?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Explain what is SAS informats?
which date function advances a date, time or datetime value by a given interval? : Sas programming
Describe the function and untility of the most difficult SAS macro that you have written.
Mention the difference between ceil and floor functions in sas?
Explain the special input delimiters used in sas programming.
for report generation which one you used proc report or data_null_?
describe how to adjust the performance of data integrator? : Sas-di
what are the considerations when picking a SAS/STAT procedure?
What does proc print, and proc contents are used for?
where are dashboard components are created and maintained? : Sas-bi
What is the command used to find missing values?