<?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: Insufficient authorization to access PIPE - need alternatives in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179389#M34264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if there is a Unix equivalent as don't use it at the moment.&amp;nbsp; However in DOS you can simply direct the output to a text file and then read that in:&lt;/P&gt;&lt;P&gt;dir c:\temp&amp;gt;my_dir.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pop that in a batch file, run it and then run your SAS program to read that text file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2014 09:38:45 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-11-21T09:38:45Z</dc:date>
    <item>
      <title>Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179381#M34256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would appreciate if someone can provide me the alternatives for the following statement which should run in SAS EG 5.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log below indicates that filename statement is unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename indat1 pipe&amp;nbsp; 'ls -d /data/Resource/Alert/daily_files/*'&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access PIPE.&lt;/P&gt;&lt;P&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 15:02:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179381#M34256</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2014-11-20T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179382#M34257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can enter the ls -d /data/Resource/Alert/daily_files/* from a command line and get a successful listing then you may have an issue with the configuration of SAS. You may need to provide some details of your environment such as are you working with a server based version of SAS. If the data folder isn't subordinate to the location of the SAS current directory then it can't find it. It is a good idea to always provide a full path in a libname statement, which may need to include reference to the server the file is on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the command line doesn't work then it is likely an OS issue or possibly a typo for the path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 16:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179382#M34257</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-11-20T16:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179383#M34258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could succeed the command &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; ls -d /data/Resource/Alert/daily_files/* from command line (UNIX server). Yes, I'm working in a server based SAS and there is no typo in my path name.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 06:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179383#M34258</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2014-11-21T06:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179384#M34259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are most likely operating under the -noxcmd restriction. This has to be corrected in the metadata for the workspace server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't get your admin to to it, but have the option of command line access, I suggest you run the program in batch mode. Which would prove the idiocy of keeping noxcmd to the admin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 06:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179384#M34259</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-21T06:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179385#M34260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May i request you to guide me to run my command (as mentioned in my initial post) in SAS EG via batch mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 06:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179385#M34260</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2014-11-21T06:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179386#M34261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You take your code as written (be aware for EG-specific things like ODS output to the EG channel) and save it to your server under "Files". In most setups this is the home directory you find yourself in when logging on via ssh (or telnet).&lt;/P&gt;&lt;P&gt;Then log on to the server and simply do sas &lt;EM&gt;programname&lt;/EM&gt;.sas. The run will create &lt;EM&gt;programname&lt;/EM&gt;.log (and &lt;EM&gt;programname&lt;/EM&gt;.lst if you have output). Inspect the log file to see if it worked or what went wrong. Make changes to the code and save again, repeat until satisfactory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 07:12:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179386#M34261</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-21T07:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179387#M34262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain your situation as it can be: &lt;/P&gt;&lt;P&gt;1/ your system-admin sas-admin doesn't like you or your are classified by them as a jerk. Is there a bypass for that?&lt;/P&gt;&lt;P&gt;This question is: how well do you know those guys and are you on speaking terms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2/ Those people having done the sas-installations were just capable of typing a "setup" command. Not cooperating with your business needs. How do you solve that?&lt;/P&gt;&lt;P&gt;This is the service manager, project manager to coordinate but that fails when missing some input on your business needs and sas knowledge aside all internal politics.&lt;/P&gt;&lt;P&gt;One of the to be solved questions in this implementing a good security approach including the OS level controls.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the reason why the xcmd is left closed.&amp;nbsp; Having no real OS security defined this is the last thing on not granting functions for that level.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;You could try this having it solved now you know this. (open up xcmd !)&lt;/P&gt;&lt;P&gt;If you have access to the relevant business security policies you could ask to how those arer related against eg ISO 27002-2013 9.4.1 as there is explicitly stated those controls are aimed at user actions to sensitive data not at using some functionality/tool.&amp;nbsp;&amp;nbsp;&amp;nbsp; the 9.4.4 is mentioning priviledged utilty programs, imo sas is not that (common sas users)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When you are coding something to process files in sas you can:&lt;/P&gt;&lt;P&gt;- use wildacards in namings. the real filename is returned&lt;/P&gt;&lt;P&gt;- use dopen functions the build a directory list with all information just using sas functions&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#n0jdt2eo1d9pyxn1hxjrkwhi9cdp.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#n0jdt2eo1d9pyxn1hxjrkwhi9cdp.htm"&gt;SAS(R) 9.4 Functions and CALL Routines: Reference, Third Edition&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 07:16:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179387#M34262</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-21T07:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179388#M34263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dirs(keep=path name);&lt;/P&gt;&lt;P&gt;length name $ 200 path $ 200;&lt;/P&gt;&lt;P&gt;rc=filename('di','/data/Resource/Alert/daily_files/');&lt;/P&gt;&lt;P&gt;did=dopen('di');&lt;/P&gt;&lt;P&gt;memcnt=dnum(did);&lt;/P&gt;&lt;P&gt;do i = 1 to memcnt; &lt;/P&gt;&lt;P&gt;name=dread(did,i);&lt;/P&gt;&lt;P&gt;path=catt(pathname('di'),'/',name);&lt;/P&gt;&lt;P&gt;rc=filename('f',catt(pathname('di'),'/',name));&lt;/P&gt;&lt;P&gt;did1=dopen('f');&lt;/P&gt;&lt;P&gt;if did1 then output;&lt;/P&gt;&lt;P&gt;rc=dclose(did1);&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;rc=dclose(did);&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 08:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179388#M34263</guid>
      <dc:creator>Vladislaff</dc:creator>
      <dc:date>2014-11-21T08:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179389#M34264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if there is a Unix equivalent as don't use it at the moment.&amp;nbsp; However in DOS you can simply direct the output to a text file and then read that in:&lt;/P&gt;&lt;P&gt;dir c:\temp&amp;gt;my_dir.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pop that in a batch file, run it and then run your SAS program to read that text file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 09:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179389#M34264</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-21T09:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179390#M34265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran your code, but I don't see any differences&amp;nbsp; in the directory. See log below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GOPTIONS ACCESSIBLE;&lt;/P&gt;&lt;P&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data dirs(keep=path name);&lt;/P&gt;&lt;P&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length name $ 200 path $ 200;&lt;/P&gt;&lt;P&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=filename('di','/data/Resource/Alert/daily_files/');&lt;/P&gt;&lt;P&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; did=dopen('di');&lt;/P&gt;&lt;P&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memcnt=dnum(did);&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i = 1 to memcnt;&lt;/P&gt;&lt;P&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=dread(did,i);&lt;/P&gt;&lt;P&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path=catt(pathname('di'),'/',name);&lt;/P&gt;&lt;P&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=filename('f',catt(pathname('di'),'/',name));&lt;/P&gt;&lt;P&gt;24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; did1=dopen('f');&lt;/P&gt;&lt;P&gt;25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if did1 then output;&lt;/P&gt;&lt;P&gt;26&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=dclose(did1);&lt;/P&gt;&lt;P&gt;27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=dclose(did);&lt;/P&gt;&lt;P&gt;29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.DIRS has 0 observations and 2 variables.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 10:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179390#M34265</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2014-11-21T10:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179391#M34266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whats the output of '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ls -d /data/Resource/Alert/daily_files/*' ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 11:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179391#M34266</guid>
      <dc:creator>Vladislaff</dc:creator>
      <dc:date>2014-11-21T11:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179392#M34267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this. But I would like to use OS command.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/25/074.html" title="http://support.sas.com/kb/25/074.html"&gt;http://support.sas.com/kb/25/074.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179392#M34267</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-11-21T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179393#M34268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can we the code (tweaking to match to my folders) provided in the link to match with my initial code &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;filename indat1 pipe&amp;nbsp; 'ls -d /data/Resource/Alert/daily_files/*' &lt;/STRONG&gt; ; for successful run in EG?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179393#M34268</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2014-11-21T14:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179394#M34269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Babloo, unless you solved your xcmd setting with your admins, you can forget using pipe or any other OS commands from SAS on the Unix server (EG is more like a browser terminal). That is where you started with the error message, "ERROR: Insufficient authorization to access PIPE."&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 15:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179394#M34269</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-21T15:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access PIPE - need alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179395#M34270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a macro . replace its parameter as you will .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="padding: 10px 0 8px; font-size: 11px;"&gt;%macro drive(dir,ext);&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %let filrf=mydir;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Assigns the fileref of mydir to the directory and opens the directory */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %let rc=%sysfunc(filename(filrf,&amp;amp;dir));&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %let did=%sysfunc(dopen(&amp;amp;filrf));&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Returns the number of members in the directory */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %let memcnt=%sysfunc(dnum(&amp;amp;did));&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Loops through entire directory */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %do i = 1 %to &amp;amp;memcnt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Returns the extension from each file */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %let name=%qscan(%qsysfunc(dread(&amp;amp;did,&amp;amp;i)),-1,.);&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Checks to see if file contains an extension */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %if %qupcase(%qsysfunc(dread(&amp;amp;did,&amp;amp;i))) ne %qupcase(&amp;amp;name) %then %do;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Checks to see if the extension matches the parameter value */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* If condition is true prints the full name to the log */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %if (%superq(ext) ne and %qupcase(&amp;amp;name) = %qupcase(&amp;amp;ext)) or&amp;nbsp; &lt;BR /&gt;&amp;nbsp; (%superq(ext) = and %superq(name) ne) %then %do;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %put %qsysfunc(dread(&amp;amp;did,&amp;amp;i));&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %end;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %end;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %end;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Closes the directory */&amp;nbsp; &lt;BR /&gt;&amp;nbsp; %let rc=%sysfunc(dclose(&amp;amp;did));&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;%mend drive;&amp;nbsp; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="padding: 10px 0 8px; font-size: 11px;"&gt;%drive(&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; /data/Resource/Alert/daily_files/&lt;/STRONG&gt;)&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Nov 2014 08:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-PIPE-need-alternatives/m-p/179395#M34270</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-11-22T08:05:12Z</dc:date>
    </item>
  </channel>
</rss>

