BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6
I am using a stored procedure for a report in WRS. I need to ro the Stored Proc way in order to gain some extra security control.
Problem is users want to export the table dumped by proc tabulate.

Is there a way of making the output of proc tabulate easier to export to Excel?
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
There is a difference between a SAS Stored Process and the kind of stored procedure that you would run in Oracle or DB2. However, if you are using a SAS Stored Process in Web Report studio, you might experiment with running the the same Stored Process in Excel (using the SAS Add-in for Microsoft Office).

Generally, if your SAS Stored Process is designed to execute from different client applications, then you could execute the SAS Stored Process in Word (using the SAS Add-in) and the results would come back to a Word doc. If you execute the SAS Stored Process in Excel (using the SAS Add-in) then the results would come back to a new Excel workbook or worksheet.

So if you use the SAS Add-in to Microsoft Office, you would not need to explicitly -EXPORT- the results to Excel because the stored process results would automatically come back in the correct form (using the SAS Add-in for Microsoft Office).

If your users ONLY have Web Report Studio and do NOT have the SAS Add-in for Microsoft Office, then I believe the "send to Excel" mechanism within WRS is all that is available to you from drop down menus.

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1 reply
  • 676 views
  • 0 likes
  • 2 in conversation