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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1887 views
  • 0 likes
  • 2 in conversation