BookmarkSubscribeRSS Feed
Ronny_Dsouza
Obsidian | Level 7

Hi All,

We are exploring the feasibility of  reusing a Java code as part of the Data job.

The scenario is that most of the business rules are configured using Java programs, and the customer would like to re-use this environment.

Thus we would be highly obliged if any one in the forum can guide us through with an example of using the Java transformation ( Part of Utilities) within the data job.

Thanks

Ronny

1 REPLY 1
MikeFrost
SAS Employee

Hi Ronny,

You can call your Java code in a data job using the Java Plugin node, located in the Utilities group in the Modes rise. To use it, you have to use one of the supplied plug-in wrappers for your Java program. These facilitate the parameter passing between a data job and the Java plug-in. There are examples and associated Javadoc included with your installation here:

C:\Program Files\SASHome\DataFluxDataManagementStudio\2.6\lib\DMPJavaPluginExamples.zip

The Data Management Studio 2.6 User's Guide contains some additional help on this as well:

Running a Java Program in a Data Job

See if that will help you get started.

Regards,

Mike F.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1032 views
  • 0 likes
  • 2 in conversation