Search code examples
sasdmdisplay-manager

SAS DM 'close table'


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;';