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 is AE onset date and what is RDS?

4 Answers   Accenture,


What is the use of function Proc summary?

0 Answers  


What are the limitations for memory allocation for SAS variables

0 Answers   Signetsoft,


What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???

3 Answers  


What commands are used in the case of including or excluding any specific variables in the data set?

0 Answers  






what is a post baseline?

2 Answers   Accenture,


Explain the difference between nodup and nodupkey options?

0 Answers  


What is the difference between an informat and a format? Name three informats or formats.

13 Answers   Accenture, IBM,


What is a pdv and what are its functions?

0 Answers  


What is the difference between %local and %global?

1 Answers  


Have you ever linked SAS code, If so, describe the link and any required statements used to either process the code or the step itself?

4 Answers  


data study; input Subj : $3. Group : $1. Dose : $4. Weight : $8. Subgroup; x= input(Weight,5.1); datalines; 001 A Low 220 2 002 A High 90 1 003 B Low 193.6 1 004 B High 165 2 005 A Low 123.4 1 ; Why does X get truncated? X shows up as 22 instead of 220,9 instead of 90 and 19.8 instead of 198? This problem doesnt happen with the values 193.6 and 123.4. This does not happen if x is read on the 5. informat instead of the 5.1 informat

2 Answers  


Categories