BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tom
Super User Tom
Super User

Check the setting of the VALIDVARNAME option.  Perhaps you have it set the V6 and your table names are all longer than 8 characters?

 

Try seeing if you can use pass thru SQL with that connection to read from one of the tables that you can when using Teradata tools.

.

libname ABCD teradata user='user' password="******" 
  tdpid=tera1.home.com schema=ABCD_EFG_HIK
;

proc sql ;
  connect using ABCD ;
  select * from connection to ABCD
   (select top 1 * from ABDC_EFG_HIK.table1)
  ;
quit;
1 ACCEPTED SOLUTION

Accepted Solutions
Riana
Pyrite | Level 9

Thank you ChrisHemedinger. I had contact with Teradata team and there was some issues with access rights. I didn't have 'select' permission on this table. Now I can see the tables.

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

Another reason you might see a difference: if EG is accessing the libraries using SAS Metadata, the tables might need to be registered in metadata for you to see the contents.  @Tom supplied good sample code for you to see if you have access via your SAS session, but you might need to petition your SAS admin to either register the tables or grant you ReadMetadata and Read access to the library/SAS folder where the data sets are registered.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
Riana
Pyrite | Level 9

Thank you ChrisHemedinger. I had contact with Teradata team and there was some issues with access rights. I didn't have 'select' permission on this table. Now I can see the tables.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1717 views
  • 0 likes
  • 3 in conversation