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_?

Answers were Sorted based on User's Feedback



What is _n_?..

Answer / d.vijaya bhaskar

SAS variable to count the no of obs read.

Is This Answer Correct ?    2 Yes 1 No

What is _n_?..

Answer / natraj boga

An internal SAS counter in the data step which contains the
current iteration number of the data step.

Is This Answer Correct ?    2 Yes 1 No

What is _n_?..

Answer / varun kumar

_n_ is a automatic variable that can be used for processing.
It counts the number of times the data set begin to execute.

Is This Answer Correct ?    1 Yes 0 No

What is _n_?..

Answer / ashok kore

This is an automatic variable. It is used to count the
number of obs in dataset.Its added one for every iteration
of datastep.

Is This Answer Correct ?    2 Yes 2 No

What is _n_?..

Answer / sirisha

it indicates number of observations.

Is This Answer Correct ?    2 Yes 2 No

What is _n_?..

Answer / chiranjeevi

The _n_ is a automatic variable which displays the line number.

Is This Answer Correct ?    1 Yes 1 No

What is _n_?..

Answer / venkatesh.layam

while execution process automatic variable _n_ will be
created.it tells how many times data step has been
executed .

Is This Answer Correct ?    0 Yes 0 No

What is _n_?..

Answer / pricil kurian

Hi ravi..ur answer is correct. ONE QUERY...for the below
example to get third record consecuitvely we need to
if mod(_n_,3)= 0 ; is in't?
Eg. If we want to find every third record in a Dataset then
we can use the _n_ as follows
Data new-sas-data-set;
Set old;
if mod(_n_,3)= 0 then;
run;

Is This Answer Correct ?    0 Yes 0 No

What is _n_?..

Answer / mani

The automatic
variable _n_ counts iterations of the DATA step.

Is This Answer Correct ?    0 Yes 0 No

What is _n_?..

Answer / mahesh

Its an automatic variable.it shows no. of iterations gone
through in datastep.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

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

0 Answers  


how the sas basic syntax style described? : Sas-administrator

0 Answers  


1.How many ways are there to create variables? 2.What is CLM,how can we use it? 3.what are the advontages of data step? 4.what is the extension of editor window in SAS 9.1.3? 5.How do you copy a particular data set from one library to another? 6.what is the use of double option? 7.Advontages of Proc Report? 8.what is the basic use of where statement? 9.How do you terminate the statments in SAS Programming? 10.What is the difference between symput and symget? 11.How would a identify the local and global variable? can any one answer for the 4'th question

8 Answers   CitiGroup,


What can you learn from the SAS log when debugging?

0 Answers   Quintiles,


for report generation which one you used proc report or data_null_?

3 Answers   Accenture, Quintiles,


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

0 Answers  


what is prime numbers? how we can get plc write sas code?

5 Answers   Icon,


Which function is used to count the number of intervals between two sas dates?

0 Answers  


Name and describe three SAS functions that you have used, if any?

2 Answers  


how are numeric and character missing values represented internally? : Sas programming

0 Answers  


What is the role of administrative users? : sas-grid-administration

0 Answers  


How would you determine how far down on a page you have printed in order to print out footnotes?

3 Answers  


Categories