Posts Tagged ‘ sas programming ’

Determining the size of a SAS data set

April 25, 2017
By

When developing SAS® data sets, program code and/or applications, efficiency is not always given the attention it deserves, particularly in the early phases of development. Since data sizes and system performance can affect a program and/or an application’s behavior, SAS users may want to access information about a data set’s

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Determining the size of a SAS data set

Introducing The Little SAS Enterprise Guide Book

April 13, 2017
By
Introducing The Little SAS Enterprise Guide Book

There is a new member of The Little SAS Book family: The Little SAS Enterprise Guide Book.  This book is for people who use SAS Enterprise Guide as their interface.  EG is a point-and-click interface for SAS, but it’s great for programmers too.  And this book includes a new chapter covering the wonderful features...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on Introducing The Little SAS Enterprise Guide Book

What’s your SAS interface?

April 12, 2017
By

I recently asked a SAS user, “Which interface do you use for SAS?” She replied, “Interface? I just install SAS and use it.” “You’re using the SAS windowing environment,” I explained, but she had no idea what I was talking about. This person is an extremely sophisticated SAS user who

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on What’s your SAS interface?

Is ODS graphics enabled? Use automatic macro variables to determine the state of SAS

March 27, 2017
By

Did you know that you can check a SAS macro variable to see if ODS graphics is enabled? The other day I wanted to write a SAS program that creates a graph only if ODS graphics is enabled. The solution is to check the SYSODSGRAPHICS macro variable, which is automatically

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Is ODS graphics enabled? Use automatic macro variables to determine the state of SAS

Discover information about SAS formats… programatically

March 20, 2017
By
Discover information about SAS formats… programatically

SAS formats are very useful and can be used in a myriad of creative ways. For example, you can use formats to display decimal values as a fraction. However, SAS supports so many formats that it is difficult to remember details about the format syntax, such as the default field

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Discover information about SAS formats… programatically

LEAVE and CONTINUE: Two ways to control the flow in a SAS DO loop

March 15, 2017
By

SAS programmers who have experience with other programming languages sometimes wonder whether the SAS language supports statements that are equivalent to the "break" and "continue" statements in other languages. The answer is yes. The LEAVE statement in the SAS DATA step is equivalent to the "break" statement. It provides a

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on LEAVE and CONTINUE: Two ways to control the flow in a SAS DO loop

Find a pattern in a sequence of digits

March 10, 2017
By
Find a pattern in a sequence of digits

I recently needed to solve a fun programming problem. I challenge other SAS programmers to solve it, too! The problem is easy to state: Given a long sequence of digits, can you write a program to count how many times a particular subsequence occurs? For example, if I give you

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Find a pattern in a sequence of digits

Transitioning from programming in SAS 9 to SAS Viya

March 8, 2017
By

Editor’s note: This is the first in a series of posts to help current SAS programmers add SAS Viya to their analytics skillset. In this post, SAS instructors Stacey Syphus and Marc Huber introduce you to the new Transitioning from Programming in SAS 9 to SAS Viya video library, designed to show SAS programmers

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Transitioning from programming in SAS 9 to SAS Viya

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.