DATA Step, Macro, Functions and more

I received a note in my LOG file noting a threaded sort was used, and I do not what it means.

Reply
Occasional Contributor
Posts: 6

I received a note in my LOG file noting a threaded sort was used, and I do not what it means.

[ Edited ]

Hello,

 

I am working with a large data set. I sorted the data set, using 3 BY variables to do the sort. I received in my LOG file a NOTE that went something like this: "SAS Threaded sort was used" not the exact message but quite close. I want to know whether this is a "bad" thing, or if I should be worried that my data has been compromised? Why was a threaded sort used in this instance? Thank you for your time!

PROC Star
Posts: 554

Re: I received a note in my LOG file noting a threaded sort was used, and I do not what it means.

Super User
Super User
Posts: 7,430

Re: I received a note in my LOG file noting a threaded sort was used, and I do not what it means.

If your computer/server has multiple Cores, it can do multiple things at once.  Each of these things is called a thread.  For instance, SAS might break up the data into several chunks and send each of those chunks to seperate cores, each core doing a thread of its own, which at the end of the process all these threads are woven back together to get the end product. 

There is nothing to worry about, the Note just indicates that this was done.  Its only really relevant if you have limited time/space on your server and want SAS to use less threads (i.e. taking more time but less resource).

Ask a Question
Discussion stats
  • 2 replies
  • 123 views
  • 0 likes
  • 3 in conversation