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.
@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 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
it is sas 9.4 and please provide sas doc to resolve issue
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.