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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

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

Browse our catalog!

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