BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

Can any one tell me how can I distribute a report through WRS where my report is being generated through a stored process.
I want to distribute my report by group breaks i.e.
branch wise
2 REPLIES 2
AngelaHall
SAS Employee
If the Stored Process is generating the report element (such as a crosstab), then using the 'by' statement within that PROC will generate STP results for each BY group.

If you would prefer to get the Web Report Studio Group By breaks, I would recommended that a SAS Information Map is generated to execute the SAS Stored Process, then in Web Report Studio create a report using the included report objects and add the Group By breaks there.

Zencos Consulting
http://www.zencos.com
RichardH_sas
SAS Employee
I haven't done a group break distribution personally, but I know it can be done. Here's the documentation; it starts talking about group breaks in step 12. http://support.sas.com/documentation/cdl/en/citug/61084/HTML/default/p0ssvy4ny3bg9mn1kr7cxepb2dc3.ht...

A word of warning: these are instructions for group breaks that are defined on a report section in WRS with a specific information map data source. You can still use the distribute report wizard on a report containing only a stored process. HOWEVER, if you had some sort of code in your stored process which defined groups, you'd have to write more code to distribute by those groups, probably using FILENAME EMAIL statements. So, the easy distribution for group breaks only works if you built the report based on an information map in WRS and selected hierarchy or category data items for the group breaks.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1002 views
  • 0 likes
  • 3 in conversation