What is _n_?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is maximum number of rows and cols can be handled in SAS?

855


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1802


how many types prompting framework can be broken down to? : Sas-bi

635


List out some key concept of SAS

621


What will calendar procedure do?

600






why is a stop statement needed for the point=option on a set statement? : Sas programming

588


Define run-group processing?

581


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

654


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

608


what is ae onset date n what is RDS

1939


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1698


How to test the debugging in sas?

610


Why double trailing @@ is used in input statement?

702


How is character variable converted into numeric variable and vice versa?

598


what is null hypothesis? why do you consider that?

2418