In the Enhanced Editor it is possible to generate a standard block of code or text using a simple abbreviation. Similar to the complete-the-text feature found in MSWord and other word processors, these abbreviations are easy to create. While in the Editor go to <tools> => <add abbreviation>.
If you're using SAS Enterprise Guide, you can get the same feature. Read about that in Tips:Editor Abbreviations in SAS Enterprise Guide
Feel free to comment on this tip.