BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mcnunes
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

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;

View solution in original post

4 REPLIES 4
Reeza
Super User

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;
andreas_lds
Jade | Level 19

With EG 7.12x select "Text Files"

 

csv_export_colon.png

Damo
SAS Employee

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.

RegionAndLanguage.JPG

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

Culture.JPG

 

Hope that helps.

 

Cheers,
Damo

eltondamata
Calcite | Level 5

with portuguese it's work too.

 

"C:\Program Files\SASHome\x86\SASEnterpriseGuide\5.1\SEGuide.exe" /culture:pt

 

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

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 23477 views
  • 5 likes
  • 5 in conversation