BookmarkSubscribeRSS Feed
advoss
Quartz | Level 8

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

2 REPLIES 2
SASKiwi
PROC Star

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?

advoss
Quartz | Level 8

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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1285 views
  • 3 likes
  • 2 in conversation