Create the ODS document sasuser.odsglm and open the DOCUMENT destination. The ODS DOCUMENT statement opens the DOCUMENT destination. The NAME= option assigns the name sasuser.odsglm to the ODS document that will contain the output from the PROC GLM program. The access-option WRITE provides Write access to the document. Note that odsglm will be created in the SASUSER library.
ods document name=sasuser.odsglm(write);