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.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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