how can u create zero observation dataset?

Answer Posted / chandra sekar

Use the following step

data test;
delete;
run;

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data _null_?

890


Difference between sum function and using “+” operator?

842


Explain what is data step?

929


What function CATX syntax does?

882


In ARRAY processing, what does the DIM function do?

914


What is a put statement?

919


How would you identify a macro variable? : sas-macro

760


Tell e how how dealt with..

1983


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1672


Explain the purpose of retain statement.

799


Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??

2343


what are the categories that sas informats are used to the place the data? : Sas-administrator

801


What are the difficulties u faced while doing vital signs table or dataset?

2160


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.

2024


Did you used proc test? when?

1796