As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Compare and Conquer SAS Programming Techniques

From sasCommunity
Jump to: navigation, search

Compare and Conquer SAS.jpg

by Sunil Gupta


New SAS e-Guide

Compare and Conquer SAS Programming Techniques

(Line-by-Line SAS Examples by Tasks)


This unique and evolving e-book, in pdf format, will allow for quicker searches to locate the exact SAS syntax for your specific task.


New SAS e-Guide: Compare and Conquer SAS Programming Techniques

Want to leverage your knowledge and understanding of the SAS language by analyzing the similarities and differences in similar SAS programming techniques and SAS Procedures? This unique e-book helps your productivity with organized, concise and task-oriented SAS examples. For typical programming challenges, selected SAS Procedures will be reviewed along with example based comparisons of similar SAS Procedures. SAS code from the pdf file can directly be searched/cut/pasted into your SAS program.


e-book Table of Contents

Figure 1: Anatomy of a SAS Program

Table 1: General Types of SAS Statements within a Data Step*

Table 2: Selected Analysis and Output Procedures

Table 3: General SAS Procedure statements

Table 4: SAS Procedure Examples

Table 5: INPUT Statement Examples

Table 6: Combining SAS Data Sets using Data Step

Table 7: Combining SAS Data Sets using PROC SQL

Table 8: SAS Date Value Examples

Table 9: PUT Statement Examples

Table 10: DO-LOOP Examples

Table 11: Array Examples

Table 12: SAS Utility Procedure Examples

Table 13: Format Modifiers for List Input Statement

Table 14: WHERE Special Operators

Table 15: Shorthand Variable Lists: Useful in statements such as DROP, KEEP, PUT, VAR, ARRAY and FORMAT

Table 16: Selected Data Set Options

Table 17: Types of User-Defined Formats and Informats

Table 18: Titles, Footnotes and Formats Examples

Table 19: Selected SAS Functions: Characters, Numeric and Dates

Table 20: TABLE statement operators in PROC TABULATE

Table 21: Selected PROC REPORT statement options

Table 22: DEFINE statement usage in PROC REPORT

Table 23: Summary of Key Differences between WHERE and IF Conditions to Subset Data Sets

Table 24: Managing Errors, Warnings and Critical Notes

Table 25: DATA Step Debugging Techniques


Search/Cut/Paste SAS code in your SAS program.

Preview, Order and Download this e-book now with free PDF updates.


E-mail Sunil to be included on his e-mail distribution list


More articles and books by Sunil Gupta.