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

It is an automaic variable created during datastep
processing. And it show how many no of time it has iterated
datastep.

Is This Answer Correct ?    1 Yes 3 No

What is _n_?..

Answer / sumalatha.ch

it counts the no.of iteration in the data step.how many
times data step executes.

Is This Answer Correct ?    2 Yes 5 No

What is _n_?..

Answer / name is no need

see,some felows are posting wrong answers ,does it make
sense?if they didn't know the exact answer it is better to
sit silent .see here what happens is when ever a new person
visit this site he was unable to select the correct answer.
i suggest the persons who are posting the wrong answer
better you don't post any answers from this time.

Is This Answer Correct ?    0 Yes 3 No

What is _n_?..

Answer / sampath kumar

IT WILL IDENTIFY THE NO.OF TIMES THE DATA STEP LOOP WILL BE
EXECUTED.EVERY TIME IT WILL INCREMENT BY 1.

Is This Answer Correct ?    9 Yes 14 No

What is _n_?..

Answer / nipun

this is one of the automatic variables created by sas during
data processiong
And _n_ is number of times sas has began to execute.
(not the no. of iterations)

Is This Answer Correct ?    1 Yes 6 No

What is _n_?..

Answer / mohan reddy

_n_ is initially set 1.it will identify the no.of times the
data step will be executed.

Is This Answer Correct ?    8 Yes 15 No

What is _n_?..

Answer / sudhaker

It genarats the number

Is This Answer Correct ?    0 Yes 8 No

What is _n_?..

Answer / srinivas

Srinivas

U run data step,in that step any error._N_ gives which
position error,in that situation _error_=1

_n_ is the iteration of the data step.

if u use in data step _N_ gives the cursor position

Is This Answer Correct ?    3 Yes 12 No

What is _n_?..

Answer / kishore

this is one of the automatic variables created by sas during
data processiong .it specifies the line number in which the
error & the data error takes place

Is This Answer Correct ?    4 Yes 15 No

What is _n_?..

Answer / suresh

How, some of you are saying _n_ gives no of errors.
Please justify ur answer.

Is This Answer Correct ?    0 Yes 17 No

Post New Answer

More SAS Interview Questions

here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.

2 Answers   Cap Gemini, L&T,


If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?

10 Answers   Accenture,


How would you code a merge that will keep only the observations that have matches from both sets.

5 Answers   Accenture, Bank Of America,


What system options would you use to help debug a macro? : sas-macro

0 Answers  


Give e an example of..

0 Answers  


In sas, what are the areas that you are most interested in? : sas-grid-administration

0 Answers  


how we can create optional or required parameters in SAS macro...

5 Answers   TCS,


calculate the sum of value using only DATA STEP. data count_; input year name $ value; cards; 2006 xxx 10 2007 yyy 12 2006 xxx 20 2008 yyy 15 2007 xxx 15 ; out put should be like this year name T_value ----------------------- 2006 xxx 30 2007 xxx 15 2007 yyy 12 2008 xxx 15

6 Answers  


how can get the first and last observations in a dataset using Proc SQl?

4 Answers   Satyam,


What is _n_?

22 Answers  


What are the main differences between sas versions 8.2, 9.0, 9.1?

4 Answers  


what are 5 ways to perform a table lookup in sas? : Sas-administrator

0 Answers  


Categories