which can jog your memory by showing example code (used in the Perl Cookbook) implemented in several languages.
PLEAC - Programming Language Examples Alike Cookbook
Following the great Perl Cookbook (by Tom Christiansen & Nathan Torkington, published by O'Reilly; you can freely browse an excerpt of the book here) which presents a suite of common programming problems solved in the Perl language, this project aims to implement the solutions in other programming languages.
If successful, this project may become a primary resource for quick, handy and free reference to solve most common programming problems using various programming languages, and for comparison on ease-of-use and power/efficiency of these languages.
I didn't see SAS in the list of languages shown,
so you have an opportunity to add it to pleac
while you refresh your memory about the language.
If you publicize it, other SAS programmers may join you & quickly complete it.