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 / amaran

Can i used _n_ in proc sql; Or its only for Datasteo

_n_ is a Autometic variable created in a datastep. It is a
part of PDV. It is used to store the iteration count of the
Input statement.

Proc SQL doesnot create a PDV. so _n_ variable cannot be
used there.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum length of the macro variable? : sas-macro

1054


Difference between sum function and using “+” operator?

1098


What Proc glm does?

1038


What are the features of SAS?

980


what is intially documentation in sas?

4968


Describe the function and untility of the most difficult SAS macro that you have written.

2161


what are the best practices to process the large data sets in sas programming? : Sas-administrator

972


What is the difference between %local and %global? : sas-macro

1127


What do the put and input function do?

1013


Mention common programming errors committed in sas ?

1072


how can you import .csv file in to sas? : Sas programming

1052


How is character variable converted into numeric variable and vice versa?

1119


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 does sas handle missing values in procs? : Sas programming

1170


Can you suggest us materials for sdtm mapping?

4392