<?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: ERROR: File DBO.prop_FinalEstimates.DATA does not exist. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738261#M80460</link>
    <description>&lt;P&gt;Check the spelling and look in your DBO library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But since you defined TWO Libname DBO statements&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="6" color="#FF0000"&gt; DBO &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claimscontrolbi-01 ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=BISSClaimsCntrlRpt; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dbo;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="6" color="#FF0000"&gt; DBO &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claimscontrolbi-01 ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=BISSClaimsCmnDmnsn; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dbo;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;I suspect that the data set you expect is in the BISSClainsCtrlRpt and not in the BISSClaimsCmnDmnsn. Your second libname DBO is the one in effect.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 19:11:59 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-04-30T19:11:59Z</dc:date>
    <item>
      <title>ERROR: File DBO.prop_FinalEstimates.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738250#M80459</link>
      <description>&lt;P&gt;I am working on a project at work and using the following code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; CP &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claims-claimsproperty-01 ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=ClaimsProperty; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=PD;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LIBNAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ODBC&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;NOPROMPT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claims-claimsproperty-01 ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=ClaimsProperty; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;SCHEMA&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=PD;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DBO &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claimscontrolbi-01 ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=BISSClaimsCntrlRpt; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dbo;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DBO &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claimscontrolbi-01 ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=BISSClaimsCmnDmnsn; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dbo;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;CREATE&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;TABLE&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Estimates &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;SELECT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.ClaimYear,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.ClaimNbr,&lt;/P&gt;&lt;P&gt;E.PropNbr,&lt;/P&gt;&lt;P&gt;E.PropId,&lt;/P&gt;&lt;P&gt;PL.FinalEstimateAcctMonth,&lt;/P&gt;&lt;P&gt;E.FinalEstimateVehicleModelYear,&lt;/P&gt;&lt;P&gt;E.FinalEstimateVehicleMakeDesc,&lt;/P&gt;&lt;P&gt;E.FinalEstimateVehicleModelDesc,&lt;/P&gt;&lt;P&gt;F.FacilityId,&lt;/P&gt;&lt;P&gt;F.FacilityStateCode,&lt;/P&gt;&lt;P&gt;F.SWEShopInd&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.Estimate &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.Date &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; D&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.FinalEstimateCompleteDateId = D.DateId&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.Property &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; P&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.ClaimYear = P.ClaimYear&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.ClaimNbr = P.ClaimNbr&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.PropNbr = P.PropNbr&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.PropertyPlus &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.ClaimYear = PP.ClaimYear &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.ClaimNbr = PP.ClaimNbr&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.Inspection &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Ins&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.PropId = Ins.PropId&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.Facility &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; F&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Ins.FacilityId = F.FacilityId&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.PartsLaborShopSummary &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PL &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.PropId=PL.PropId&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PD.Repair &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; R&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.PropId=R.PropId&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PL.FinalEstimateAcctMonth &amp;gt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;202003&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PL.FinalEstimateAcctMonth &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;202102&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; P.TotalLossInd = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; P.PropTypeDesc = &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'Vehicle'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; E.TotalEstimateLineCnt &amp;gt;= &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; F.FacilityStateCode &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;in&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'IA'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'MI'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'UT'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AND&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; F.SWEShopInd = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%LET&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; INFILE = \\prog1\east\AppsProd\neclaims\Nicole Allen\RFP Project\RFP Project Shops.xlsx;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;IMPORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;OUT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= ExcelFacilityName&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;DATAFILE&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"&amp;amp;INFILE."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;DBMS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= XLSX REPLACE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;GETNAMES&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= Yes;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;CREATE&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;TABLE&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; RepairFacilityNames &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;SELECT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#008080"&gt;A.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;*, &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;B.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;*&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;From&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Estimates &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; A&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;LEFT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;JOIN&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ExcelFacilityName &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; B&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; B.FacilityId = A.FacilityId;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/** Repair Time Query **/&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;CREATE&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;TABLE&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; RepairTime &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;Select&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;DISTINCT&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#008080"&gt;C.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;*,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;sum(FE.RepairLaborHrs) &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; EstRepairTime&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; RepairFacilityNames &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; C&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;left&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;join&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; DBO.PROP_FinalEstimates &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; FE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; A.PropId = FE.PropID&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; FE.ReportingAcctMonth &amp;gt;= &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;202003&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; FE.ReportingAcctMonth &amp;lt;= &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;202102&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;group&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; FE.EstState,FE.RepairFacilityName,FE.claimrefnbr&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;order&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; FE.EstState,FE.RepairFacilityName,FE.claimrefnbr;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;The very last PROC SQL statement I keep getting the error:&amp;nbsp; ERROR: File DBO.prop_FinalEstimates.DATA does not exist&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I get no other errors in my log. Thoughts?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 18:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738250#M80459</guid>
      <dc:creator>nicole_e_allen</dc:creator>
      <dc:date>2021-04-30T18:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File DBO.prop_FinalEstimates.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738261#M80460</link>
      <description>&lt;P&gt;Check the spelling and look in your DBO library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But since you defined TWO Libname DBO statements&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="6" color="#FF0000"&gt; DBO &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claimscontrolbi-01 ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=BISSClaimsCntrlRpt; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dbo;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="6" color="#FF0000"&gt; DBO &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;odbc&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;noprompt&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"DRIVER={ODBC Driver 17 for SQL Server}; SERVER=mss-p1-claimscontrolbi-01 ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;DATABASE=BISSClaimsCmnDmnsn; TRUSTED_CONNECTION=YES"&lt;/FONT&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dbo;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;I suspect that the data set you expect is in the BISSClainsCtrlRpt and not in the BISSClaimsCmnDmnsn. Your second libname DBO is the one in effect.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 19:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738261#M80460</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-30T19:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File DBO.prop_FinalEstimates.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738266#M80461</link>
      <description>&lt;P&gt;You were right! One of the DBO libnames I didnt actually need in the code (it was erronously brought over from another code), and it was looking for that table in the wrong database. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 19:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-File-DBO-prop-FinalEstimates-DATA-does-not-exist/m-p/738266#M80461</guid>
      <dc:creator>nicole_e_allen</dc:creator>
      <dc:date>2021-04-30T19:31:49Z</dc:date>
    </item>
  </channel>
</rss>

