07-17-2012 09:48 AM
I am working from the enhanced editor window in PC/SAS. I have the explorer window open with tree view. Can I issue DM commands from the editor, to select and open a specific library in the tree, and maybe even programmatically open a specific table? For example, when I start SAS, I would like the explorer tree to automatically be opened to WORK library.
07-18-2012 04:59 PM
Yes you can open a table from a program with a DM statement:
dm "viewtable tablename";
You can even bring up a window showing the contents of a particular SAS library:
dm "libname work";
But as far as I am aware you can't use DM statements to drive the SAS explorer set up.
I assume you are familiar with customising the SAS explorer via Tools --> Options --> Explorer?