BookmarkSubscribeRSS Feed
YIN_YI_JEN
Obsidian | Level 7

Hi everyone,

 

I'm using the trial version of Viya, which can only run on Jupyter Notebook, and I would like to use WinSCP to connect to the server hosting my Viya trial. However, I cannot find the host name of the server hosting my Viya trial.

I tried

cas mySession listabout;

and I got

viya-host-name.jpg

I filled out "sasserver.demo.sas.com" in the host name text box in WinSCP, but a message saying "sasserver.demo.sas.com does not exist" popped out.

 

Does anyone know where I can find the host name?

Or is there an easier way to upload data sets in my computer to CAS in-memory?

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello @YIN_YI_JEN ,

 

I see your question has not been answered yet.

That is regrettable.

 

I think you have your data set available in a local SAS session.

Then you can write data step code to (re-)generate it. And then you copy / paste that data step code in Jupyter Notebook.

 

Here's how to write your data step code:

Jedi SAS Tricks: The DATA to DATA Step Macro
By SAS Jedi (Mark Jordan) on SAS Learning Post March 11, 2016

https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/

 

I know you have found another solution meanwhile, but maybe others can still profit from this macro.

 

Kind regards,

Koen