BookmarkSubscribeRSS Feed
Jay_OAG
Calcite | Level 5
I have a WRS report with prompts. I have also included a stored process in my report. Should the prompts (macro variables) be accessible within the stored process? I have registered the stored process and was able to select it with WRS. I know I am using the correct macro variable name, but can't get access to the prompt value.

Any help would be appreciated.

Using WRS 4.3, EG 4.3 and Information Map 4.2
3 REPLIES 3
AngelaHall
SAS Employee
If you would like the stored process to utilize the prompt value, the prompt must be defined within the stored process definition rather than the web report.

There are samples on the support site that integrate stored processes with information maps when prompts are utilized. Here are some links:
http://support.sas.com/kb/37/028.html
http://support.sas.com/kb/40/758.html
http://support.sas.com/kb/36/193.html


~ Angela
Jay_OAG
Calcite | Level 5
Angela,
Thanks for the reply and the links. I have started looking them over and I think they will help me understand how to insert a prompt in my information map from a stored process.

I see that in the stored process code the macro variables are defined as global, will this allow me to access them from a stored process within my web report?

Thanks
Jay
Nithin
Calcite | Level 5
Hi Jay,

I have come across similar scenario. The global macros can be used in Information Maps as data items.

-Nithin

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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