SAS macros and R functions to aid analysis on WRDS servers