An Idea Exchange for SAS software and services

by Respected Advisor
on ‎06-10-2013 03:51 PM

Isn't Proc DS2 (multiple thread processing) doing what you want? If you have 9.3 or the last uupdate of 9.2

NOTE: The Blog of - Development With SAS: NOTE: DS2, Threaded Processing

by Contributor AndrewZ
on ‎06-10-2013 03:59 PM

DS2 looks promising but it is not a drop-in replacement for data steps.  In the short term I'd prefer not to have to learn DS2 and revalidate my code. 

A few months ago I think I saw your post, but I will take another look.

by Respected Advisor
on ‎06-10-2013 04:01 PM

I hear ya. BTW, that was not my blog Smiley Happy.

by Contributor AndrewZ
on ‎06-10-2013 04:18 PM

For what it's worth, I tried the example code, and it fails with a vague "compilation error."  Later I'll have to come back to figure out why.

by Respected Advisor
on ‎06-10-2013 05:48 PM

I just tried it, too. I don't know if this makes you feel better, same error happened to me as well. I did a brief search, add something to it per one of the SAS notes,

/* But first define the threaded code thread */

proc ds2;

  thread r /overwrite=yes sas_encrypt=yes;

  dcl double count;

It only helped for that pass, then it errored out further down. This makes me thinking DS2 in my current SAS version (9.3 TS1M1) is somehow buggy. I believe the Blogger was using beta version of SAS 9.4, as one of his links is pointing to 9.4 docs which I can't even click open (it requires some kind of credentials).  Let me know if you can find something interesting.


Idea Statuses
Top Liked Authors