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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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