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...

i have a dataset with 100000 records. i want 100 records
from that dataset and create a dataset.we need to pick the
observations random order like
100obs,500obs,1020obs,1890obs,2565obs like that i need 100
obs in random order? how can we create this one?

Answer Posted / dilip

data A;
do slice = 100,500,1890,256,...100th;
set source point=slice;
output;
end;
stop;
run;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how sas deals with business intelligence? : Sas-bi

998


how are numeric and character missing values represented internally? : Sas programming

1087


Describe the ways in which you can create macro variables? : sas-macro

1010


What is SAS informats?

1053


In sas, what are the areas that you are most interested in? : sas-grid-administration

1019


What are the parameters of scan function?

1105


What is the basic syntax style in SAS?

1091


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1105


What is the difference between where and if statement?

1058


Mention the category in which sas informats are placed?

976


Mention the difference between ceil and floor functions in sas?

1098


Difference between informat and format?

1040


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

2435


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

1094


What are the data types that sas contain?

1118