<?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 chmod: can't access / Unix_SAS / Autosys in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86800#M289201</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 am trying to run SAS Program through Unix Script in Autosys . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It said run success but&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Enable to start SAS Process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chmod: can't access /folder1/folder2/folder3/xyz.saslog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO you think there is a some mistake in unix code or any other reson ??&lt;/P&gt;&lt;P&gt;Please let me ..&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>Fri, 30 Nov 2012 19:20:01 GMT</pubDate>
    <dc:creator>Ranny</dc:creator>
    <dc:date>2012-11-30T19:20:01Z</dc:date>
    <item>
      <title>chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86800#M289201</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 am trying to run SAS Program through Unix Script in Autosys . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It said run success but&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Enable to start SAS Process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chmod: can't access /folder1/folder2/folder3/xyz.saslog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO you think there is a some mistake in unix code or any other reson ??&lt;/P&gt;&lt;P&gt;Please let me ..&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>Fri, 30 Nov 2012 19:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86800#M289201</guid>
      <dc:creator>Ranny</dc:creator>
      <dc:date>2012-11-30T19:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86801#M289202</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;This is just a guess.&amp;nbsp; A quick google search revealed that Autosys is scheduling software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the second message, I'm guessing that maybe the job is trying to write a log file to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/folder1/folder2/folder3/xyz.saslog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would check the permissions to that folder and the file (if the file already exists), to make sure you have the appropriate permissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2012 00:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86801#M289202</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-12-01T00:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86802#M289203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin is quite likely right, but if that's the problem, an even better practice in general for scheduling jobs (SAS or otherwise) is to control where the log file is generated. by adding an&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-log /yourlogpath/yourlogfilename.log &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter and argument to the scheduled sas spawn command. This way, you can control exactly where the log is generated, and if you choose a path you already have permisisons for, then problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2012 01:33:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86802#M289203</guid>
      <dc:creator>Damien_Mather</dc:creator>
      <dc:date>2012-12-01T01:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86803#M289204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Quentin and Damien,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice guys !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across with one more problem. Can you please guide me ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know I am running SAS program through Autosys !! so In autosys I am assigning Path for unix script and when Unix script runs through autosys, its invoking SAS program (means unix script call the sas program) and the question is . . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAS program everything is going goood.&amp;nbsp; ..&amp;nbsp; but at the end of SAS program I have assigned three PROC EXPORT procedure for .csv and In SAS log it says &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; "X:\filename.csv" was successfully created&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; "\\hotest\folder1\folder2\filename.csv" was successfully created&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&amp;nbsp; "\hotest\folder1\folder2\filename.csv" was successfully created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I open the particular folder then I am not finding .csv file ?? Why ?? I have access for this folder also . . . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know any possibility for this problem then pls tell me otherwise you can give me some other option also.. Thank you Sir !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ranny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 01:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86803#M289204</guid>
      <dc:creator>Ranny</dc:creator>
      <dc:date>2012-12-03T01:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86804#M289205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK there is no X: drive on Unix.&lt;/P&gt;&lt;P&gt;A file on Unix filesystem looks like this: "/hotest/folder1/folder2/filename.csv" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sándor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 09:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86804#M289205</guid>
      <dc:creator>SandorSzalma</dc:creator>
      <dc:date>2012-12-03T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86805#M289206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can also try using 'Putty' to schedule your programs. It runs your SAS program in the background.&lt;/P&gt;&lt;P&gt;Let me know if you are interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 10:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86805#M289206</guid>
      <dc:creator>shridharmanvi</dc:creator>
      <dc:date>2012-12-03T10:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: chmod: can't access / Unix_SAS / Autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86806#M289207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am very interested. We are planing to run some batch job under win7 and we do have putty installed. Please show me some directions or share some docs. Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 14:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/chmod-can-t-access-Unix-SAS-Autosys/m-p/86806#M289207</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-12-04T14:55:53Z</dc:date>
    </item>
  </channel>
</rss>

