SAS SQL Tips

Posted on Jun 28, 2014 in Computer Science • Tagged with programming, SAS, tips, SQL

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

  1. A const column does …

Continue reading

Limiting/Filtering Results in SAS

Posted on May 28, 2015 in Computer Science • Tagged with programming, SAS, limiting, filtering

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

In the data step …


Continue reading

Copy Data in SAS

Posted on Aug 28, 2015 in Computer Science • Tagged with programming, SAS, copy, dataset, datasets, data step

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

/* copy data using the …

Continue reading

Transpose Data in SAS

Posted on Feb 26, 2015 in Computer Science • Tagged with programming, SAS, data manipulation, transpose

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

You can use the transpose procedure to tranpose a fat/thin data to a thin/fat data in SAS. For example, suppose we have a data set …


Continue reading

Manipulate Data in SAS

Posted on Jul 02, 2012 in Computer Science • Tagged with programming, SAS, SQL, data step, data manipulation

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Data Manipulation

  1. Create a user library if you want your SAS data sets to persist. For example, the following code creates a library named lib which points …


Continue reading

General Tips for SAS

Posted on Nov 02, 2009 in Computer Science • Tagged with character, programming, SAS, procedure, data step, tip

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

  1. Do not go crazy …


Continue reading