<?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 Can't find directory. File doesn't exist in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329042#M21874</link>
    <description>&lt;P&gt;I need to find my folder. And my code work as model of optimization for data in file, which exist&amp;nbsp;\datafolder\Optimization\data.xlsx/ But i got problems and ERRORS. WHERE is mistakes/ Help me, please&lt;/P&gt;&lt;PRE&gt;  *Путь и библиотека;

  %let PATH = "E:\datafolder\Optimization";
  libname AGR "E:\datafolder\Optimization";
  *options noquotelenmax nosource nonotes;
  options noquotelenmax source notes;

  *Макро-переменные;

  %let CROP_FALLOW = Пар;
  %let CROP_SETASIDE = Залежь;
  %let CROP_SUGARBEET = Сахарная свёкла;
  %let CROP_SUNFLOWER = Подсолнечник;
  %let COMB_PROD = 21.85;
  %let CLUST_DIST = 10000;
  %let MAX_SEQS = 2;
  %let YEAR_ONE = 2017;
  %let NUM_YEAR = 7;
  %let INFLATION = 0.03;

  *%let NUM_FIELD = 100;
  *%let NUM_FARM = 30;
  *%let NUM_SOIL = 7;
  *%let NUM_CROP = 10;
  *%let NUM_HOLDING = 5;
  *%let NUM_PLANT = 12;
  *%let NUM_SEQ = 7;
  *%let NUM_DRUG = 5;
  *%let NUM_DEPOT = 30;

  %let INFEASIBLE = 0;
  %let ZERO = 1E-6;

  *Макросы;

  *Импорт из экселя;

  %macro agr_data_import;

    %macro dummy; 

    %mend dummy;

        %macro agro_imp(Sheet,Range);

          %macro dummy; 

           %mend dummy;

        proc import
        datafile="\\dtln-nt-sas1\datafolder\Optimization\data.xlsx"
        out=AGR.data_&amp;amp;Sheet dbms=xlsx replace;
        range="&amp;amp;Sheet$B3:&amp;amp;Range";
        getnames=yes;
      run;
    %mend agro_imp;

    %agro_imp(FLD,F1907);
    %agro_imp(CRP,G13);
    %agro_imp(FOC,C36);
    %agro_imp(CC1,D75);
    %agro_imp(CC2,C11);
    %agro_imp(CC3,E69);
    %agro_imp(CMB,F45);
    %agro_imp(SQN,D38);
    %agro_imp(DR1,D20);
    %agro_imp(DR2,D1126);
    %agro_imp(HST,D3811);
    %agro_imp(YLD,H2815);
    %agro_imp(LG1,D563);
    %agro_imp(LG2,C85);
    %agro_imp(LG3,E27);
    %agro_imp(CLS,D120557);
    %agro_imp(PLN,D13331);

  %mend agr_data_import;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13392iA16ACB5423035464/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="1.png" title="1.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13393i8F0629681A82B5DE/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="2.png" title="2.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13394i033F23AAFD73E4F9/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="4.png" title="4.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13395iAE4A5425F4506A8A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="5.png" title="5.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13396i4571583303209218/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="6.png" title="6.png" /&gt;</description>
    <pubDate>Wed, 01 Feb 2017 11:29:03 GMT</pubDate>
    <dc:creator>Maksim_Karyagin</dc:creator>
    <dc:date>2017-02-01T11:29:03Z</dc:date>
    <item>
      <title>Can't find directory. File doesn't exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329042#M21874</link>
      <description>&lt;P&gt;I need to find my folder. And my code work as model of optimization for data in file, which exist&amp;nbsp;\datafolder\Optimization\data.xlsx/ But i got problems and ERRORS. WHERE is mistakes/ Help me, please&lt;/P&gt;&lt;PRE&gt;  *Путь и библиотека;

  %let PATH = "E:\datafolder\Optimization";
  libname AGR "E:\datafolder\Optimization";
  *options noquotelenmax nosource nonotes;
  options noquotelenmax source notes;

  *Макро-переменные;

  %let CROP_FALLOW = Пар;
  %let CROP_SETASIDE = Залежь;
  %let CROP_SUGARBEET = Сахарная свёкла;
  %let CROP_SUNFLOWER = Подсолнечник;
  %let COMB_PROD = 21.85;
  %let CLUST_DIST = 10000;
  %let MAX_SEQS = 2;
  %let YEAR_ONE = 2017;
  %let NUM_YEAR = 7;
  %let INFLATION = 0.03;

  *%let NUM_FIELD = 100;
  *%let NUM_FARM = 30;
  *%let NUM_SOIL = 7;
  *%let NUM_CROP = 10;
  *%let NUM_HOLDING = 5;
  *%let NUM_PLANT = 12;
  *%let NUM_SEQ = 7;
  *%let NUM_DRUG = 5;
  *%let NUM_DEPOT = 30;

  %let INFEASIBLE = 0;
  %let ZERO = 1E-6;

  *Макросы;

  *Импорт из экселя;

  %macro agr_data_import;

    %macro dummy; 

    %mend dummy;

        %macro agro_imp(Sheet,Range);

          %macro dummy; 

           %mend dummy;

        proc import
        datafile="\\dtln-nt-sas1\datafolder\Optimization\data.xlsx"
        out=AGR.data_&amp;amp;Sheet dbms=xlsx replace;
        range="&amp;amp;Sheet$B3:&amp;amp;Range";
        getnames=yes;
      run;
    %mend agro_imp;

    %agro_imp(FLD,F1907);
    %agro_imp(CRP,G13);
    %agro_imp(FOC,C36);
    %agro_imp(CC1,D75);
    %agro_imp(CC2,C11);
    %agro_imp(CC3,E69);
    %agro_imp(CMB,F45);
    %agro_imp(SQN,D38);
    %agro_imp(DR1,D20);
    %agro_imp(DR2,D1126);
    %agro_imp(HST,D3811);
    %agro_imp(YLD,H2815);
    %agro_imp(LG1,D563);
    %agro_imp(LG2,C85);
    %agro_imp(LG3,E27);
    %agro_imp(CLS,D120557);
    %agro_imp(PLN,D13331);

  %mend agr_data_import;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13392iA16ACB5423035464/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="1.png" title="1.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13393i8F0629681A82B5DE/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="2.png" title="2.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13394i033F23AAFD73E4F9/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="4.png" title="4.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13395iAE4A5425F4506A8A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="5.png" title="5.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13396i4571583303209218/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="6.png" title="6.png" /&gt;</description>
      <pubDate>Wed, 01 Feb 2017 11:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329042#M21874</guid>
      <dc:creator>Maksim_Karyagin</dc:creator>
      <dc:date>2017-02-01T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find directory. File doesn't exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329043#M21875</link>
      <description>&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13397i3F0A39A0B1DE6599/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="3.png" title="3.png" /&gt;</description>
      <pubDate>Wed, 01 Feb 2017 11:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329043#M21875</guid>
      <dc:creator>Maksim_Karyagin</dc:creator>
      <dc:date>2017-02-01T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find directory. File doesn't exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329048#M21876</link>
      <description>&lt;P&gt;Please post logs and code as text in the future. Nobody here has the time to waste typing your code for testing.&lt;/P&gt;
&lt;P&gt;And post the log of the library AGR assignment.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 11:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329048#M21876</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-01T11:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find directory. File doesn't exist</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329073#M21880</link>
      <description>&lt;P&gt;Was the library assigned successfully. We don't need all your code, just up to where the error occurs and the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fix errors in the order they appear. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 13:10:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-find-directory-File-doesn-t-exist/m-p/329073#M21880</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-01T13:10:15Z</dc:date>
    </item>
  </channel>
</rss>

