Sorting Pitfalls

May 19, 2010
By

SAS Proc sort is probably one of the easiest procs to use. And sorting in other programs/software is generally pretty straightforward. However, there are a few things I always remind myself when sorting.When you use proc sort you don't know who is do...
Read more »

How to generate ICD9 table

May 19, 2010
By
How to generate ICD9 table

data icd; infile 'http://within.dhfs.state.wi.us/helpfiles/dlookupbrowse.html' truncover; input star code $5. description $100.; if anyalpha(substr(code, 5, 1))=1 then addon=substr(code, 5, 1);run;data icd1; set icd nobs=nobs; code=compress(code, addo...
Read more »

The top12 pharms

May 19, 2010
By

1. Data import: input/format/label/keep+array2. GTL can definitely be reused;data top12; input rank company & $20. country & $15. revenue comma12.2 netincome comma12.2 employee; personearn=(netincome/employee)*1000000; format revenue dolla...
Read more »

Cloud App

May 18, 2010
By

Oh man it has been a long time since I have updated this blog. So what's new?I have a new son! The band I am playing in recently played a gig at the Whisky A Go Go in Hollywood. We're playing at The Cat Club in Hollywood this Thur come one...
Read more »

Sending the LOG and OUTPUT from PC SAS to a seperate file

May 18, 2010
By

Here is how to direct the SAS LOG file and or SAS Output  to a seperate file. Approach 1: Using Display Manager Statements; filename log 'C:\temp\logfile.log'; filename out 'C:\temp\output.lst'; *Select only male students and age les...
Read more »

How to generate HCPCS 2009 long description

May 18, 2010
By
How to generate HCPCS 2009 long description

data two; infile 'https://www.cms.gov/HCPCSReleaseCodeSets/Downloads/INDEX2009.pdf' truncover; input @1 code $5. @7 description $200.; if code='Page ' then delete; if code=' ' then delete;run;proc sort data=two; by code;run;proc tr...
Read more »

Text output in friendly format

May 17, 2010
By

Format output for cut-and-paste from the output window This is less of a trick and more of a tip, I guess.  The SAS output window is displayed in SAS Monotype font.  This is a hassle when you need to cut-and-paste into, say, a word document, ...
Read more »

What do Simon Cowell, Elvis Presley and SAS have in common?

May 17, 2010
By

Larry LaRusso is the Editor of SAS Training Report. His editorial letter from the May issue was so good, I thought I would share it with you. Enjoy! If you had to choose the Simon Cowell of the mid-1900s, you'd be hard-pressed to pick someone m...
Read more »

The browser spectrum is getting harder to support

May 14, 2010
By

Raise your hand if you have an iPad or iPad envy? All of you with your hands up know what I mean when I say "but hey, we want to develop using the cool new stuff." We try very hard to use standards for the SAS Customer Support site that...
Read more »

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.

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: tal.galili@gmail.com
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.