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 / yadi acho

_n_ is auto number drive in SAS...

if use fro data step look like this

data test1;
set test;
test_field=_n_;
run;

diferent if auto number for SQL procedure u can use this

proc sql;
create table test1 as
select *,monotonic() as test_field
from test;
quit;

cheers!!

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1195


What is the difference between where and if statement?

1117


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2071


Mention the validation tools used in SAS?

1182


explain the use of % includes a statement in sas? : Sas-administrator

1008


What are the ways in which macro variables can be created in sas programming?

1111


Describe crosslist option in tables statement?

1225


How does the internal authentication work in sas? : sas-grid-administration

1124


Difference between sum function and using “+” operator?

1161


Explain data_null_?

1064


What is the command used to find missing values?

1103


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2801


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

2242


How do dates work in sas?

1146


Explain the special input delimiters used in sas programming.

1008