Hi,
I would like to export a txt file with semicolon instead a comma, is it possible to do this without procedure? Are there any place in configuration where i can change the default comma to semicolon?
The question is for SAS enterprise guide
Thank you very much
Maria
I couldn't see anything in the GUI, but I would expect it to be there somewhere....
Otherwise, a proc export is straighforward, just change the path. However, if EG is on the server you can't export directly to your local drive, so that's a downside. Hopefully someone else has a better answer!
proc export data=sashelp.air outfile='c:\_localdata\temp\test.txt' dbms=dlm replace;
delimiter=';';
run;
I couldn't see anything in the GUI, but I would expect it to be there somewhere....
Otherwise, a proc export is straighforward, just change the path. However, if EG is on the server you can't export directly to your local drive, so that's a downside. Hopefully someone else has a better answer!
proc export data=sashelp.air outfile='c:\_localdata\temp\test.txt' dbms=dlm replace;
delimiter=';';
run;
With EG 7.12x select "Text Files"
Hi @mcnunes
As mentioned by @Reeza, proc export is an easy option to get what you're looking for.
But if you want to use the export mentioned by @andreas_lds, you ahve to be aware that the delimiter (comma or semicolon) will be delimited by the Region and Language settings, in particular the Format one.
If you select French for instance on your local machine (where SAS Enterprise Guide is installed), you'll have the semicolon.
But if you have English, comma will be your delimiter.
Changing that setting may have too much impact on your machine.
So an easy alternative would be to add the /culture:fr parameter to your EG shortcut
Your new TARGET value would look like this:
D:\opt\sasinside\SASHome\SASEnterpriseGuide\7.1\SEGuide.exe /culture:fr
Hope that helps.
Cheers,
Damo
with portuguese it's work too.
"C:\Program Files\SASHome\x86\SASEnterpriseGuide\5.1\SEGuide.exe" /culture:pt
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!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.