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
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
What is the difference between where and if statement?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
Mention the validation tools used in SAS?
explain the use of % includes a statement in sas? : Sas-administrator
What are the ways in which macro variables can be created in sas programming?
Describe crosslist option in tables statement?
How does the internal authentication work in sas? : sas-grid-administration
Difference between sum function and using “+” operator?
Explain data_null_?
What is the command used to find missing values?
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
what is study design in while working with SAS? what are screening variables in SAS?
How do dates work in sas?
Explain the special input delimiters used in sas programming.