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
What is maximum number of rows and cols can be handled in SAS?
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.
how many types prompting framework can be broken down to? : Sas-bi
List out some key concept of SAS
What will calendar procedure do?
why is a stop statement needed for the point=option on a set statement? : Sas programming
Define run-group processing?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
how the sas basic syntax style described? : Sas-administrator
what is ae onset date n what is RDS
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.
How to test the debugging in sas?
Why double trailing @@ is used in input statement?
How is character variable converted into numeric variable and vice versa?
what is null hypothesis? why do you consider that?