I have a code in java that generate excels with templates, can I reuse the code using sas guide or sas base?
You find the docs at https://documentation.sas.com/doc/de/lrcon/9.4/n0swy2q7eouj2fn11g1o28q57v4u.htm
Hi @IditMaor
While reading the documentation link provided by @andreas_lds, you'll need to make sure it relates to your SAS server!
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)
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.
Hope this helps,
Ahmed
Hello @IditMaor
The answer to your question depends on how you to propose to use java.
We have java codes which are packaged as jar files and executed independently to supplement SAS programs.
It is indeed possible to execute execute the jar file from within SAS code. On approach is by using X command.
Data can be passed to the java jar using command line or as a csv file.
Java can also be used to read SAS datasets but I would not prefer this approach.
Everything depends on what exactly is required and the SAS programmers comfort level.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.