<?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: Batch submit option in SAS Linux license in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850070#M25658</link>
    <description>&lt;P&gt;If you're running regular Foundation SAS (no EBI / Viya etc) one option could be to install SASjs Server and use that as your batch executor.&lt;BR /&gt;&lt;BR /&gt;Docs are here: &lt;A href="https://server.sasjs.io" target="_blank"&gt;https://server.sasjs.io&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's an MIT open source REST API for SAS, works on both windows &amp;amp; linux.&amp;nbsp; You can trigger batch jobs by right click (launch Stored Program) or by calling the API endpoints from another application.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 14:07:29 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2022-12-16T14:07:29Z</dc:date>
    <item>
      <title>Batch submit option in SAS Linux license</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850037#M25655</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to possibly create a Right click batch submit option in SAS Linux license or by default any option of batch submission.&lt;/P&gt;&lt;P&gt;Or it's any way to create the option using batch script or any other way to possible please suggest us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 08:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850037#M25655</guid>
      <dc:creator>jkaran123</dc:creator>
      <dc:date>2022-12-16T08:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Batch submit option in SAS Linux license</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850039#M25656</link>
      <description>&lt;P&gt;There is no button in the sas editor for batch submit. But you can batch submit from the terminal. Ask your admin for the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n0x9esc5c95qg4n1wogx5u2k7354.htm#:~:text=To%20run%20SAS%20in%20batch,nohup%20%2C%20or%20cron%20UNIX%20commands." target="_blank"&gt;SAS Help Center: Batch Mode in UNIX Environments&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 09:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850039#M25656</guid>
      <dc:creator>rudfaden</dc:creator>
      <dc:date>2022-12-16T09:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Batch submit option in SAS Linux license</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850070#M25658</link>
      <description>&lt;P&gt;If you're running regular Foundation SAS (no EBI / Viya etc) one option could be to install SASjs Server and use that as your batch executor.&lt;BR /&gt;&lt;BR /&gt;Docs are here: &lt;A href="https://server.sasjs.io" target="_blank"&gt;https://server.sasjs.io&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's an MIT open source REST API for SAS, works on both windows &amp;amp; linux.&amp;nbsp; You can trigger batch jobs by right click (launch Stored Program) or by calling the API endpoints from another application.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 14:07:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850070#M25658</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2022-12-16T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Batch submit option in SAS Linux license</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850078#M25660</link>
      <description>&lt;P&gt;Yes it is indeed possible to run a batch script by double clicking it on the Linux desktop for example gnome desktop. &lt;BR /&gt;A simple and rudimentary approach is given below. It is assumed that SAS is locally installed. You need to experiment a bit.&lt;BR /&gt;I don't have SAS installed on the Linux Desktop and haven't tested it. (Linux servers typically don't have a desktop environment installed).&lt;BR /&gt;Step 1: Create a batch script say &lt;STRONG&gt;&lt;EM&gt;myscript.sh&lt;/EM&gt;&lt;/STRONG&gt; to run the sas program and make it executable.&lt;BR /&gt;This could be something like this. Modify to suit your needs.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/full_path_to_sas_executable/sas myprog.sas&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Step 2:Create a script&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;myscript.desktop&lt;/EM&gt;&lt;/STRONG&gt; and keep on the desktop. The content of the script will be as follows. Make appropriate changes to reflect your situation.&lt;/P&gt;
&lt;PRE&gt;[Desktop Entry]
Name=MyScript
Comment=Test hello world script
Exec=/home/user/yourscript.sh
Icon=/home/user/youricon.png
Terminal=false&lt;BR /&gt;Type=Application&lt;/PRE&gt;
&lt;P&gt;Step 3: Double clicking the MyScript on the desktop will run the script &lt;STRONG&gt;&lt;EM&gt;myscript.sh&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It is possible to have a more refined system using dialog of zenity or may be GTK+ or Java. It would be techically possible to select the batch script to be executed. Adequate programming skills on the Linux environment needed.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 14:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850078#M25660</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-12-16T14:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Batch submit option in SAS Linux license</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850081#M25661</link>
      <description>&lt;P&gt;Can you say more about your use case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you say right-click, that suggests you've got a GUI environment running on linux?&amp;nbsp; If so, which one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typically on a simple SAS install running on linux, batch submitting a sas program at a command prompt is as simple as:&lt;/P&gt;
&lt;PRE&gt;sas myprogram.sas&lt;/PRE&gt;
&lt;P&gt;If you've got a SAS9 metadata server it's slightly more complicated, but I think SAS provides a shell script, sasbatch.sh, to help with all the configuration/metadata server stuff. On my server, you can batch submit from a command prompt something like:&lt;/P&gt;
&lt;PRE&gt;sasbatch.sh  -sysin ~/myprogram.sas
&lt;/PRE&gt;
&lt;P&gt;EG never added a batch submit button, sadly.&amp;nbsp; I haven't used Studio, but I thinik it has a "background submit" button which is a batch submit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 15:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850081#M25661</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-12-16T15:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Batch submit option in SAS Linux license</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850228#M25668</link>
      <description>&lt;P&gt;If you have a metadata-enabled SAS installation on Linux which means you have a working metadata tier, then the easiest way to run batch jobs in my opinion is to use the Schedule Manager functionality in SAS Management Console. If you aren't familiar with SMC, it is a PC-installed tool that allows you to connect to your SAS server and run or schedule batch jobs via a GUI - you avoid using command lines completely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Schedule Manager automatically builds and runs a SAS batch command line behind the scenes and puts all of the batch logs in one folder, nicely time and date stamped so they are all in one place and in time order.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2022 23:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Batch-submit-option-in-SAS-Linux-license/m-p/850228#M25668</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-12-17T23:56:19Z</dc:date>
    </item>
  </channel>
</rss>

