BookmarkSubscribeRSS Feed
smm662002
Quartz | Level 8

Hello,

 

SAS VIYA 3.5 patched until March 2022

 

Would anyone know why I have an error message (please see below) when I try to load a table from an Oracle caslib to CAS using proc casutil but is working when I am using proc fed sql?

 

ERROR: Base table or view not found ORA-00942: table or view does not exist
ERROR: Function failed.
ERROR: The action stopped due to errors.
 
I mention that the table is available in the caslib and proc fed sql took about 20min to run without any errors.
 
Thank you.
smm662002
 

 

 

1 REPLY 1
a20121248
Obsidian | Level 7

Hi there:

 

We have Viya 3.5 and we read tables from Oracle in 2 steps:

  1. Create a caslib to Oracle
    SAS Data Connector to Oracle
  2. We tested 2 ways:
    1. Use a proc cas;
      Query CAS Tables Using the FedSQL.execDirect Action 
    2. Use a proc fedsql sseref=casauto;

About the time (20min)... check the query execution plan (enable iptrace) and the logs (enable message level) to make sure the data is not going to the controller but to the worker nodes directly. If possible, use an explicit pass-through and compare the time (assuming no cross-datasources join).

 

Best,

Javier

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 344 views
  • 0 likes
  • 2 in conversation