<?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: Getting error in sas di after extract transformation run with where filter and same in table loa in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971112#M21059</link>
    <description>&lt;P&gt;Some times run these smoothly without error and some times getting error and stopping the execution.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jul 2025 17:22:02 GMT</pubDate>
    <dc:creator>u59166072</dc:creator>
    <dc:date>2025-07-18T17:22:02Z</dc:date>
    <item>
      <title>Getting error in sas di after extract transformation run with where filter and same in table loader</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971111#M21058</link>
      <description>&lt;P&gt;Getting error in sas di after extract transformation run with where filter and same in table loader also same. This is autogenerated code in di. plese find the logs and help me anything to do without manual.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 17:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971111#M21058</guid>
      <dc:creator>u59166072</dc:creator>
      <dc:date>2025-07-18T17:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error in sas di after extract transformation run with where filter and same in table loa</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971112#M21059</link>
      <description>&lt;P&gt;Some times run these smoothly without error and some times getting error and stopping the execution.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 17:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971112#M21059</guid>
      <dc:creator>u59166072</dc:creator>
      <dc:date>2025-07-18T17:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error in sas di after extract transformation run with where filter and same in table loa</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971114#M21060</link>
      <description>&lt;P&gt;Not sure why this code would ever work.&amp;nbsp; Perhaps you sometimes do not go down that pathway in your macro logic?&lt;/P&gt;
&lt;PRE&gt;MPRINT(ETLS_CONDITIONW4C43YH):   PROC SQL NOPRINT;
MPRINT(ETLS_CONDITIONW4C43YH):   SELECT COUNT(*) into :REPL_TBL_COUNT TRIMMED from ODS_LAND.ODS_TFAT_RECON_REPL (FIRSTOBS=1 OBS=1);
 
ORACLE_16: Prepared: on connection 1
SELECT * FROM LANDING.ODS_TFAT_RECON_REPL FETCH FIRST                    1 ROWS ONLY
 
SAS_SQL:  Cannot handle dataset options. 
SAS_SQL:  Unable to convert the query to a DBMS specific SQL statement due to an error. 
ACCESS ENGINE:  SQL statement was not passed to the DBMS, SAS will do the processing. 
 
ORACLE_17: Prepared: on connection 1
SELECT  "ADDR_B2KID" FROM LANDING.ODS_TFAT_RECON_REPL  FETCH FIRST                    1 ROWS ONLY&lt;/PRE&gt;
&lt;P&gt;The error message is clear, you cannot use those dataset options with a libref that is pointing to some external database.&amp;nbsp; SAS/Access does not know how to convert them into the SQL dialect that foreign database is using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why are you using PROC SQL for this anyway?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT COUNT(*)
  into :REPL_TBL_COUNT TRIMMED 
  from ODS_LAND.ODS_TFAT_RECON_REPL (FIRSTOBS=1 OBS=1)
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Why not just use a normal DATA STEP ?&amp;nbsp; Since the only values you could get from a single observation would be zero or 1 you could just run this code instead.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let REPL_TBL_COUNT =0;
data _null_;
  set ODS_LAND.ODS_TFAT_RECON_REPL;
  call symputx('REPL_TBL_COUNT','1');
  stop;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it was DI that generated that goofy SQL query for you then open a ticket with SAS Support to see if they can fix it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 19:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/971114#M21060</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-07-18T19:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error in sas di after extract transformation run with where filter and same in table loa</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/972487#M21061</link>
      <description>&lt;P&gt;It is hard to trouble shoot DI jobs without access to the DI job itself.&lt;/P&gt;
&lt;P&gt;But it seems you haven't gone through the whole log yourself?&lt;/P&gt;
&lt;P&gt;If a job work sometimes, consider it not to function. You might have a libnme assignment too late in the code, and the second time it works, but not the first.&lt;/P&gt;
&lt;P&gt;But, check all the errors in the log and try to fix them one by one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: Libref RPTKDC19 is not assigned.
ERROR: SQL View WORK.W1MN90FN could not be processed because at least one of the data sets, or views, referenced directly (or 
       indirectly) by it could not be located, or opened successfully.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How is this libname (not) assigned, perhaps it's defined as pre-assigned by external configuration, and now this is not done?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME report ORACLE  PATH=REPOR  SCHEMA=tbaadm  AUTHDOMAIN="tes" ;   %rcSet(&amp;amp;syslibrc);    proc
                                                                                                _____
                                                                                                1
&amp;#12;61                                                         The SAS System                                13:09 Friday, July 18, 2025

3278     !  sql NOPRINT;    select count(1) ods_land.ERROR_TEST;    %rcSet(&amp;amp;sqlrc);   run;
ERROR: Specified AuthenticationDomain not found in foundation repository.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Misspelling? Or are you running the job in another environment where "tes" authdomain doesn't exist?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 10:42:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Getting-error-in-sas-di-after-extract-transformation-run-with/m-p/972487#M21061</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-08-12T10:42:09Z</dc:date>
    </item>
  </channel>
</rss>

