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.

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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