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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 887 views
  • 0 likes
  • 2 in conversation