Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

tell me about use of arrays in sas

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


Please Help Members By Posting Answers For Below Questions

What function CATX syntax does?

1165


Are you involved in writing the inferential analysis plan? Tables specifications?

3898


What is the difference between reading data from an external file and reading data from an existing data set?

1122


What is the difference between order and group variable in proc report?

1365


explain the difference between proc means and proc summary?

1072


Approximately what date is represented by the SAS date value of 730?

1161


Can you explain the process of calendar?

1057


How to create a permanent sas data set?

1137


Why and when do you use proc sql?

1181


how do you test for missing values? : Sas programming

997


How many data types are there in SAS?

1006


What is the command used to find missing values?

1037


Explain the main difference between the sas procedures and functions? : Sas-administrator

1012


which features do you use to check the data validations and errors? : Sas-administrator

1000


What is the order of application for output data set options, input data set options and SAS statements?

1503