<?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: SASGSUB: changing SAS WORK data library location in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303173#M6277</link>
    <description>&lt;P&gt;Yes, LinusH:&lt;/P&gt;&lt;P&gt;&amp;nbsp;"-work" is the option I&amp;nbsp;am trying to use.&lt;/P&gt;&lt;P&gt;But it does not work in the&amp;nbsp;sasgsub config file (sasgsub92.cfg in my example): &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="courier new,courier"&gt;-GRIDSASOPTS &amp;nbsp;"-work \\servername\...."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It works in the sasgsub.exe command line:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="courier new,courier"&gt;-gridsasopts " -work \\servername\...&amp;lt;other SAS options&amp;gt;." &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is there any way to tell the&amp;nbsp;sasgsub.exe&amp;nbsp; command to&amp;nbsp;use the "-work" option from the&amp;nbsp;sasgsub config file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-IU&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2016 14:33:17 GMT</pubDate>
    <dc:creator>IU</dc:creator>
    <dc:date>2016-10-07T14:33:17Z</dc:date>
    <item>
      <title>SASGSUB: changing SAS WORK data library location</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/302986#M6267</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;I am using SASGSUB in MS Windows batch files to submit SAS code to the SAS Grid.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;The batch script code for SAS 9.2 is shown below. The customized config file, sasgsub92.cfg, is located in&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000" size="2"&gt;&amp;nbsp;C:\Users\%username%\SASGrid.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;The default SAS WORK data library location assigned to&amp;nbsp;a SAS session created by this submit&amp;nbsp;is &lt;/FONT&gt;&lt;FONT color="#000000" size="2"&gt;WORK= C:\Users\%username%\&amp;lt;_TD…..&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;What option should be used to change the default SAS WORK data library location (&lt;FONT size="2"&gt;C:\Users\%username%) &lt;/FONT&gt;&amp;nbsp;to another path? &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000080" face="courier new,courier" size="2"&gt;SET RunSAS="C:\Program Files\SAS\SASFoundation\9.2\sasgsub.exe" -gridconfig "C:\Users\%username%\SASGrid\sasgsub92.cfg" -metauser %username%
%RunSAS% -gridsubmitpgm "%mypath%%pgm%" -gridsasopts " -log '%mylog%.log' -print '%mylst%.lst'"&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;IU&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 16:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/302986#M6267</guid>
      <dc:creator>IU</dc:creator>
      <dc:date>2016-10-06T16:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB: changing SAS WORK data library location</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/302987#M6268</link>
      <description>You can use a libname statement like&lt;BR /&gt;libname work "&amp;lt;pathname&amp;gt;";&lt;BR /&gt;&lt;BR /&gt;But don't forget: then the work library is permanent!&lt;BR /&gt;&lt;BR /&gt;Regstes, Olaf</description>
      <pubDate>Thu, 06 Oct 2016 16:54:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/302987#M6268</guid>
      <dc:creator>owagner</dc:creator>
      <dc:date>2016-10-06T16:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB: changing SAS WORK data library location</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303000#M6270</link>
      <description>-work</description>
      <pubDate>Thu, 06 Oct 2016 17:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303000#M6270</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-10-06T17:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB: changing SAS WORK data library location</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303094#M6274</link>
      <description>&lt;P&gt;Add option at the top of your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options user='c:\temp\';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2016 03:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303094#M6274</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-10-07T03:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: SASGSUB: changing SAS WORK data library location</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303173#M6277</link>
      <description>&lt;P&gt;Yes, LinusH:&lt;/P&gt;&lt;P&gt;&amp;nbsp;"-work" is the option I&amp;nbsp;am trying to use.&lt;/P&gt;&lt;P&gt;But it does not work in the&amp;nbsp;sasgsub config file (sasgsub92.cfg in my example): &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="courier new,courier"&gt;-GRIDSASOPTS &amp;nbsp;"-work \\servername\...."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It works in the sasgsub.exe command line:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="courier new,courier"&gt;-gridsasopts " -work \\servername\...&amp;lt;other SAS options&amp;gt;." &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is there any way to tell the&amp;nbsp;sasgsub.exe&amp;nbsp; command to&amp;nbsp;use the "-work" option from the&amp;nbsp;sasgsub config file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-IU&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 14:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SASGSUB-changing-SAS-WORK-data-library-location/m-p/303173#M6277</guid>
      <dc:creator>IU</dc:creator>
      <dc:date>2016-10-07T14:33:17Z</dc:date>
    </item>
  </channel>
</rss>

