Call java code

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Sathish321
Participant
Posts: 8
Joined: Tue Jan 30, 2007 11:22 pm
Location: Chennai
Contact:

Call java code

Post by Sathish321 »

Hi,
Is there a way to call a java code from Datastage
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi Sathish,
Server forum would be more appropriate.
As noted in other thread, using ExecuteCommand activity you can call the OS level commands. If its just an executable, you can directly call it using Execute comman activity stage. Else you can write the Batch file and execute it.
Btw, how you call currently?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can purchase the add-on Java PACK.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Define 'call Java code'. What / when. Otherwise, the only appropriate answer is 'yes'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Smeitei
Participant
Posts: 28
Joined: Tue Jan 23, 2007 3:14 pm

Post by Smeitei »

If you call the java code before or after the DS job then use a shell script to call the java code and define it as Before or After job subroutine
Post Reply