<?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 CLI Connectivity Error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/CLI-Connectivity-Error/m-p/815839#M321997</link>
    <description>&lt;P&gt;I'd like to know why in the error message it shows 'KSS_EXTERNAL' as it is not mentioned any where in the code? If&amp;nbsp;UVW_ISM_TRANSACTIONS_RV_PIVOT is a view, we may get error message as shown below?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql noprint;
  connect to sqlsvr(dsn=KGG_SC  
                    user="SAS_PU_UK" 
                    pwd="test@123" 
                    readbuff=32000);
 
  create table TRANSACTIONS_RV_PIVOT as
  select * from connection to sqlsvr 
    (                                                      
      select *
        
      from KGG_SC.dbo.UVW_ISM_TRANSACTIONS_RV_PIVOT);
 
  disconnect from sqlsvr;
quit;
 &lt;/PRE&gt;
&lt;P&gt;Log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;26         proc sql noprint;
27           connect to sqlsvr(dsn=KGG_SC
28                             user="SAS_PU_UK"
29                             pwd=XXXXXXXXXXXXX
30                             readbuff=32000);
31         
32           create table TRANSACTIONS_RV_PIVOT as
33           select * from connection to sqlsvr
34             (
35               select *
36         
37               from KGG_SC.dbo.UVW_ISM_TRANSACTIONS_RV_PIVOT);
ERROR: CLI describe error: [SAS/ACCESS][ODBC SQL Server Legacy Driver][SQL Server]The server principal "SAS_PU_UK" is not 
       able to access the database "KSS_EXTERNAL" under the current security context.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
38         
39           disconnect from sqlsvr;
NOTE: Statement not executed due to NOEXEC option.
40         quit;

&lt;/PRE&gt;</description>
    <pubDate>Tue, 31 May 2022 14:23:06 GMT</pubDate>
    <dc:creator>David_Billa</dc:creator>
    <dc:date>2022-05-31T14:23:06Z</dc:date>
    <item>
      <title>CLI Connectivity Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CLI-Connectivity-Error/m-p/815839#M321997</link>
      <description>&lt;P&gt;I'd like to know why in the error message it shows 'KSS_EXTERNAL' as it is not mentioned any where in the code? If&amp;nbsp;UVW_ISM_TRANSACTIONS_RV_PIVOT is a view, we may get error message as shown below?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql noprint;
  connect to sqlsvr(dsn=KGG_SC  
                    user="SAS_PU_UK" 
                    pwd="test@123" 
                    readbuff=32000);
 
  create table TRANSACTIONS_RV_PIVOT as
  select * from connection to sqlsvr 
    (                                                      
      select *
        
      from KGG_SC.dbo.UVW_ISM_TRANSACTIONS_RV_PIVOT);
 
  disconnect from sqlsvr;
quit;
 &lt;/PRE&gt;
&lt;P&gt;Log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;26         proc sql noprint;
27           connect to sqlsvr(dsn=KGG_SC
28                             user="SAS_PU_UK"
29                             pwd=XXXXXXXXXXXXX
30                             readbuff=32000);
31         
32           create table TRANSACTIONS_RV_PIVOT as
33           select * from connection to sqlsvr
34             (
35               select *
36         
37               from KGG_SC.dbo.UVW_ISM_TRANSACTIONS_RV_PIVOT);
ERROR: CLI describe error: [SAS/ACCESS][ODBC SQL Server Legacy Driver][SQL Server]The server principal "SAS_PU_UK" is not 
       able to access the database "KSS_EXTERNAL" under the current security context.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
38         
39           disconnect from sqlsvr;
NOTE: Statement not executed due to NOEXEC option.
40         quit;

&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 May 2022 14:23:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CLI-Connectivity-Error/m-p/815839#M321997</guid>
      <dc:creator>David_Billa</dc:creator>
      <dc:date>2022-05-31T14:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Connectivity Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CLI-Connectivity-Error/m-p/816489#M322291</link>
      <description>&lt;P&gt;You're showing a SQL Server error message mentioning&amp;nbsp;SQL Server architecture components, and this question is for your&amp;nbsp;SQL Server DBAs.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2022 06:59:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CLI-Connectivity-Error/m-p/816489#M322291</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2022-06-04T06:59:27Z</dc:date>
    </item>
  </channel>
</rss>

