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?
As it turns out, there is no way to do this.
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';
As it turns out, there is no way to do this.
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!
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.