One Star

System.Out.Println returning null

I have a piece of one job, that isn't working. It seems so straightfoward, I can't figure out what is wrong. All I'm trying to do is read a record using tOracleInput and do a System.out.println(row5.PROCESS) in a tJava component; All I get is Null. What am I doing wrong?
Thanks for your help,
Marcie
3 REPLIES
One Star

Re: System.Out.Println returning null

Use tJavaRow instead of tJava.
One Star

Re: System.Out.Println returning null

Thanks, it works now, but I've used tJava to do this on other jobs, why did I have to use tJavaRow this time?
Seven Stars

Re: System.Out.Println returning null

tJavaRow is for doing something for each row. tJava is for doing something once off; if included in a flow, it's executed before the first row.