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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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