BookmarkSubscribeRSS Feed
IditMaor
Calcite | Level 5

I have a code in java that generate excels with templates, can I reuse the code using sas guide or sas base?

3 REPLIES 3
AhmedAl_Attar
Ammonite | Level 13

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

Sajid01
Meteorite | Level 14

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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 477 views
  • 0 likes
  • 4 in conversation