<?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 run Java code from enterprise guide? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/893824#M43664</link>
    <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/427924"&gt;@IditMaor&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The answer to your question depends on how you to propose to use java.&lt;BR /&gt;We have java codes which are packaged as jar files and executed independently to supplement SAS programs.&lt;BR /&gt;It is indeed possible to execute execute the jar file from within SAS code. On approach is by using X command.&lt;BR /&gt;Data can be passed to the java jar using command line or as a csv file.&amp;nbsp;&lt;BR /&gt;Java can also be used to read SAS datasets but I would not prefer this approach.&lt;BR /&gt;Everything depends on what exactly is required and the SAS programmers comfort level.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 15:15:08 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2023-09-12T15:15:08Z</dc:date>
    <item>
      <title>How to run Java code from enterprise guide?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/892522#M43624</link>
      <description>&lt;P&gt;I have a code in java that generate excels with templates, can I reuse the code using sas guide or sas base?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 09:26:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/892522#M43624</guid>
      <dc:creator>IditMaor</dc:creator>
      <dc:date>2023-09-04T09:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Java code from enterprise guide?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/892529#M43625</link>
      <description>&lt;P&gt;You find the docs at &lt;A href="https://documentation.sas.com/doc/de/lrcon/9.4/n0swy2q7eouj2fn11g1o28q57v4u.htm" target="_blank"&gt;https://documentation.sas.com/doc/de/lrcon/9.4/n0swy2q7eouj2fn11g1o28q57v4u.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 10:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/892529#M43625</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2023-09-04T10:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Java code from enterprise guide?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/892622#M43627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/427924"&gt;@IditMaor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While reading the documentation link provided by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;, you'll need to make sure it relates to your SAS server!&lt;/P&gt;
&lt;P&gt;Enterprise Guide is a Windows Application connecting to a backend SAS server, and the SAS server can be Local (installed on the same Windows platform as your EG) or Remote (Installed on Linux/Unix/Cloud/Windows Server)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With all that said, you'll need to have your custom Java Class/Code to reside on the same platform as your SAS server, as your SAS server is the sole responsible for executing Code and not your EG Front-End.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 18:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/892622#M43627</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-09-04T18:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Java code from enterprise guide?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/893824#M43664</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/427924"&gt;@IditMaor&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The answer to your question depends on how you to propose to use java.&lt;BR /&gt;We have java codes which are packaged as jar files and executed independently to supplement SAS programs.&lt;BR /&gt;It is indeed possible to execute execute the jar file from within SAS code. On approach is by using X command.&lt;BR /&gt;Data can be passed to the java jar using command line or as a csv file.&amp;nbsp;&lt;BR /&gt;Java can also be used to read SAS datasets but I would not prefer this approach.&lt;BR /&gt;Everything depends on what exactly is required and the SAS programmers comfort level.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 15:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-run-Java-code-from-enterprise-guide/m-p/893824#M43664</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-09-12T15:15:08Z</dc:date>
    </item>
  </channel>
</rss>

