BookmarkSubscribeRSS Feed
Reeza
Super User

First off, I have access to SAS 9.2 and 9.3, as well as EG 4.3 and 5.1, all running on individual Windows XP computers, ie no servers.

Here's what I'd like to do (and why).

There's a bunch of reports that I run regularly for other users that basically require setting macro parameters and running. For reasons beyond my control I can't send these reports to Microsoft Reporting Services which is what we use as our BI tool. 

I'd like to set it up so that if a user opens the appropriate project on EG and they can get prompted through the prompt manager and then the program will run using the macro variables set through the prompts.

I have the prompts set up and the program that generates the output that gets written to an excel file but I can't figure out how to get the prompt manager to run.

This seem simple enough when you have a server and can create a stored process, but if there's a way to do this with a single install I'd love to hear about it.

Thanks!

3 REPLIES 3
ChrisHemedinger
Community Manager

If you put the content that you want to run in a process flow named "Autoexec", EG will run it automatically when you open the project.

http://blogs.sas.com/content/sasdummy/2011/01/10/you-asked-for-it-the-autoexec-process-flow/

It that the behavior you're looking for?

Chris

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

That's definitely helpful and I'll play with it, but I'm unsure of how to get the prompt manager to run to set macro variables still.

ChrisHemedinger
Community Manager

If you've got a SAS program node for "Set macro variables"...

  1. Use View->Prompt Manager to get to the prompt manager window
  2. Add an appropriate prompt for each macro variable in your "Set macro variables" program
  3. While viewing the program in the editor, click on the Properties icon in the top right of the editor.
  4. In the Properties window, select the Prompts tab.  Use the buttons to Add each prompt (associating each prompt with this program).
  5. Move the "Set macro variables" program to a process flow named "Autoexec"

After you save the project, and then open it next time, you should see the prompts that you need pop up as the program gets ready to run.

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
  • 3 replies
  • 1017 views
  • 0 likes
  • 2 in conversation