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

what is the Population you used in your project, is it ITT or PP?

2680


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2059


what is the difference between infile and input? : Sas-administrator

1062


how will you location sas platform applications available from web browser? : Sas-bi

1012


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1106


Can you suggest us materials for sdtm mapping?

4387


What does PROC print, and PROC contents do?

1169


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2056


What function CATX syntax does?

1165


How many data types are there in SAS?

1005


Differentiate between proc means and proc summary.

998


How would you define the end of a macro?

1040


how do you debug and test your sas programs? : Sas programming

1069


what is the difference between floor and ceil functions in sas? : Sas-administrator

1188


What are the parameters of scan function?

1107