tell me about use of arrays in sas
Answer / 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 |
how do you want missing values handled? : Sas programming
What are the data types in sas?
what is the difference between proc report and proc format?
What are the data types that sas contain?
Describe a time when you were really stuck on a problem and how you solved it?
What are SAS/ACCESS and SAS/CONNECT?
What are the functions which are used for character handling functions?
What do the mod and int function do? : Sas programming
What are the new features included in the new version of SAS Programming Language?
What is the difference between informat and format statement?
How can a SAS WEB REPORT STUDIO USER identify which report tabs they have been permitted without entering the SAS WEB REPORT STUDIO
Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?