Uses the standard sashelp.class table to generate output events.
1 Code Block
ODS
Explanation : Activates the ODS MARKUP destination with the 'event_map' tagset. Executes PROC PRINT on sashelp.class to generate the event stream, then closes all ODS destinations to finalize writing the 'test.xml' file.
Copied!
ods markup file='test.xml' tagset=event_map ;
proc print data=sashelp.class ; run ;
ods _all_ close ;
1
ods markup file='test.xml' tagset=event_map ;
2
PROC PRINT
3
DATA=sashelp.class ;
4
5
RUN ;
6
ods _all_ close ;
7
2 Code Block
DM Command
Explanation : Sends a command to the Display Manager to open the generated 'test.xml' file in SAS's internal web browser.
Copied!
dm "wbrowse 'test.xml'" ;
1
dm "wbrowse 'test.xml'" ;
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.