how to generate report for 0 observation dataset?
Answers were Sorted based on User's Feedback
Answer / gaurav sharma
You can generate such report by using 'Like' Clause in Proc SQL.
This will create a dataset of structure similar to one you will ask for, but with zero observations.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / suman pinnika
data _null_;
input name$ age sex$;
delete;
run;
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sakthi
data Employ;
length Eid 4 des $15 salary 7;
delete;
run;
Is This Answer Correct ? | 1 Yes | 0 No |
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?
Could you please answers for this. 1.Code the tables statement for a single-level (most common) frequency. 2.Code the tables statement to produce a multi-level frequency.
what versions of sas have you used (on which platforms)? : Sas programming
What is the use of the %include statement?
data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks
How do you debug macros?
In a shcool there are 1000 students. After completion of every test in 6 subjects , each subject teacher submit the marks of every student at different times and loaded in the database commonly. How will you seperate the top two subject marks for each each studet using SAS?
For what purposes have you used sas macros? : sas-macro
Difference b/n proc means and proc summary procedures?
proc means? proc sort? proc append? proc freq? proc print? proc content?
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)?
what are all the default values getting in PROC MEANS...???