Author Archive

A SAS Note for Length Limit of Strings in CDISC Datasets

February 19, 2014
By
A SAS Note for Length Limit of Strings in CDISC Datasets

Clinical programmers are very familiar with the length limit of strings in CDISC compliant datasets, such as #1: variable names: <= 8 characters #2: variable labels: <= 40 characters #3: data set labels: <= 40 characters #4: data value of a single variable: <= 200 characters and they are due to the limitations of...
Read more »

Tags: ,
Posted in SAS | Comments Off

SAS Format Viewer and Others (EG)

February 7, 2014
By
SAS Format Viewer and Others (EG)

Today I tried to install a SAS format viewer, one of my favorite SAS AF utilities in a virtual machine, and it came out a bad news and a good news. The bad news is that the website I used to download the SAS Format Viewer (by Frank Poppe) is no longer accessible(LESSON LEARNED:...
Read more »

Tags: , ,
Posted in SAS | Comments Off

SAS Proc Groovy in Action: JSON File Processing

December 12, 2013
By

Last year I took a bite of the newly SAS Proc Groovy to read JSON data since there was no direct “proc import” or “infile” or “libname” way to play with JSON. Here is an nice example from SAS official blog, by Falko Schulz where Proc Groovy is used to parse Twitter JSON file:...
Read more »

Tags: , ,
Posted in SAS | Comments Off

The Hardware and Software 2013 I’m Most Thankful For

November 29, 2013
By

It’s time of year to give thanks. As a programmer, e-book reader, blog writer and web surfer, I should express my sincere appreciation to such hardware and software (I use majority of them at daily basis and most of them are free): 0. Hardware Lenovo Thinkpad W520 (This is not free): my workhorse machine, now...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

SAS Data Driven Programming: My 4 Favorite Techniques

November 7, 2013
By

I use relatively fixed patterns in my SAS  programming life. For so called data driven programming (or dynamic programming), I used the following 4 techniques, chronologically: macro array call execute list processing for each loop For a quick demo, I will start with a simple scenario in which the data set sashelp.zipcode should be...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

3 Ways to Convert SAS Datasets to Plain Codes

November 5, 2013
By

1. If you have SAS Enterprise Guide installed Try one of Chris Hemedinger’s EG plug-ins, “Data Set to DATA Step”. Chris also wrote a post for it, Turn your data set into a DATA step program. 2. If you need to embed the dataset to SQL Clauses Use one of Eric Gebhart’s ODS tagsets,...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Community Contributors to SAS/STAT

September 18, 2013
By
Community Contributors to SAS/STAT

I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. – Abraham Maslow, The Psychology of Science, 1966 Yes it’s true: since I have a pretty rich collection of SAS list processing macros, I’d like my list container to hold everything...
Read more »

Tags: ,
Posted in SAS | Comments Off

SAS ODS Tagsets Guru Eric Gebhart on Github

September 17, 2013
By

Check it out: https://github.com/EricGebhart Also, his homepage: http://ericgebhart.com/ Shameless Ad: I will have a talk on Github for SAS programmers in the forthcoming SESUG (Oct 20-23, 2013) at St.Pete Beach, FL. Welcome to drop by if you are on ...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Proc-x is looking for sponsors!

Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: [email protected]

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.