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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 672 views
  • 0 likes
  • 2 in conversation