BookmarkSubscribeRSS Feed
RexDeus9
Quartz | Level 8

Hi,

 

Just like many of you, I have many requests by users to upload various data sets to VA. I mostly do it with SAS EG. (Why SAS EG when you can do this with VA?, I'm just a big fan of EG and and have many use for it when managing various issues of SAS).

 

And probably like many of you, I've created a SAS EG project to upload various data sources to VA. Lately I ran into this issue:

 

The internal "Upload to LASR" function in SAS EG makes use of such code: (e.g. Loading the "data set A" table. Yes I know, it should never have such a naming, but stay with me)

 

%registerTable(
LIBRARY=%nrstr(/Products/SAS Visual Analytics Administrator/Visual Analytics LASR)
, FOLDER=%nrstr(/The/Data/Source/data set A));

 

The above runs fine even though empty spaces are part of the table name.

 

If you try to upload multiple tables in batch with code like this: (which could include table names with spaces):

 

%registerTable(
LIBRARY=%nrstr(/Products/SAS Visual Analytics Administrator/Visual Analytics LASR)
, FOLDER=&tblFolder.);

 

The code fails on "FOLDER=&tblFolder." statement with:

 

ERROR: Given folder path '/The/Data/Source/data set A'n is not found.

 

I've tried many quote/unquote variations and can't get it to work.

 

 

 

Help!!!!!!!

1 REPLY 1
BrunoMueller
SAS Super FREQ

Somehow your folder name became a name literal  '/The/Data/Source/data set A'n (are you using the NLITERAL function)

For a Foldername this is not necessary.

 

Change your code that creates the &tblFolder macro variable, so you are not using the name literal.

sas-innovate-2024.png

📢

ANNOUNCEMENT

The early bird rate has been extended! Register by March 18 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 746 views
  • 0 likes
  • 2 in conversation