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.
Thank you.
Al
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?
Yes, I'm familiar with the viewtable, and, I hadn't thought of doing the libname work approach. That may be my fallback approach.
Thank you.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.