Your SAS programs, embedded in web apps and elsewhere

Streaming output from a SAS® Stored Process to Microsoft Excel

Reply
Contributor SGB
Contributor
Posts: 41

Streaming output from a SAS® Stored Process to Microsoft Excel

I have an output created thro PROC REPORT which I want to see as Excel report.

Is it possible to do that.

I have followed the steps in the following link.

http://support.sas.com/kb/40/683.html

The code in the above link works well

but my code produces only a blank page.

Can I get some suggestions on this?

SAS Super FREQ
Posts: 8,868

Re: Streaming output from a SAS® Stored Process to Microsoft Excel

Hi:

  I just did this in class last week. The examples do work to create output. But you CANNOT use the SAS Add-in for Microsoft Office or Web Report Studio to execute this stored process, once you change &_ODSDEST to be TAGSETS.EXCELXP. Microsoft Excel, via the Add-in, cannot "receive" this type of output from a stored process.

  So that's why the Tech Support note recomments that you should use a "Web-based client":

"This sample illustrates a common approach that can be used from a Web based client application" -- the Web based client applications are the Stored Process Web Application (SPWA) or the SAS Information Delivery Portal (IDP).

  If you used the Stored Process Web Application or the Information Deliver Portal and the stored process still did not work, then that would be an issue best resolved with Tech Support.

cynthia

Contributor SGB
Contributor
Posts: 41

Re: Streaming output from a SAS® Stored Process to Microsoft Excel

Posted in reply to Cynthia_sas

Thank you very much Cynthia.. This definitely helps.

I have one quick Q related to the example mentioned in the link..

Result looks like it’s continuing to run on the web page.  will it cause any issues in the web environment ?

Thanks

Bhuvana

Ask a Question
Discussion stats
  • 2 replies
  • 440 views
  • 3 likes
  • 2 in conversation