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 |
How to read the file names of a text files from a shared drive using SAS?
%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help
What are the uses of sas?
Given an unsorted data set, how to read the last observation to a new data set?
How did you use the round function?give an example(don't say it will round to the nearest intger) eg1:round(84.55,.1) =84.6 eg2:round(92.64,.1)=92.6,How it is happening like this tell me the logic,that is how the round function works when we have deimal values?
How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
Write a SAS macro to calculate number of numbers in an email address
What are the functions used for character handling?
how do u identify a macro variable
If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Difference b/n proc means and proc summary procedures?