Created
September 10, 2018 19:27
-
-
Save statgeek/48502af614d72f51ea3c714c73e3604e to your computer and use it in GitHub Desktop.
SAS - check if ODS GRAPHICS is enabled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*This program checks if the ODS GRAPHICS option is enabled | |
| Originally from: | |
| https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-you-query-if-ODS-GRAPHICS-is-on-or-off/m-p/494271 | |
| */ | |
| *check current status; | |
| %put NOTE:- Current Status = &sysodsgraphics; | |
| *turn on graphics, explicitly; | |
| ods graphics on; | |
| *check status; | |
| %put NOTE:- Status On = &sysodsgraphics; | |
| *Turn off graphics off; | |
| ods graphics off; | |
| *check status; | |
| %put NOTE:- Status Off = &sysodsgraphics; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment