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 |
WHAT IS LAG FUNCTION ? WHERE CAN YOU IMPLEMENT THIS FUNCTION?
Best trainer in hyderabad for sas banking.if any one have details pls provide contact details.
What is the difference between the proc sql and data step?
If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
How would you code a merge that will keep only the observations that have matches from both sets?
In SAS how to read the variable values having different formats. eg:mar99,mar1999 (in a single variable)
8 Answers GSK GlaxoSmithKline,
What is the difference between %put and symbolgen? : sas-macro
what is option year cuttoff in sas
What is difference between Global n Local Macro Variables..?
Can you explain the process of calendar?
What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???
Differentiate between proc means and proc summary.