Posts Tagged ‘ sas programming ’

How to format a macro variable

October 16, 2017
By

Would you like to format your macro variables? Easy!  Just use the %FORMAT function, like this: What?! You never heard of the %FORMAT function? Of course not, cuz it doesn't exist! No problem. Just create it, like this: %macro format(value,format); %if %datatyp(&value)=CHAR %then %sysfunc(putc(&value,&format)); %else %left(%qsysfunc(putn(&value,&format))); %mend format; The %FORMAT

The post Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on How to format a macro variable

Learning in the middle of the night – or whenever

October 5, 2017
By

Sometimes life is just too busy, and I bet many of you feel the same way. If you’re like me, you’re playing a number of roles: employee, spouse, parent, community leader, coach and so on. With all the craziness, it’s likely we’re shortchanging another role that’s critically important to our

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Learning in the middle of the night – or whenever

Data-driven simulation

September 27, 2017
By
Data-driven simulation

In a large simulation study, it can be convenient to have a "control file" that contains the parameters for the study. My recent article about how to simulate multivariate normal clusters demonstrates a simple example of this technique. The simulation in that article uses an input data set that contains

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Data-driven simulation

WUSS 2017: The Papers

September 16, 2017
By
WUSS 2017: The Papers

The Western Users of SAS Software 2017 conference is coming to Long Beach, CA, September 20-22.  I have been to a lot of SAS conferences, but WUSS is always my favorite because it is big enough for me to learn a lot, but small enough to be really friendly. If you come I hope...
Read more »

Tags: , ,
Posted in SAS | Comments Off on WUSS 2017: The Papers

Choose Your SAS Interface

September 15, 2017
By
Choose Your SAS Interface

A while back, I wrote about the proliferation of interfaces for writing SAS programs.  I am reposting that blog here (with a few changes) because a lot of SAS users still don’t understand that they have a choice. These days SAS programmers have more choices than ever before about how to run SAS.  They...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on Choose Your SAS Interface

Using FILENAME ZIP and FINFO to list the details in your ZIP files

September 8, 2017
By

It's time to share another tip about working with ZIP files in SAS. Since I first wrote about FILENAME ZIP to list and extract files from a ZIP archive, readers have been asking for more. Specifically, they want additional details about the files that are contained in a ZIP, including

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Using FILENAME ZIP and FINFO to list the details in your ZIP files

Using Notepad++ as your SAS code editor

August 25, 2017
By

News flash: My favorite SAS code editor is SAS Enterprise Guide. However, my favorite general purpose text editor is Notepad++, and I often find myself using that tool for viewing SAS log files and for making small modifications to SAS programs. Judging from the popularity of this SAS Support Communities

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Using Notepad++ as your SAS code editor

Code debugging and program history in SAS Enterprise Guide

August 18, 2017
By

SAS programmers have high expectations for their coding environment, and why shouldn't they? Companies have a huge investment in their SAS code base, and it's important to have tools that help you understand that code and track changes over time. Few things are more satisfying as a SAS program that

The post Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on Code debugging and program history in SAS Enterprise Guide

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.