SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MirLuie
Calcite | Level 5

Good Evening!

 

I want to export a dataset to *.txt containing 6 "normal" columns and 1.700.000 rows.. It takes almost 2,5 hours.. Sometimes SAS EG even freezes and collapses. What am im doing wrong? Or is it normal?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
5 REPLIES 5
MirLuie
Calcite | Level 5

sorry for the late Reply.. my eg collapsed again 😞

 

i dont know the Code.. i just "click" Export as *txt..  column attribute Information is attached..

 

But I realized that some column lengthare too Long.. is this the Problem?

 

 

Kurt_Bremser
Super User

That one column of maximum length (32767) is killing you. It means SAS tries to write ~55 Gigabyte of text file.

Without that column, you'd only need 356 MB.

MirLuie
Calcite | Level 5
Thanks! I am wondering how can this happend? I did not set a the max length to this extent..
Reeza
Super User
I'm guessing you never likely set it anywhere so it assumed a default somewhere.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2854 views
  • 3 likes
  • 3 in conversation