SAS DM 'close table'
-
22-07-2019 - |
Question
to open a table in SAS we can use the DM "VT {tablename}" command.
What is the equivalent command to CLOSE the viewtable window???
Solution
Well... this command will close the viewtable window (replace {libref.dataset} with your data), but submitting it repeatedly will continue closing other viewtable windows that might also be open so you might want to tweek it a bit if that's an issue.
dm 'next VIEWTABLE:libref.dataset; end;';
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow