BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
japelin
Rhodochrosite | Level 12

I want to show internal browser "results viewer" by dm command at specific timing.

I found dm next command but it can not show results viewer window but activate window and it works after all steps.

 

What I would like to do is to control the display of the results viewer not after the submit is finished,

but displaying the results of the proc print after a specific proc step.

 

for example

ods _all_ close;
ods html;
proc print data=sashelp.class;
run;
/* I wanna show results of sashelp.class by viewer here */
data _null_;
  rc=sleep(5);/* sleep is example of process. */
run;
proc print data=sashelp.cars;
run;
/* nomally results viewer showed here */

Does anyone know?

 

1 ACCEPTED SOLUTION

Accepted Solutions
japelin
Rhodochrosite | Level 12

As it turns out, there is no way to do this.

View solution in original post

2 REPLIES 2
ballardw
Super User

I am not sure  exactly what viewer you mean by "internal browser". ODS results only appear in the ODS destination(s) open.

The command  ODS Results will change the focus to the results window. In a program

DM 'ods results';

or Do you mean the data set viewer? That is the VIEWTABLE, short VT, command which can be issued with a DM command.

 

Syntax in a program file would look like:

dm 'VT libname.datasetname';
japelin
Rhodochrosite | Level 12

As it turns out, there is no way to do this.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 546 views
  • 0 likes
  • 2 in conversation