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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 84 views
  • 0 likes
  • 2 in conversation