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 |
What is the difference between a PROC step and a DATA step?
What are the prime responsibilities of data integration administrator? : Sas-di
What is the maximum length of the macro variable?
what are the new features included in the new version of SAS i.e., SAS9.1.3?
5 Answers College School Exams Tests, Wockhardt,
what are the categories that sas informats are used to the place the data? : Sas-administrator
what is the difference between nodup and nodupkey options? : Sas programming
what is the use of catalog?
What do the put and input function do?
explain the key concept of sas? : Sas-administrator
If a variable contains only numbers, can it be a character data type?
How to get part of string form the source string without using sub string function in SAS?
/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;