BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
cyrils
Calcite | Level 5

Hello all,

I am trying to upload a CSV file to build models afterwards on SAS Viya for learners. I cannot seem to upload anything onto SAS drive or visual analytics or Data explorer. In Visual analytics or Data explorer I simply don't have a tab to import data and on drive when I drag my file into a folder I created in "My folders", It presents an error message "Action failed. The Upload action is not supported.". I used Firefox then when discussing on the SAS chat we tried on Chrome but still no success.

I also have in Model Studio an error "An error occured, please contact system administrator (details:) line: 0". I guess it could be correlated.

Is there something I can do to resolve this issue ?

Information and screenshots:

Operating system: Ubuntu 20.04.4

Navigators: Firefox & Chrome

Viya for learners

Screenshot from 2022-08-16 15-30-12.png

Screenshot from 2022-08-16 15-29-35.png

Thank you for your help. Regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
cyrils
Calcite | Level 5

Hello,

With some help, I managed to upload csv data using SAS Studio V. For those with the same issue :

1. new SAS program

2. use this code:

data namefordataset;
infile datalines delimiter=',';
/* replace variable 1->n by the variable names with $ after for character variables */
input variable1 $ variable 2 $ ... $ variable n $;
datalines;
/* copy/paste csv content */
;
run;
/*replace userid by your login userid (email adress) */
libname test '/shared/home/userid/casuser';
proc copy in=work out=test;
run;

and run program.

3. When creating new project in Model Studio, for data go in data source tab, then search for casuser(your email) then your dataset. right click > load then choose the file created and confirm.

Regards,

View solution in original post

2 REPLIES 2
tom_grant
SAS Super FREQ

Sorry, data upload capability is not currently available in SAS Viya for Learners.

 

If you are associated with a University, please contact academic@sas.com to discuss.

cyrils
Calcite | Level 5

Hello,

With some help, I managed to upload csv data using SAS Studio V. For those with the same issue :

1. new SAS program

2. use this code:

data namefordataset;
infile datalines delimiter=',';
/* replace variable 1->n by the variable names with $ after for character variables */
input variable1 $ variable 2 $ ... $ variable n $;
datalines;
/* copy/paste csv content */
;
run;
/*replace userid by your login userid (email adress) */
libname test '/shared/home/userid/casuser';
proc copy in=work out=test;
run;

and run program.

3. When creating new project in Model Studio, for data go in data source tab, then search for casuser(your email) then your dataset. right click > load then choose the file created and confirm.

Regards,

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 Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1380 views
  • 0 likes
  • 2 in conversation