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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1300 views
  • 0 likes
  • 2 in conversation