Improve your chance of landing a job
|
ENTER YOUR PRIMARY EMAIL
|
ACCESS TO SAS
Most of the Colleges in the US and Canada provide SAS access to the current students, alumni or visitors. Contact the Mathematics or Statistics department and see whether SAS is available to you! FREE RESOURCES
BECOME A SAS PROGRAMMER
Get Free SAS Training and Learn How to Land a SAS Programmer Job Sign up Now |
Good SAS Programming Practices
1. Keep a Program Header In practice, certain SAS programs are often re-used or modified after a long period of time. When you have to dig out the program that you wrote 3 months ago from a pile of similar programs, it will be very helpful if the details of the programs are highlighted to you. The program header serves just that purpose. Try adding the template below to your program header. One minute of work now might save you hours of time in the future! * Program name/path: SASCrunch.sas / C:\SAS\ * Author: SASCrunch * Date started: 01JAN2012 * Description: * Datasets used: * Revised History: * Date: * Author: * Description of Change: ; 2. Use short Variable Name Use the shortest variable name that reflects the meaning of the data. Example
Try limiting the name to less than 7 characters. It is fast. It is less error-prone. It will save you some good typing time! 3. Keep a clean log window Generating a statistical reports normally require running more than just a few programs. The more programs you have, the longer the Log Windows tend to be. To avoid spending a good 5 to 10 minutes scrolling down meaningless notices from SAS, you can search for the following 5 keywords for potential errors. a. Error b. Warning c. Uninitiated d. Merge e. Invalid Keep the log window clean. Try searching for these keywords to ensure your programs are bug-free!
|