<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connecting to Databricks using JDBC from SAS Viya 4 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959280#M29600</link>
    <description>&lt;P&gt;Here's a link to the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/acreldb/n0zm6fjwtgsnrzn1fegvyhl3yrwd.htm" target="_blank" rel="noopener"&gt;LIBNAME JDBC engine options&lt;/A&gt;. As your log has already stated, CLASSPATH is ignored so there is no point in including it in your program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you read the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/acreldb/n19ksf8hw3hbk3n1sqwx4xfj3nch.htm" target="_blank" rel="noopener"&gt;DRIVERCLASS&lt;/A&gt; doc you will see that CLASS and DRIVER are aliases for it, so you should remove both DRIVER and CLASS and just use DRIVERCLASS with the default doc value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't use JDBC so I have no idea if my suggestions will help fix your error, but using the correct options is always a good starting point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is JDBC the only option available to you regarding Databricks? SAS/ACCESS Interface to Spark and SAS/ACCESS Interface to ODBC are other Viya connectors that should work and all of these are included as standard with Viya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2025 01:12:36 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2025-02-15T01:12:36Z</dc:date>
    <item>
      <title>Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959276#M29599</link>
      <description>&lt;P&gt;We are using SAS Viya 4 2024.09 LTS on AWS.&lt;BR /&gt;I am trying to test connectivity to Databricks on AWS using JDBC but having errors.&lt;BR /&gt;My code is as follows&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname libdbrk jdbc classpath="/opt/sas/viya/home/lib64/accessclients/jdbc"
driver="/opt/sas/viya/home/lib64/accessclients/jdbc/cdata-jdbc-databricks-23.0.8806.0.jar" 
class="cdata.jdbc.databricks.DatabricksDriver"
URL="jdbc:databricks://xyz.cloud.databricks.com:443;AuthMech='11';Auth_Flow='1';
     database=dev_test.test_schema;
     HTTPPath=/sql/1.0/warehouses/abcdxyz; OAuth2ClientId='Client_ID'; OAuth2Secret='Client Secret'";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;The log is&lt;/P&gt;
&lt;PRE&gt;WARNING: Libref LBDBRK is not assigned.
30   libname lbdbrk jdbc classpath="/opt/sas/viya/home/lib64/accessclients/jdbc"
31   driver="/opt/sas/viya/home/lib64/accessclients/jdbc/cdata-jdbc-databricks-23.0.8806.0.jar"
32   class="cdata.jdbc.databricks.DatabricksDriver"
33   URL="jdbc:databricks://xyz.cloud.databricks.com:443;AuthMech='11';Auth_Flow='1';
34        database=dev_test.test_schema;
35        HTTPPath=/sql/1.0/warehouses/abcdxyz;OAuth2ClientId='Client_ID';
35 ! OAuth2Secret='Client-Secret'";
NOTE: The "CLASSPATH" option has been deprecated and will be ignored. Please refer to SAS documentation for instructions on setting 
      the JDBC SAS/ACCESS classs path.
ERROR: Error trying to establish connection: java.sql.SQLClientInfoException: 'useragententry' is not a valid connection property.
ERROR: Error in the LIBNAME statement.&lt;/PRE&gt;
&lt;P&gt;Wondering if anybody can help?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 21:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959276#M29599</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-02-14T21:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959280#M29600</link>
      <description>&lt;P&gt;Here's a link to the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/acreldb/n0zm6fjwtgsnrzn1fegvyhl3yrwd.htm" target="_blank" rel="noopener"&gt;LIBNAME JDBC engine options&lt;/A&gt;. As your log has already stated, CLASSPATH is ignored so there is no point in including it in your program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you read the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/acreldb/n19ksf8hw3hbk3n1sqwx4xfj3nch.htm" target="_blank" rel="noopener"&gt;DRIVERCLASS&lt;/A&gt; doc you will see that CLASS and DRIVER are aliases for it, so you should remove both DRIVER and CLASS and just use DRIVERCLASS with the default doc value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't use JDBC so I have no idea if my suggestions will help fix your error, but using the correct options is always a good starting point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is JDBC the only option available to you regarding Databricks? SAS/ACCESS Interface to Spark and SAS/ACCESS Interface to ODBC are other Viya connectors that should work and all of these are included as standard with Viya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 01:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959280#M29600</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-02-15T01:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959365#M29607</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;. I appreciate your prompt response.&lt;BR /&gt;I followed the instructions at&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/acreldb/n0zm6fjwtgsnrzn1fegvyhl3yrwd.htm#n1tn6zmgkgvhpcn19e9qd90oce7o" target="_blank"&gt;SAS Help Center: LIBNAME Statement for JDBC&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;However, this did not work.&lt;BR /&gt;The code and logs are reproduced below&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname lbdbrk jdbc  user="client-id" password="secret"
