<?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 How to set up the work directory in SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-set-up-the-work-directory-in-SAS/m-p/95115#M26905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like my data to be stored in an imlstore that I have provided the link for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname sqldb ODBC dsn='sqlBLS' schema=IO2012;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname imlstore 'C:\Users\hze1\Desktop\SAS\BLSData';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Read in 177x177 transaction matrix and 1x177 value added row*/&lt;/P&gt;&lt;P&gt;data Zmatrix;set sqldb.nominaluse_FMB_2012;&lt;/P&gt;&lt;P&gt;if FMBcom ne 196;/*FMBcom 196 is value added*/&lt;/P&gt;&lt;P&gt;drop c196;/*c196 is final demand*/&lt;/P&gt;&lt;P&gt;proc sort;by stat_year FMBcom;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Zcom; set Zmatrix ;&lt;/P&gt;&lt;P&gt;keep stat_year fmbcom;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=======================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Zmatrix and Zcom are storing in work directory which is different from the imlstore directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized that if I use imlstore.Zmatrix will go to my imlstore directory, is there any way to skip the imlstore.Zmatrix and jsut use the Zmatrix and have the data at imlstore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 17:30:27 GMT</pubDate>
    <dc:creator>goliPSU</dc:creator>
    <dc:date>2012-06-28T17:30:27Z</dc:date>
    <item>
      <title>How to set up the work directory in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-set-up-the-work-directory-in-SAS/m-p/95115#M26905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like my data to be stored in an imlstore that I have provided the link for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname sqldb ODBC dsn='sqlBLS' schema=IO2012;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname imlstore 'C:\Users\hze1\Desktop\SAS\BLSData';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Read in 177x177 transaction matrix and 1x177 value added row*/&lt;/P&gt;&lt;P&gt;data Zmatrix;set sqldb.nominaluse_FMB_2012;&lt;/P&gt;&lt;P&gt;if FMBcom ne 196;/*FMBcom 196 is value added*/&lt;/P&gt;&lt;P&gt;drop c196;/*c196 is final demand*/&lt;/P&gt;&lt;P&gt;proc sort;by stat_year FMBcom;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Zcom; set Zmatrix ;&lt;/P&gt;&lt;P&gt;keep stat_year fmbcom;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=======================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Zmatrix and Zcom are storing in work directory which is different from the imlstore directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized that if I use imlstore.Zmatrix will go to my imlstore directory, is there any way to skip the imlstore.Zmatrix and jsut use the Zmatrix and have the data at imlstore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 17:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-set-up-the-work-directory-in-SAS/m-p/95115#M26905</guid>
      <dc:creator>goliPSU</dc:creator>
      <dc:date>2012-06-28T17:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up the work directory in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-set-up-the-work-directory-in-SAS/m-p/95116#M26906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check out the user= system option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It allows you to specify that datasets with one-level names be written to a permanent directoy instead of work, e.g.:&lt;/P&gt;&lt;PRE&gt;297&amp;nbsp; options user="d:\junk";
298&amp;nbsp; data x; x=1;run;
NOTE: The data set USER.X has 1 observations and 1 variables.

&lt;/PRE&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 18:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-set-up-the-work-directory-in-SAS/m-p/95116#M26906</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-06-28T18:13:41Z</dc:date>
    </item>
  </channel>
</rss>

