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 |
Why and when do you use proc sql?
How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...
What is the size of PDV?
what is intially documentation in sas?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.
Describe the ways in which you can create a macro variable?
how can get the first and last observations in a dataset using Proc SQl?
what are _numeric_ and _character_ and what do they do? : Sas programming
How to select the observations randomly from a SAS dataset
Explain translate function?
What is program data vector (pdv) and what are its functions?