driverclass="/opt/sas/viya/home/lib64/accessclients/jdbc/"
URL="jdbc:databricks://dbc-b5c27db9-dd8c.cloud.databricks.com:443/database.schema"  ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I tried using&amp;nbsp; the database jar file names too as&amp;nbsp;&lt;CODE class=" language-sas"&gt;/opt/sas/viya/home/lib64/accessclients/jdbc/&lt;/CODE&gt;cdata-jdbc-databricks-23.0.8806.0.jar.&lt;BR /&gt;I also used this name (cdata-jdbc-sparksql-23.0.8705.jar) too. But that did not change the situation either.&lt;BR /&gt;The log is reproduced below&lt;/P&gt;
&lt;PRE&gt;WARNING: Libref LBDBRK is not assigned.
29   libname lbdbrk jdbc  user="client-id" password=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
30   driverclass="/opt/sas/viya/home/lib64/accessclients/jdbc/"
31   URL="jdbc:databricks://dbc-b5c27db9-dd8c.cloud.databricks.com:443/database.schema"
32    ;
ERROR: Error trying to establish connection: java.lang.ClassNotFoundException: /opt/sas/viya/home/lib64/accessclients/jdbc/
ERROR: Error in the LIBNAME statement.&lt;/PRE&gt;
&lt;P&gt;I have even tried using the latest driver (DatabricksJDBC42.jar) from the Databricks site&lt;A href="https://www.databricks.com/spark/jdbc-drivers-download" target="_blank"&gt;JDBC Drivers Download – Databricks&lt;/A&gt;&lt;BR /&gt;But that did not help&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 14:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959365#M29607</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-02-17T14:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959404#M29608</link>
      <description>&lt;P&gt;I suggest you open a track with Tech Support as these types of problems often require a lot of troubleshooting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks to me like a Java config issue but TS can advise.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 19:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959404#M29608</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-02-17T19:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959483#M29609</link>
      <description>This error is saying that the engine is adding a connection property to your url called "useragententry" which the driver is rejecting as invalid.&lt;BR /&gt;&lt;BR /&gt;With the cdata databricks driver if you specify the URL directly, you need to use the form:&lt;BR /&gt;jdbc:databricks:Server= (no :// in the URL)&lt;BR /&gt;This is probably whats causing the engine to add options for a different driver.</description>
      <pubDate>Tue, 18 Feb 2025 14:38:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959483#M29609</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-02-18T14:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959607#M29612</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;. I followed your suggestion and updated my code as follows&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname libdbrk jdbc 
driver="/opt/sas/viya/home/lib64/accessclients/jdbc/cdata-jdbc-databricks-23.0.8806.0.jar" 
class="cdata.jdbc.databricks.DatabricksDriver"
URL="jdbc:databricks:Server=xyz.databricks.com;    
 HTTPPath=/sql/1.0/warehouses/abcdefgh;
 user='client-id';Token='Token'";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The log is&lt;/P&gt;
&lt;PRE&gt;ERROR: Error trying to establish connection: HTTP protocol error. 401 Unauthorized.
ERROR: Error in the LIBNAME statement.&lt;/PRE&gt;
&lt;P&gt;It has no option for using the port (443). Using port=443 or protocol=https raises an error.&lt;BR /&gt;Can you please advise.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959607#M29612</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-02-19T14:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959810#M29628</link>
      <description>You are receiving a response from the server so this is not an issue of the incorrect port, I believe the driver assumes https/port 443. The response you are receiving is a 401 unauthorized, so appears to be an issue with your authentication options. If you are wrapping your user and token in single quotes you may wish to try without those.</description>
      <pubDate>Thu, 20 Feb 2025 18:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959810#M29628</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-02-20T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959817#M29629</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;I removed the quotes, but the error remains the same.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 19:39:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959817#M29629</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-02-20T19:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959846#M29630</link>
      <description>In that case, I would suspect the issue to be with the authentication option values themselves. Are you able to log in to databricks with the 'client-id' and 'Token' values outside of SAS?</description>
      <pubDate>Thu, 20 Feb 2025 21:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959846#M29630</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-02-20T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959853#M29631</link>
      <description>&lt;P&gt;Yes I am indeed able to connect from out&amp;nbsp; side SAS.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 22:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959853#M29631</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-02-20T22:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959861#M29632</link>
      <description>The syntax looks right to me, assuming you are using Basic authentication and not a Personal Access Token, in which case you would not set a User it looks like:&lt;BR /&gt;&lt;A href="https://cdn.cdata.com/help/LKJ/jdbc/pg_connectionj.htm" target="_blank"&gt;https://cdn.cdata.com/help/LKJ/jdbc/pg_connectionj.htm&lt;/A&gt;</description>
      <pubDate>Thu, 20 Feb 2025 22:20:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959861#M29632</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-02-20T22:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959937#M29634</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;. I appreciate your time and efforts in assisting me.&lt;BR /&gt;I have already tried that. It does not work&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 16:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959937#M29634</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-02-21T16:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959969#M29637</link>
      <description>&lt;P&gt;When you've tried the obvious things and you are still stuck, then IMHO opening a track with SAS Tech Support is your best option if you haven't already. Personally I go direct to them with tricky problems and I often have the answer in a day or two.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 21:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/959969#M29637</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-02-21T21:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/960750#M29686</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I have been able to successfully connect using the following code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname libdbrk jdbc preserve_tab_names=yes schema=catalog.schema 
class="cdata.jdbc.databricks.DatabricksDriver"
URL="jdbc:databricks:Server=abcd-efgh.cloud.databricks.com:443;HTTPPath=/sql/1.0/warehouses/1234567890;
Token=Personal_Access_token;"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;While the library is successfully created, cannot see any tables.&lt;BR /&gt;I ran the proc datasets as follows&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets lib=libdbrk;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The log has&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; proc datasets lib=libdbrk;
WARNING: Execute error: 
                                                             Directory
                       Libref         LIBDBRK                                                                
                       Engine         JDBC                                                                   
                       Physical Name  jdbc:cdata:Databricks:Server=abcd-efgh.cloud.databricks.com:443
                       Schema       catalog.schema                                      
WARNING: No matching members in directory.&lt;BR /&gt;81 run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Looking to the community for guidance.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 17:16:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/960750#M29686</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-03-03T17:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/960751#M29687</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I executed the following code (solution from the forum post&amp;nbsp; &amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/PROC-DATASETS-quot-WARNING-No-matching-members-in-directory-quot/td-p/871181" target="_blank"&gt;Solved: PROC DATASETS "WARNING: No matching members in directory." - SAS Support Communities&lt;/A&gt; )&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
	set sashelp.vtable(where=(libname='LIBDBRK' and MEMTYPE='DATA')) nobs=obs;
	if (obs &amp;gt; 0) then
	  rc = dosubl('proc datasets lib=libdbrk memtype=data kill NOLIST NOWARN;run;quit;');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and this gave the following log&lt;/P&gt;
&lt;PRE&gt;80   data _null_;
81   set sashelp.vtable(where=(libname='LIBDBRK' and MEMTYPE='DATA')) nobs=obs;
82   if (obs &amp;gt; 0) then
83     rc = dosubl('proc datasets lib=libdbrk memtype=data kill NOLIST NOWARN;run;quit;');
84   run;
NOTE: There were 0 observations read from the data set SASHELP.VTABLE.
      WHERE (libname='LIBDBRK') and (MEMTYPE='DATA');
NOTE: DATA statement used (Total process time):
      real time           1.59 seconds
      cpu time            0.03 seconds
      
85   
86   /* region: Generated postamble */
87   /* Close ODS destinations */
88   &amp;amp;graphterm; ;*';*";*/;run;quit;
89   quit;run;
90   ods html5 (id=web) close;
91   ods listing close;
92   %if %sysfunc(fileref(_gsfname)) lt 0 %then %do;
93       filename _gsfname clear;
NOTE: Fileref _GSFNAME has been deassigned.
94   %end;
95   %studio_capture_custom_output;
96   /* endregion */
97   &lt;/PRE&gt;
&lt;P&gt;Wondering if I need to make any changes to my libname statement as mentioned in the previous post?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 17:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/960751#M29687</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-03-03T17:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/960782#M29688</link>
      <description>Sounds like you're connecting successfully but don't have permission to see anything, or nothing exists.&lt;BR /&gt;&lt;BR /&gt;You may want to add sastrace option to get additional detail on what's being sent.</description>
      <pubDate>Mon, 03 Mar 2025 21:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/960782#M29688</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-03-03T21:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Databricks using JDBC from SAS Viya 4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/961004#M29703</link>
      <description>&lt;P&gt;Thanks everyone for your help and support.&lt;BR /&gt;The issue was resolved with the help of SAS Tech Support. Thanks SAS Tech Support for the solution.&lt;BR /&gt;The issue was that I was using the jdbc engine whereas SAS Access Interface to Spark provides connectivity to Databricks. The details are given here&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_055/acreldb/n1mfknm1ehokoun1k11wloqtump3.htm" target="_blank"&gt;SAS Help Center: Support for Spark on the SAS Viya Platform&lt;/A&gt;.&lt;BR /&gt;Look for the section on Databricks. One would need the details about server, httpPath and PersonalAccessToken among other things.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 21:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Databricks-using-JDBC-from-SAS-Viya-4/m-p/961004#M29703</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2025-03-05T21:33:20Z</dc:date>
    </item>
  </channel>
</rss>

