BookmarkSubscribeRSS Feed
kritima
Obsidian | Level 7

Hello all,

 

I use below code run on my own computer environment. And it's work.

proc format ;
value $xfmt
'Miss1' = 'A0'x||'A0'x||'A0'x
'Miss2' = 'A0'x||'A0'x
'Miss3' = 'A0'x
;
run;

 

but when i change to run on server - i have gotten this error.
eventhrouh i add option encoding='utf-16';

 

Any solution for this issue? 

 


ScreenHunter_129 Oct. 05 18.33.jpg
1 REPLY 1
Ksharp
Super User
That is because your local sas has different encoding with sas at UNIX side.
Change your sas encoding in SASv9.CFG or SASENV_LOCAL . not at system option.


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

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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