BookmarkSubscribeRSS Feed
sazal131
Calcite | Level 5
Hi
In SAS enterprise miner, after scoring a dataset I want to export the result in CSV. Please can you write me the code ?

Many Thanks
2 REPLIES 2
ballardw
Super User

If you have the result in a data set then Proc Export would be one choice.

 

What have you tried so far?

Reeza
Super User

It's a standard export code, but the problem is that EM usually runs on a server, so knowing exactly where you need to save the file is usually the issue. 

 

Otherwise, I would expect there to be a node for this, to be honest. Or you can extract the scoring code, run it in Base SAS and then easily export to CSV as needed. This helps with streamlining a process if you're not refitting the model. 

 


@sazal131 wrote:
Hi
In SAS enterprise miner, after scoring a dataset I want to export the result in CSV. Please can you write me the code ?

Many Thanks

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1177 views
  • 0 likes
  • 3 in conversation