Currently, Enterprise Guide does not support inserting a link to SAS tables that were returned via a result package. However, if you are willing to incur a few extra steps, there may be a workaround.
Register this code as a stored process that creates a transient result package:
*ProcessBody;
* Force to HTML output;
%let _ODSDEST=html;
%STPBEGIN;
* Create the output table in the "magic" directory;
libname stpwork "&_STPWORK";
data stpwork.test;
x=1; y=2; z=3;
run;
* Close the HTML destination and delete the HTML file;
ods &_ODSDEST close;
data _null_;
length fileref $8 rc 8;
rc = filename(fileref, "&_STPWORK.main.html");
rc = fdelete(fileref);
run;
%STPEND; When you run the stored process from EG, you will be presented with a "file download" dialog. Choose to save the file in a directory of your choosing. You can specify any name for the file, but make sure that the file extension is "sas7bdat". You can then drag-and-drop the file into EG, or use the EG menu sequence
File > Open > Data...
to open the table. You can delete the file when you are finished with it.
Vince
SAS R&D
... View more