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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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