October 2009
Beginner
636 pages
13h 35m
English
When you're running a procedure to produce an output data set, you might want to get rid of the results displayed in the Output window or listing file. The NOPRINT option, in addition to suppressing output from several procedures, can also prevent creation of ODS output data sets.
For example, let's say we're running a single model with the LOGISTIC procedure and we want to build a data set with the parameter estimates. After running the code once to find out the name of the output object (Parameter Estimates, as shown in Figure 7.16), you can set up the code as follows:
ODS OUTPUT "Parameter Estimates"=Params; proc logistic=traffic NOPRINT; model fatal=mph timeofday; quit; ODS OUTPUT CLOSE;
Read now
Unlock full access