Hello all. Sorry for the simple question, but I can't for the life of me remember the option, and searching online has been un-helpful this far.
When you export a dataset to Excel from within sas, it will truncate your character values to 1024 (which is the default dbmax_text setting). I know there is a way to increase this setting, however I cannot remember where you specify the option.
If I remember correctly, I believe you use text_size, or something similar within proc export itself, but that does not seem to be working.
If anyone can help, it would be appreciated!
Brandon
Does anyone know if there is a global option I can specify to not truncate character columns at 1024 when exporting to excel?
If so I can also specify that option right before the read in!
Thanks
dbmax_text= can be used in a libname statement using an excel engine when reading data from an excel file.
libname demo excel '.../myexcelfile.xlsx' dbmax_text=3000;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.