For some reason, the final link above, to the excellent SAS Knowledge Base article "Simple Random Sample without Replacement" http://support.sas.com/kb/24/722.html no longer works.