BookmarkSubscribeRSS Feed
ANON4
Obsidian | Level 7

Hello.  Can PROC SGPLOT be used in a SAS stored process?  For example, the code below runs fine on SAS Enterprise Guide but when I try to use it in a stored process I get a blank rectangle where the chart should be and an error that reads, "STP: A failure occurred in the Execution Context post processing."


proc sgplot data=have;
pbspline x=year_num y=unique_count / group=del_method datalabel=unique_count;
yaxis min=0 max=10000;
run;

1 REPLY 1
ANON4
Obsidian | Level 7

UPDATE:  I successfully produced the chart with a stored process by changing from "Stream" to "Package" result capabilities in the "Execution Options" section of the Stored Process Manager. I would really appreciate it if someone would share their insight as to why this change made a difference. Thanks!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 953 views
  • 0 likes
  • 1 in conversation