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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 364 views
  • 0 likes
  • 1 in conversation