Ok, I think I found the problem. To define a length for the output, you have to define an ID variable. I defined the length of the ID variable in the data step just to make sure. data in1; set in1; idv=_n_; ods _all_ close; proc modelus data=in1 dk=11 neighbor; var xpos ypos; id idv; ods output test1; run; Thank you for your help Art.
... View more