tell me about use of arrays in sas



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

Post New Answer

More SAS Interview Questions

how do you want missing values handled? : Sas programming

0 Answers  


What are the data types in sas?

0 Answers  


what is the difference between proc report and proc format?

7 Answers   CTS,


What are the data types that sas contain?

0 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   Oracle,






What are SAS/ACCESS and SAS/CONNECT?

0 Answers  


What are the functions which are used for character handling functions?

0 Answers  


What do the mod and int function do? : Sas programming

0 Answers  


What are the new features included in the new version of SAS Programming Language?

0 Answers  


What is the difference between informat and format statement?

1 Answers  


How can a SAS WEB REPORT STUDIO USER identify which report tabs they have been permitted without entering the SAS WEB REPORT STUDIO

2 Answers   TCS,


Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?

4 Answers   HP, Oracle,


Categories