BookmarkSubscribeRSS Feed
Lewinda
Calcite | Level 5

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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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