BookmarkSubscribeRSS Feed
caro_
Calcite | Level 5

Hi,

 

edit:

I found out that I want to Change the Encoding of a dataview instead of a dataset.

So I think one way would be to create a new dataset with the data view and then use the following code.

Is there another way I could accomplish my Task?

 

 

I tried to Change the Encoding from latin9 to utf-8 with the CVP engine in the following way:

 

libname lib_in "&PROJ_ROOT./data" outencoding='UTF-8';


%LET remo=dab01.pb.com 8741; 
options comamid=tcp; 
options remote=remo; 
options notes nomlogic nomprint linesize=120 compress=binary; 
options netencryptalgorithm=SASPROPRIETARY; 



signon cmacvar=signon_status user=username password="pwd"; 
rsubmit; 

libname dab cvp '/data/hist' access=readonly;

endrsubmit;

libname dab slibref=dab server=remo; 

proc datasets nolist;
  copy in=dab out=lib_in override=(encoding=session outrep=session);
run;

 

 

WARNING: Input library DAB is empty

 

However, once I delete the cvp part in my libname it works again (without Encoding changes). Help is much appreciated.

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 0 replies
  • 758 views
  • 0 likes
  • 1 in conversation