In reply to Dieter Schellberg.

Sure. That's called the point-in-polygon problem. There are several ways to solve the problem in SAS. PROC GINSIDE is part of SAS/GRAPH. In SAS/IML, the Polygon package contains the PolyPtInside function, which enables you to determine which points are inside a polygon. See the example on p. 3 of the documentation for the Polygon package.