Tag: sas programming

Passing comma-delimited values into SAS macros and macro functions

Have you ever tried to pass comma-delimited values to SAS macro or to a SAS macro function? How can SAS distinguish commas separating parameters or arguments from commas separating parts of the values? Passing comma-delimited value as an argument to a SAS macro function Let’s say you want to extract […]

Passing comma-delimited values into SAS macros and macro functions was published on SAS Users.

SAS Press Author Derek Morgan on Timetables and Model Trains

Posted on behalf of SAS Press author Derek Morgan. I was sitting in a model railroad club meeting when one of our more enthusiastic young members said, “Wouldn’t it be cool if we could make a computer simulation, with trains going between stations and all. We could have cars and […]

SAS Press Author Derek Morgan on Timetables and Model Trains was published on SAS Users.

Summer reading – Book recommendations from SAS Press authors

One of my favorite parts of summer is a relaxing weekend by the pool. Summer is the time I get to finally catch up on my reading list, which has been building over the year. So, if expanding your knowledge is a goal of yours this summer, SAS Press has […]

Summer reading – Book recommendations from SAS Press authors was published on SAS Users.

Finding n-th instance of a substring within a string

“There’s a way to do it better – find it.” – Thomas A. Edison When it comes to SAS coding, this quote by Thomas A. Edison is my best advisor. Time permitting, I love finding better ways of implementing SAS code. But what code feature means “better” – brevity, clarity […]

Finding n-th instance of a substring within a string was published on SAS Users.

Interview with new SAS Press authors: Jim Blum and Jonathan Duggins

Want to learn SAS programming but worried about taking the plunge? Over at SAS Press, we are excited about an upcoming publication that introduces newbies to SAS in a peer-review instruction format we have found popular for the classroom. Professors Jim Blum and Jonathan Duggins have written Fundamentals of Programming […]

Interview with new SAS Press authors: Jim Blum and Jonathan Duggins was published on SAS Users.

SAS or Python? Why not use both? Using Python functions inside SAS programs

Two sayings I’ve heard countless times throughout my life are “Work smarter, not harder,” and “Use the best tool for the job.” If you need to drive a nail, you pick up a hammer, not a wrench or a screwdriver. In the programming world, this could mean using an existing […]

SAS or Python? Why not use both? Using Python functions inside SAS programs was published on SAS Users.

Read RSS feeds with SAS using XML or JSON

This blog post could be subtitled “To Catch a Thief” or maybe “Go ahead. Steal this blog. I dare you.”* That’s because I’ve used this technique several times to catch and report other web sites who lift the blog content from blogs.sas.com and present it as their own. Syndicating blog […]

The post Read RSS feeds with SAS using XML or JSON appeared first on The SAS Dummy.

Dividing by zero with SAS

Whether you are a strong believer in the power of dividing by zero, agnostic, undecided, a supporter, denier or anything in between and beyond, this blog post will bring all to a common denominator. History of injustice For how many years have you been told that you cannot divide by […]

Dividing by zero with SAS was published on SAS Users.