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.


sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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