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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2429 views
  • 0 likes
  • 3 in conversation