Posts Tagged ‘ DS2 ’

Jedi SAS Tricks: Pattern Search in DS2

December 5, 2017
By

Finding a pattern like a phone number or national ID number embedded in text can be difficult and time consuming. The traditional DATA step has a family of functions (collectively referred to as PRX functions) that allow using Perl regular expressions ...
Read more »

Tags: , , ,
Posted in SAS | Comments Off on Jedi SAS Tricks: Pattern Search in DS2

SAS Jedi Christmas – SAS 9.4 M4 DS2 Do Loop Upgrade

December 29, 2016
By

This SAS Jedi is very excited about the SAS 9.4 M4 release, which brought many wonderful gifts just in time for Christmas. So in the interest of extending the Christmas spirit, I'm going to blog about some of my favorites! I've long loved the SAS DO statement variant which allows

The post Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on SAS Jedi Christmas – SAS 9.4 M4 DS2 Do Loop Upgrade

SAS Jedi and DS2 Guru: Mark Jordan

November 21, 2016
By

Maybe programming isn’t quite as dangerous as a lightsaber battle, but if you think using SAS to turn data into action feels a little bit like magic, you should know that nobody is better at harnessing “the Force” of DS2 than SAS Jedi Mark Jordan. Mark has a resume that

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on SAS Jedi and DS2 Guru: Mark Jordan

Jedi SAS Tricks: Writing to Text Files from DS2

June 6, 2016
By

A reader posed a question in the comments to an earlier Jedi SAS Trick, asking how to write the results of a DS2 DATA _NULL_ program to a text file. It's an interesting question, as DS2 currently has no text file handling statements or capabilities. Take, for example, this traditional

The post Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on Jedi SAS Tricks: Writing to Text Files from DS2

The road to SAS Global Forum: A training Q&A with the Jedi SAS

April 1, 2016
By

The journey continues as we hear from the instructors for each of the courses being offered on Thursday and Friday, April 21 and 22 after SAS Global Forum. Next up is Mark Jordan who developed and will teach the Introduction to DS2 and Hadoop course. Why should people get excited

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on The road to SAS Global Forum: A training Q&A with the Jedi SAS

Using SAS DS2 to parse JSON

September 28, 2015
By

Thanks to the proliferation of cloud services and REST-based APIs, SAS users have been making use of PROC HTTP calls (to query these web services) and some creative DATA step or PROC GROOVY code to process the JSON results. Such methods get the job done (JSON is simply text, after

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Using SAS DS2 to parse JSON

SAS MapReduce: A Quick Followup by DS2

September 4, 2015
By

(DS2 would be the king!) Years ago I made up a piece of SAS code to demonstrate the basic idea of Map-Reduce. Now this idea can be best implemented by this piece of workable program with PROC DS2 (tested in SAS 9.4 TS1M2, Win7): PROC DS2; /* create some data –*/ data input_data /...
Read more »

Tags: , ,
Posted in SAS | Comments Off on SAS MapReduce: A Quick Followup by DS2

A Quick Look at SAS DS2 Merge

September 4, 2015
By

The code: data a;     input i a $ b $;     datalines;     1 a1A b1     1 a1A b1     2 a2 b2     ; run; data b;     input i a $ c $;     datalines;     1 a1C c1     2 .   c2     3 .  c3     ; run;...
Read more »

Tags: , ,
Posted in SAS | Comments Off on A Quick Look at SAS DS2 Merge

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.