how can u create zero observation dataset?
Answers were Sorted based on User's Feedback
Answer / chandra sekar
Use the following step
data test;
delete;
run;
| Is This Answer Correct ? | 15 Yes | 3 No |
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 |
Answer / nagendra
data class;
set sashelp.class;
if _n_ >= Then delete;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vishnu
for example
data vishnu;
length name $ age ;
run;
proc print data=vishnu;
run;
| Is This Answer Correct ? | 7 Yes | 11 No |
you have a data set like this. data qqq; input name $ total; cards; qq 22 ww 33 qq 22 ee 44 rr 33 ww 44 ; run; and you want output like this......... name total qq 22 ww 44 Do it by data set step.
what versions of sas have you used (on which platforms)? : Sas programming
what is slowly changing dimension? : Sas-di
what is the prob plot in clinical domain
What are the 3 components in sas programming?
How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C
What is SAS informats?
What other SAS features do you use for error trapping and data validation?
what is the effect of the options statement errors=1? : Sas programming
Difference between SAS STATA & SPSS?
if x=round(26.3,10)-1 then x= how much and how explain?
Tell different ways to create Macrovarible?
3 Answers Accenture, PharmaNet i3,