Valid in: | Anywhere |
Category: | ODS: Output Control |
Tip: | You can maintain a selection list for one destination and an exclusion list for another. However, it is easier to understand the results if you maintain the same types of lists for all of the destinations to which you route output. |
See: | ODS EXCLUDE Statement |
Univariate.City_Pop_90.TestsForLocationThen the partial paths are as follows:
City_Pop_90.TestsForLocation TestsForLocation
"The UNIVARIATE Procedure"."CityPop_90"."Tests For Location"Then the partial label paths are as follows:
"CityPop_90"."Tests For Location" "Tests For Location"
To temporarily suspend a destination, use ODS SELECT NONE. Use ODS SELECT ALL when you want to resume sending output to the suspended destination.
ods select where=(_name_ ? 'Histogram');
City_Pop_90.TestsForLocation
: ods select / where=(_path_ = 'City_Pop_90.TestsForLocation' );
Features: |
ODS SHOW statement
|
Other features: |
PROC GLM PROC PRINT PROC PLOT |
Data set: | Iron |
ods html body='odspersist-body.htm' frame='odspersist-frame.htm' contents='odspersist-contents.htm' page='odspersist-page.htm';
ods show;
ods select ParameterEstimates "Type III Model ANOVA";
ods show;
proc glm data=iron; model loss=fe; title 'Parameter Estimates and Type III Model ANOVA'; run;
ods show;
quit;
ods show;
proc glm data=iron; model loss=fe; title 'All Output Objects Selected'; run; quit;
ods select OverallANOVA(persist) "Fit Statistics";
proc glm data=iron; model loss=fe; title 'OverallANOVA and Fitness Statistics'; run;
quit;
ods show;
proc glm data=iron; model loss=fe; title 'OverallANOVA'; title2 'Part of the Selection List Persists'; run;
quit;
proc print data=iron; title 'The IRON Data Set'; run;
ods select all;
proc plot data=iron; plot fe*loss='*' / vpos=25 ; label fe='Iron Content' loss='Weight Loss'; title 'Plot of Iron Versus Loss'; run;
quit;
ods html close;
ods html body='odspersist-body.htm' frame='odspersist-frame.htm' contents='odspersist-contents.htm' page='odspersist-page.htm';
proc glm data=iron; model loss=fe; title 'OverallANOVA'; title2 'Part of the Selection List Persists'; run;
proc plot data=iron; plot fe*loss='*' / vpos=25 ; label fe='Iron Content' loss='Weight Loss'; title 'Plot of Iron Versus Loss'; run;
Features: |
ODS SELECT statement option:: WHERE=
ODS HTML statement |
Other features: |
PROC UNIVARIATE |
data BPressure; length PatientID $2; input PatientID $ Systolic Diastolic @@; datalines; CK 120 50 SS 96 60 FR 100 70 CP 120 75 BL 140 90 ES 120 70 CP 165 110 JI 110 40 MC 119 66 FC 125 76 RW 133 60 KD 108 54 DS 110 50 JW 130 80 BH 120 65 JW 134 80 SB 118 76 NS 122 78 GS 122 70 AB 122 78 EC 112 62 HH 122 82 ; run;
title 'Systolic and Diastolic Blood Pressure';
ods trace on / label excluded;
ods select where=(_path_ ? "Diastolic" and _name_='Moments') ;
proc univariate data=BPressure; var Systolic Diastolic; run;
data BPressure; length PatientID $2; input PatientID $ Systolic Diastolic @@; datalines; CK 120 50 SS 96 60 FR 100 70 CP 120 75 BL 140 90 ES 120 70 CP 165 110 JI 110 40 MC 119 66 FC 125 76 RW 133 60 KD 108 54 DS 110 50 JW 130 80 BH 120 65 JW 134 80 SB 118 76 NS 122 78 GS 122 70 AB 122 78 EC 112 62 HH 122 82 ; run;