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 Proc glm does?

1038


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1017


What is PROC in SAS?

1014


Explain how you can debug and test your SAS program?

957


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

1013


What is the difference between the proc sql and data step?

1118


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

2110


how sas deals with business intelligence? : Sas-bi

1007


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2331


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1148


What does the RUN statement do?

1263


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

1013


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2043


where are dashboard components are created and maintained? : Sas-bi

979


How to include or exclude specific variables in a data set?

1077