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 |
what is AE onset date and what is RDS?
What is the use of function Proc summary?
What are the limitations for memory allocation for SAS variables
What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???
What commands are used in the case of including or excluding any specific variables in the data set?
what is a post baseline?
Explain the difference between nodup and nodupkey options?
What is the difference between an informat and a format? Name three informats or formats.
What is a pdv and what are its functions?
What is the difference between %local and %global?
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?
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