<?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: Windows to Linux Migration in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587538#M17160</link>
    <description>&lt;P&gt;It's not all changing the one location to another exact location. Different jobs have different locations outputted, so it'd be messy to code it an If statement, and as it is, I'd need to go through every job to see what folder files are being saved to anyway, so might as well just do it manually at that point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if it was possible for me to do that, I'd have no idea where to start in writing code to modify a load of DI jobs.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 14:47:57 GMT</pubDate>
    <dc:creator>titan31</dc:creator>
    <dc:date>2019-09-10T14:47:57Z</dc:date>
    <item>
      <title>Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587498#M17151</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently going through a project in order to migrate out SAS environment from Windows to Linux (and distributed VA).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hitting an issue atm, and said I might as well post it here, as I try to fix it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've got jobs setup that export out to a shared network drive, and when I run those in Windows, it's fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However,when I run it in Linux, it gives me this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Temporary file for XLSX file can not be created -&amp;gt; /sas/sasconf/Lev1/SASApp/\\layafsp2\IT\MIS\Public\Craig\/User_Audit.$$1.&lt;BR /&gt;Make sure the path name is correct and that you have write permission.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know why it's defaulting to /sas/sasconf/Lev1/SASApp to output the file to, when that's not in the code (below is proc export part)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data=users_grps&lt;BR /&gt;dbms=XLSX&lt;BR /&gt;outfile="\\layafsp2\IT\MIS\Private\SAS External Files\Automated Jobs\Monthly\User_Audit.xlsx"&lt;BR /&gt;&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587498#M17151</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2019-09-10T13:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587503#M17152</link>
      <description>&lt;PRE&gt;outfile="\\layafsp2\IT\MIS\Private\SAS External Files\Automated Jobs\Monthly\User_Audit.xlsx"&lt;/PRE&gt;
&lt;P&gt;Unix does not use \ as a path separator. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587503#M17152</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-09-10T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587508#M17153</link>
      <description>&lt;P&gt;Well, that's going to be a pain to change every job that exports out to use / instead. Still get an error, but I think it's this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/60/745.html" target="_blank"&gt;http://support.sas.com/kb/60/745.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, assume I just need some permissions set up there to be able to write from the new server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587508#M17153</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2019-09-10T13:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587530#M17157</link>
      <description>&lt;P&gt;I could be that just switching \ to / will not be adequate.&amp;nbsp; I think you need to log on to UNIX and figure out the path seem like you are guessing at this point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be the location is not known to UNX server at all, not mounted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587530#M17157</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-09-10T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587531#M17158</link>
      <description>&lt;P&gt;Yup, I've realised that now. Got a good 100 something jobs to change. Going to be some painful work&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587531#M17158</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2019-09-10T14:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587533#M17159</link>
      <description>&lt;P&gt;Change your point of view.&amp;nbsp; Use a SAS program to process your 100 programs.&amp;nbsp; I may take the same about of time to learn the techniques you need and code it as it would to do it by hand but think of what you will gain.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587533#M17159</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-09-10T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587538#M17160</link>
      <description>&lt;P&gt;It's not all changing the one location to another exact location. Different jobs have different locations outputted, so it'd be messy to code it an If statement, and as it is, I'd need to go through every job to see what folder files are being saved to anyway, so might as well just do it manually at that point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if it was possible for me to do that, I'd have no idea where to start in writing code to modify a load of DI jobs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587538#M17160</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2019-09-10T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587728#M17167</link>
      <description>&lt;P&gt;Given the pain of changing hard-coded file paths in 100 programs, you might like to consider a better approach in the future. How about setting up some macro variables for commonly used paths and store these in a SAS autoexec program so they are available to all of your SAS programs? That will make future maintenance a lot easier.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 06:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587728#M17167</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-09-11T06:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587818#M17178</link>
      <description>&lt;P&gt;Yup, going to have to. That or at least get someone else to do it next time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 12:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/587818#M17178</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2019-09-11T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Windows to Linux Migration</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/599225#M17492</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/130025"&gt;@titan31&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yup, going to have to. That or at least get someone else to do it next time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just saw your post. Maybe this macro (page 2) could be helpful to you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/1363-2017.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings17/1363-2017.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 03:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-to-Linux-Migration/m-p/599225#M17492</guid>
      <dc:creator>jpprovost</dc:creator>
      <dc:date>2019-10-25T03:07:15Z</dc:date>
    </item>
  </channel>
</rss>

