Page 1 of 1

datastage- java pack

Posted: Thu Mar 04, 2010 12:10 pm
by pavan_test
Hi All,

I am working on a etl job using java pack. I have test.java program that I wrote. Can someone please tell me know how do I compile this program
into .class
where do I find the java classpath on etl server v8.1.

Thanks
mark

Posted: Thu Mar 04, 2010 1:08 pm
by eostic
check out the examples at my blog below....table of contents in the upper right...look for info on integrating java with DataStage....

...and search this forum...there are several of us that work with java and DataStage a lot and have thoughts and answers to other threads....

Your JavaClass interacts directly with the DataStage engine...it can "read" rows from input links and it can "write" rows to output links...as a row arrives, your java class is given control. This is done by designing your class with several specifically named methods, and compiling it with the datastage javapack API. It is well documented and you will find resources as noted above.

Let us know if you have other questions as you move forward.

Ernie

datastage - javapack

Posted: Thu Mar 04, 2010 2:34 pm
by pavan_test
I was able to locate the classpath. when I compile the java program it is giving me errors such as
package com.ascentialsoftware.jds does not exist

can someone please suggest me.

Thanks
Mark

Re: datastage - javapack

Posted: Fri Jan 20, 2012 10:01 am
by josejohny
Add jar file into /<server>/etl/InformationServer/Server/DSEngine/java/lib/tr4j.jar class path.

Thanks
Jose