Hi,
I am getting error Segmentation Violation In Task [ GPLOT (8 ] in SAS9.1.3. some times i am executing without any issues. Any idea how to prevent this error.
MPRINT(CREATEDEVIATIONGRAPH): proc gplot data=plot_data anno=anno_axis;
MPRINT(CREATEDEVIATIONGRAPH): format FORECAST_PERIOD_DT monyy_propcase.;
MPRINT(CREATEDEVIATIONGRAPH): label KAM_QTY= "KAM F (2,3,4)";
MPRINT(CREATEDEVIATIONGRAPH): label REG_QTY= "Region F (2,3,4)";
MPRINT(CREATEDEVIATIONGRAPH): label REQ_ORD_QTY= "Requested orders (2,3,4)";
MPRINT(CREATEDEVIATIONGRAPH): label KAM_APEQ_PCT= 'KAM Deviation (APEQ)';
MPRINT(CREATEDEVIATIONGRAPH): label REG_APEQ_PCT= 'Region Deviation (APEQ)';
MPRINT(CREATEDEVIATIONGRAPH): plot KAM_QTY*FORECAST_PERIOD_DT=1 REG_QTY*FORECAST_PERIOD_DT=2 REQ_ORD_QTY*FORECAST_PERIOD_DT=3 / overlay vaxis=axis1 haxis=axis2 legend=legend1 noframe des=""
name="JGJGJG" CVREF=graybb frontref;
MPRINT(CREATEDEVIATIONGRAPH): plot2 REG_APEQ_PCT*FORECAST_PERIOD_DT=4 / overlay vaxis=axis3 legend=legend1 noframe des="" name="qwe" cvref=(black lightgrey black) ;
MPRINT(CREATEDEVIATIONGRAPH): run;
Segmentation Violation In Task [ GPLOT (8 ]
gplopts+0x039a4 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasgplot
gplpars+0x006bc - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasgplot
gplot2+0x00020 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasgplot
gpldrv+0x00f34 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasgplot
guicrun+0x000e8 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasgplot
yspproc+0x00830 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasxshel
sasgplot+0x00170 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sasgplot
vvtentr+0x00130 - /opt/app/SAS/sas92/SASFoundation/9.2/sasexe/sas
___makecontext_v2+0x00108 - /lib/sparcv9/libc.so.1
NOTE: The SAS System stopped processing this step because of errors.
Hi:
Segmentation violations should probably be worked with Tech Support. To open a track with Tech Support, fill out the form at this link:
http://support.sas.com/ctx/supportform/createForm
cynthia
I assume monyy_propcase is a user-defined format?
Could you provide the code you used to set that up?
Did you find an answer? I'm running into a similar problem and the root of the problem is my annotation dataset.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.