Valid in: | Anywhere |
Category: | ODS: Output Control |
Restriction: | The LIBNAME statement that is used with the SASEDOC engine provides Read access to an output object. You cannot write an output object to a library with the SASEDOC engine, but you can delete or rename a data set. |
Features: |
ODS DOCUMENT statement: NAME= option |
Other features: |
LIBNAME statement: DOC_SEQNO option PROC DATASETS PROC GLM PROC PRINT |
Data sets: | Plants |
ods document name=sasuser.odsglm(write);
proc glm data=plant_stats; class month; model age age2 age3=month / nouni; manova h=month /print; run;
proc glm data=plants order=data; class type block; model stemleng=type block; means type; contrast 'compost vs others' type -1 -1 -1 -1 6 -1 -1; contrast 'river soils vs.non' type -1 -1 -1 -1 0 5 -1, type -1 4 -1 -1 0 0 -1; contrast 'glacial vs drift' type -1 0 1 1 0 0 -1; contrast 'clarion vs webster' type -1 0 0 0 0 0 1; contrast 'knox vs oneill' type 0 0 1 -1 0 0 0; quit;
ods document close;
libname mylib sasedoc '\sasuser.odsglm\glm\anova#1\stemleng';
proc datasets lib=mylib; run; quit;
proc print data=mylib.modelanova; run; proc print data=mylib.modelanova(doc_seqno=1); run;
proc glm data=plant_stats; class month; model age age2 age3=month / nouni; manova h=month /print; run;
proc glm data=plants order=data; class type block; model stemleng=type block; means type; contrast 'compost vs others' type -1 -1 -1 -1 6 -1 -1; contrast 'river soils vs.non' type -1 -1 -1 -1 0 5 -1, type -1 4 -1 -1 0 0 -1; contrast 'glacial vs drift' type -1 0 1 1 0 0 -1; contrast 'clarion vs webster' type -1 0 0 0 0 0 1; contrast 'knox vs oneill' type 0 0 1 -1 0 0 0; quit;