How experienced are you with customized reporting and use
of Data _Null_ features?
Answers were Sorted based on User's Feedback
Answer / ujas patel
_Null_ is usefull only When u want to use Datastep without
actually creating a SAS dataset.A set statement specifies
the SAS dataset that you want to read from.
Data _null;
Set Clinic.stress;
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / ganesh
This is used for when you dont want any output and u want
to save your time i will not gives u results but the
message can be displayed inthe log.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sunny
Data _null_ is also used to produce complex reports which cannot be customized in proc report.Proc doesnt allow us to use if statements where in data null we can use if statements to get the desired output.For example if you want multiple sub totals or if you want to print footnote only at the end of a page break.This is useful specially for pdf reports.
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the difference between SAS Data step and SAS PROC SQL, and which is better?
why a stop statement is needed for the point= option on a set statement?
What’s the difference between var b1 – b3 and var b1 — b3?
What are the rows present in protocol Violation table?
2 Answers Accenture, Quintiles,
what is the formula to measure Baseline
What is the difference between a PROC step and a DATA step?
What is the differnce between SDTM 3.1.2 to 3.1.1 version
I have a dataset with variables empid and doj how to calculate retirement age?
I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.
Name statements that function at both compile and execution time.
How to convert a numeric variable to a character variable?
what is metadata? : Sas-bi