how can u create zero observation dataset?
Answer Posted / srilatha
creating a data set by using the like clause.
ex: proc sql;
create table latha.emp like oracle.emp;
quit;
in this the like clause triggers the existing table
structure to be copied to the new table.using this method
result in the creation of an empty table.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
what are sas bi dashboard components? : Sas-bi
What is the difference between input and infile statement?
explain about various caches available in data integrator? : Sas-di
what other sas products have you used and consider yourself proficient in using? : Sas programming
Explain translate function?
how do the in= variables improve the capability of a merge? : Sas programming
What is the difference between order and group variable in proc report?
Give some examples where proc report’s defaults are different than proc print’s defaults?
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.
what is sas enterprise intelligence architecture? : Sas-bi
where to use sas business intelligence? : Sas-bi
How to include or exclude specific variables in a data set?
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
Difference between SAS STATA & SPSS?
What do the SAS log messages "numeric values have been converted to character" mean?