Posts Tagged ‘ PRX ’

SAS multiple character and varying length Delimiters

November 3, 2010
By

I've solved a problem I had in my previous post "Strip Characters From Between Two Delimiters".  At work I was given a strangely formatted data file - example. I needed to separate out the data chunks to work with it.  While my first solution...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

prxparse(dates)

February 4, 2010
By

suppose i’ve got some odd character dates defined as follows: d1='29-31 DEC 2009,04-05 JAN 2010'; *broken across month, year;d2='04-05,08-09,11-12 FEB 2010'; *broken within month;d3='01-03 MAR 2010'; *contiguous within month;d4='31...
Read more »

Tags: ,
Posted in SAS | Comments Off

prxparse(dates)

February 4, 2010
By

suppose i’ve got some odd character dates defined as follows: d1='29-31 DEC 2009,04-05 JAN 2010'; *broken across month, year; d2='04-05,08-09,11-12 FEB 2010'; *broken within month; d3='01-03 MAR 2010'; *contiguous within month; d4=...
Read more »

Tags: , ,
Posted in SAS | Comments Off

an mmddyyyy hhmmss informat. kinda.

October 20, 2009
By

a while ago, i took the hack shortcut of reading character datetime stamps into datetime values. i even went so far as suggesting a regex would be a better solution. well, here’s that better solution: data mmddyyyy_hhmmss_xm; if _n_=1 then do; ...
Read more »

Tags: , , , , , ,
Posted in SAS | Comments Off

an mmddyyyy hhmmss informat. kinda.

October 20, 2009
By

a while ago, i took the hack shortcut of reading character datetime stamps into datetime values. i even went so far as suggesting a regex would be a better solution. well, here’s that better solution: data mmddyyyy_hhmmss_xm; if _n_=1 then do; re...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

reading overlapping text segments

May 19, 2009
By

if you’re in the same boat as me, you’ve got sas 9.1.3 sp4 installed under windows. the thing about sas 9.1.3 sp4 running under windows is the lrecl is limited to 32,767 characters. (even though the sas kb says 1mb, that doesn’t appear to be true...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

reading overlapping text segments

May 19, 2009
By

if you're in the same boat as me, you've got sas 9.1.3 sp4 installed under windows. the thing about sas 9.1.3 sp4 running under windows is the lrecl is limited to 32,767 characters. (even though the sas kb says 1mb, that doesn’t appear to be true. at...
Read more »

Tags: , ,
Posted in SAS | Comments Off

scraping the sas training pages

January 15, 2009
By

hello SAS Tech Report readers! be sure to check out the rest of this blog and accompanying project. you can follow this blog via rss readers and follow me on twitter. now back to the post... UPDATE: it turns out that SAS has changed some things on the...
Read more »

Tags: ,
Posted in SAS | Comments Off

Proc-x is looking for 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: [email protected]

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.

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.