BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
soujik
Calcite | Level 5

Hi,

 

We are migrating code from sas coe to sas viya  and we are facing below error, please help me

 

ERROR: File RSTATS.PROGRAM_OUTPUT_FILES cannot be updated because its encoding does not match the session encoding or the file is
in a format native to another host, such as HP_UX_64, RS_6000_AIX_64, SOLARIS_64, HP_IA64.

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

@soujik wrote:

We are migrating code from sas coe to sas viya  and we are facing below error, please help me

ERROR: File RSTATS.PROGRAM_OUTPUT_FILES cannot be updated because its encoding does not match the session encoding or the file is in a format native to another host, such as HP_UX_64, RS_6000_AIX_64, SOLARIS_64, HP_IA64.


What is SAS coe?? Is it SAS 9.4??
What is file RSTATS.PROGRAM_OUTPUT_FILES?? Is it a dataset (*.sas7bdat) or a calalog?

Probably you need to change from wlatin1 to UTF-8 Encoding.
The SAS doc is full of examples / recommendations on how to do that.

Koen

View solution in original post

3 REPLIES 3
sbxkoenk
SAS Super FREQ

@soujik wrote:

We are migrating code from sas coe to sas viya  and we are facing below error, please help me

ERROR: File RSTATS.PROGRAM_OUTPUT_FILES cannot be updated because its encoding does not match the session encoding or the file is in a format native to another host, such as HP_UX_64, RS_6000_AIX_64, SOLARIS_64, HP_IA64.


What is SAS coe?? Is it SAS 9.4??
What is file RSTATS.PROGRAM_OUTPUT_FILES?? Is it a dataset (*.sas7bdat) or a calalog?

Probably you need to change from wlatin1 to UTF-8 Encoding.
The SAS doc is full of examples / recommendations on how to do that.

Koen

soujik
Calcite | Level 5

it is sas 9.4 and please provide sas doc to resolve issue

sbxkoenk
SAS Super FREQ

Hello,

 

This is doc for Viya 3.5.
But it is also valid for Viya 4.

(If you want , you can look up the same doc-sections for Viya 4)

 

SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation | SAS 9.4 / Viya 3.5
Migrating Data to UTF-8 for SAS® Viya® 3.5
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/viyadatamig/titlepage.htm

 

Migrating Data from WLATIN1 to UTF-8
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/viyadatamig/p1eedruqfsgqqcn1pmjof4br5xvt.h...

 

Koen

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 431 views
  • 0 likes
  • 2 in conversation