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

What is _n_?

Answer Posted / chandra sekar

_N_ gives the record number. You can access any record in
the dataset using _N_ if you know the record number. It is
set as 1 for the first record and incremented for every
subsequent record. It is an automatic variable and is not
visible when you open a dataset. This can also be used to
subset a data. For ex, if you want to access the first 100
records then you can say "if _N_ <= 100".

Is This Answer Correct ?    63 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of sas functions?

1358


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2448


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1920


What are the difference between ceil and floor functions in sas?

1399


Tell me about % include and % eval? : sas-macro

1187


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

1127


How does proc sql work?

1143


what is data governance? : Sas-di

1061


how to change the execute of macro

2377


how do you test for missing values? : Sas programming

1094


What is the sas data set? : sas-grid-administration

1025


How to test the debugging in sas?

1239


Do you know the features of sas?

1086


What are types of transport files?

8083


Explain data step in SAS

1157