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

how do you read binary data in sas?

3 Answers   Satyam,


How to create an external dataset with sas code?

0 Answers  


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

0 Answers  


what is SAS/Graph?

1 Answers   CitiGroup, NTPC,


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

0 Answers  






name few built in sas transformation in DI studio ?

4 Answers   SAS,


What is the basic syntax of a sas program?

0 Answers  


How do you use the do loop if you don’t know how many times you should execute the do loop?

0 Answers  


What is the difference between SAS Data step and SAS PROC SQL, and which is better?

1 Answers   TCS,


What are the different operating system platforms in which we can use sas? : sas-grid-administration

0 Answers  


you have a data set like this. data qqq; input name $ total; cards; qq 22 ww 33 qq 22 ee 44 rr 33 ww 44 ; run; and you want output like this......... name total qq 22 ww 44 Do it by data set step.

6 Answers  


what is the difference between infile and input? : Sas-administrator

0 Answers  


Categories