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 / mallikarjuna raju

This is an automatic variable of PDV that returns the no of
observations that it has iterated.There are such variables
like _Error_,end=,in=,first.by-variable,last.by-variable,..etc
All these variables will not be displayed in the target output.
Ex:
Data new;
set <existed>;
if _n_>=2 and <=6 then output;

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can create SAS USER DEFINED CODE?

2039


what has been your most common programming mistake? : Sas programming

1043


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1247


Enlist the functions performed by sas.

1081


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1026


How long can a macro variable be? A token? : sas-macro

1163


What does P-value signify about the statistical data?

1316


what is study design in while working with SAS? what are screening variables in SAS?

2193


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

3907


How to sort in descending order?

1211


how does sas handle missing values in a merge? : Sas programming

992


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2664


Explain by-group processing?

954


What are the different versions of sas that you have used until now? : sas-grid-administration

1284


Mention how to limit decimal places for the variable using proc means?

1075