PROC SURVEYSELECT might not be optimized to pull a random sample from a large database. You might look at an SQL technique that allows you to push more of that work to the database. Here's a paper that describes the technique:
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!