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!

sas-innovate-white.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.

 

Early bird rate extended! Save $200 when you sign up by March 31.

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