Learning SAS? Welcome to the exclusive online community for all SAS learners.

an exception was thrown while sending a packet to the peer

Reply
Occasional Learner
Posts: 1

an exception was thrown while sending a packet to the peer

Hi Everyone,

 

I received this error when trying to run the following code:

 


ods output OutputStatistics=DI_ENSOstats
FitSummary=DI_ENSOsummary;
PROC LOESS DATA=new.ee_interim_final1;
by name task trial;
MODEL DisgustIntensity = frameno/ smooth = 0.05 to 0.3 by 0.01 degree=2 residual all direct;
RUN;
data DI_AICC1;
set DI_ENSOsummary;
where Label1="AICC1";
run;
proc sort data=DI_AICC1; by trial SmoothingParameter; run;
proc means data=DI_AICC1;
by SmoothingParameter;
var nValue1;
output out=DI_AICC1 mean=AICC1;
run;

 

The code runs fine with SAS 9.4, but my university no longer carries that edition so I now have to use SAS University instead, and there is does not work.  Any idea what is going wrong?

 

All the best,

Sally

Super User
Super User
Posts: 7,962

Re: an exception was thrown while sending a packet to the peer

Posted in reply to SllyBridg02

Hi,

 

Have you tried running each statement individually to see which one causes the problem, I would imagine its the proc loess.  Remember UE is a cut down version for training purposes.  (just to note, you can use the {i} to open a code window which will keep your source formatting for example (e.g. indentation, capitilisations etc.)):

ods output outputstatistics=di_ensostats fitsummary=di_ensosummary;
proc loess data=new.ee_interim_final1;
  by name task trial;
  model disgustintensity = frameno/ smooth = 0.05 to 0.3 by 0.01 degree=2 residual all direct;
run;
data di_aicc1;
  set di_ensosummary;
  where label1="aicc1";
run;
proc sort data=di_aicc1; 
  by trial smoothingparameter; 
run;
proc means data=di_aicc1;
  by smoothingparameter;
  var nvalue1;
  output out=di_aicc1 mean=aicc1;
run;
Ask a Question
Discussion stats
  • 1 reply
  • 1283 views
  • 0 likes
  • 2 in conversation