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

What are the default statistics that proc means produce?

0 Answers  


what are the methods that you would employ to fine tune your SQL extract process using SAS/Access or Proc SQL?

1 Answers  


what do the pad and dim functions do? : Sas programming

0 Answers  


What is the pound sign used for in the data_null_ ?

1 Answers  


For what purpose(s) would use the RETURN statement?

1 Answers  






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  


Do you need to know if there are any missing values?

0 Answers  


wat has been most common programming mistake?

3 Answers  


Have you ever used the SAS Debugger?

0 Answers   Quintiles,


Explain the difference between informat and format with an example.

0 Answers  


explain the difference between proc means and proc summary?

0 Answers  


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

0 Answers  


Categories