how to generate report for 0 observation dataset?

Answers were Sorted based on User's Feedback



how to generate report for 0 observation dataset?..

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

how to generate report for 0 observation dataset?..

Answer / suman pinnika

data _null_;
input name$ age sex$;
delete;
run;

Is This Answer Correct ?    1 Yes 0 No

how to generate report for 0 observation dataset?..

Answer / sakthi

data Employ;
length Eid 4 des $15 salary 7;
delete;
run;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

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?

6 Answers  


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.

2 Answers  


what versions of sas have you used (on which platforms)? : Sas programming

0 Answers  


What is the use of the %include statement?

0 Answers  


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

3 Answers  






How do you debug macros?

3 Answers   Accenture,


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?

6 Answers  


For what purposes have you used sas macros? : sas-macro

0 Answers  


Difference b/n proc means and proc summary procedures?

3 Answers   Accenture,


proc means? proc sort? proc append? proc freq? proc print? proc content?

4 Answers   Oracle,


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)?

0 Answers  


what are all the default values getting in PROC MEANS...???

2 Answers  


Categories