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

Explain the use of proc gplot? : sas-grid-administration

988


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

1170


What is the good sas programming practices for processing large data sets?

1119


explain the key concept of sas? : Sas-administrator

1007


what is change analysis in sas di ? : Sas-di

1060


Explain the purpose of substr functions in sas programming.

1061


What is PDV?

1156


What are the ways to do a “table lookup” in sas?

1032


How do you delete duplicate observations in sas?

1074


Have you used macros? For what purpose you have used? : sas-macro

1041


What is a put statement?

1201


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

2373


Name types of category in which SAS Informats are placed?

1151


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1674


what is enterprise guide? What is the use of it? : Sas programming

1021