Help using Base SAS procedures

Encoding in proc export

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 5
Accepted Solution

Encoding in proc export

Hello

Is it possible to set encoding in proc export?


Accepted Solutions
Solution
‎01-21-2015 02:37 AM
Trusted Advisor
Posts: 1,300

Re: Encoding in proc export

Define a filename to use with outfile= and set the encoding option on the filename.

filename exprt '/my/file.txt' encoding="utf-8";

proc export data=sashelp.class outfile=exprt dbms=tab; run;

View solution in original post


All Replies
Solution
‎01-21-2015 02:37 AM
Trusted Advisor
Posts: 1,300

Re: Encoding in proc export

Define a filename to use with outfile= and set the encoding option on the filename.

filename exprt '/my/file.txt' encoding="utf-8";

proc export data=sashelp.class outfile=exprt dbms=tab; run;

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 5727 views
  • 0 likes
  • 2 in conversation