If you are new to using WRDS and SAS, I recommend to work through the following tutorials:
WRDS using SAS: Getting started - introduction into WRDS
Google market-to-book and return on assets - Using Compustat
Compustat: Compute return on equity (ROE) - Using Compustat
Restatement event study - Simple event study
Estimating the earnings response coefficient (ERC) - More complex event study
For learning SAS, please consider the materials included in the 'useful links'.
If you run into difficulties, or have questions, feel free to post in the forums for the tutorials.