BookmarkSubscribeRSS Feed
Quentin
Super User

Hi,

When you define a stored process prompt, you can assign an unformatted value, and formatted value.  So you have maybe

0=No

1=Yes

When the stored process runs, the unformatted values are passed via macro variables.

Was wondering, is there an easy way to get the formatted values? (e.g. is there an actual format catalog sitting somewhere that has this in it?, or somewhere in the metadata?).

Of course I built the prompt values, so can use the same data to build my own format.

But was curious if this was already sitting somewhere.

Planning to use this with a SP called from SPWA, and want to return a subtitle which displays some of the user provided prompt values in language they will recognize.

Thanks,

-Q.

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.
1 REPLY 1
metallon
Pyrite | Level 9

I have the same problem.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 1449 views
  • 0 likes
  • 2 in conversation