BookmarkSubscribeRSS Feed
Lewinda
Fluorite | Level 6

I have created a SAS Report using multiple tasks.  This report is based on a prompts that provides me a employer-specific report (there are over 20,000 employers). Is there a way that I can print off individual reports for a sub-set of employers (700 employers) without have to run the report one at a time?  Note:  I am not able to store procedures.

TIA.

1 REPLY 1
ChrisHemedinger
Community Manager

The "bursting" of a batch of reports -- reports you designed using the SAS report builder -- is not something that you can accomplish interactively in EG.  Traditionally that is a batch SAS process or else something you accomplish in SAS Web Report Studio.

However, you might be able to accomplish this using SAS Enterprise Guide automation and scripting, if you don't mind writing a little bit of VBScript.  In script, you can programmatically set a prompt value, run a process flow, and export a result.  There are lots of automation examples in this sasCommunity.org article.

Otherwise, you can try to refactor your process into a single SAS program and control the report design with ODS LAYOUT, then use SAS Macro language to repeat the process for each report subject.  I have a simple example of that in this blog post:

Implement BY processing for your entire SAS program - The SAS Dummy

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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