<?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: how to execute a sas function and passing parameters on a unix server using the terminal window in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936682#M45048</link>
    <description>&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/12/19/running-sas-programs-in-batch-under-unix-linux/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/12/19/running-sas-programs-in-batch-under-unix-linux/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2024 21:00:10 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2024-07-22T21:00:10Z</dc:date>
    <item>
      <title>how to execute a sas function and passing parameters on a unix server using the terminal window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936636#M45043</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tested my SAS function on the production server (unix server) using SAS EG.&lt;/P&gt;
&lt;P&gt;But, from now, I would like to know how to execute the SAS function and passing parameter such as orderdate, ordertime, file destination and filename on a Unix server but now from a terminal windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide an example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 17:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936636#M45043</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2024-07-22T17:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to execute a sas function and passing parameters on a unix server using the terminal window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936647#M45044</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76331"&gt;@alepage&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tested my SAS function on the production server (unix server) using SAS EG.&lt;/P&gt;
&lt;P&gt;But, from now, I would like to know how to execute the SAS function and passing parameter such as orderdate, ordertime, file destination and filename on a Unix server but now from a terminal windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide an example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is not at all clear what you are trying to do.&amp;nbsp; "FUNCTION" is probably not the right word here.&amp;nbsp; You can define a function in SAS using PROC FCMP, but that would have little to with working from command line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also posted this under the Enterprise Guide forum.&amp;nbsp; Are you using Enterprise Guide to submit your SAS code?&amp;nbsp; Are you trying to call some EG PROJECT from the Unix command line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do you have an actual .sas PROGRAM that you want to run using regular old SAS directly from the command line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which one you have probably makes a big difference for how you can pass in user specified values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you just have a SAS program you can look at the -set command line option. Or the older -sysparm command line option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to run a whole Enterprise Guide project flow then something else is probably needed.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 18:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936647#M45044</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-07-22T18:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to execute a sas function and passing parameters on a unix server using the terminal window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936679#M45047</link>
      <description>&lt;P&gt;You can set environment variables in the script that calls your SAS program, and retrieve the values with %SYSGET.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 20:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936679#M45047</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-07-22T20:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to execute a sas function and passing parameters on a unix server using the terminal window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936682#M45048</link>
      <description>&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/12/19/running-sas-programs-in-batch-under-unix-linux/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/12/19/running-sas-programs-in-batch-under-unix-linux/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 21:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936682#M45048</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-07-22T21:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to execute a sas function and passing parameters on a unix server using the terminal window</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936694#M45049</link>
      <description>&lt;P&gt;Home &amp;gt; Programming &amp;gt; Programming &amp;gt; &lt;STRONG&gt;Unix: passing parameter to a SAS program in command line&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Unix-passing-parameter-to-a-SAS-program-in-command-line/td-p/367837" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Unix-passing-parameter-to-a-SAS-program-in-command-line/td-p/367837&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Above topic was solved ! Have a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 22:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-execute-a-sas-function-and-passing-parameters-on-a-unix/m-p/936694#M45049</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-22T22:07:09Z</dc:date>
    </item>
  </channel>
</rss>

