how can u create zero observation dataset?

Answer Posted / sheetal

data a;
set b;
stop;
run;

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1690


how will you location sas platform applications available from web browser? : Sas-bi

552


What are the automatic variables for macro? : sas-macro

681


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1218


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.

1803






What is the order of application for output data set options, input data set options and SAS statements?

1089


What are the 3 components in sas programming?

731


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

621


what is sas data set?

669


how many display types available in sas bi dashboard? : Sas-bi

646


How do you add a number to a macro variable? : sas-macro

549


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

633


What are the implications?

1187


What are the ways in which macro variables can be created in sas programming?

573


Are you sensitive to code walk-throughs peer review or QC review?

2615