Java Pack problem - error

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
jtsoong
Participant
Posts: 29
Joined: Mon Oct 22, 2007 11:52 pm

Java Pack problem - error

Post by jtsoong »

Hi guys

i have a java class that can be called ok.

however as soon as i put an 'info("this is some trace")' statement in the java program i get this error:
"Abnormal termination of stage XXX_Job..TRANS_SetUp_Message detected"

If i take out this 'info' line then it works fine....

If i put in a 'warn' message and turn on tracing i get the same error.

Has anyone had this problem before? :)

thanks

jon
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Please provide more info. about your job. Are you using Java client or Java Transformer?
jtsoong
Participant
Posts: 29
Joined: Mon Oct 22, 2007 11:52 pm

Post by jtsoong »

lstsaur wrote:Please provide more info. about your job. Are you using Java client or Java Transformer?
java client in a server job.

i have a transformer than sends data to my java client.. the java client runs ok, but if i put a 'warn' or 'info' in it fails with the error message above and doesn't show me the statement. if i put a 'fatal' in it actually shows me the statement i'm trying to print out in Director... but i really just want to use 'info' to help me debug the program.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Perhaps you need to direct your diagnostic messages to somewhere other than standard output. Many DataStage stages are averse to "unexpected data".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Please post your Java program if you don't mind.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

In v8 warn and trace are broken. other alternatives have to be used.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

follow-up... I just stuck this inside one of my sample classes and it sent the messages as a group to the last message inside the standard Director based DS Log.

System.out.println("we are inside of process!");

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
jtsoong
Participant
Posts: 29
Joined: Mon Oct 22, 2007 11:52 pm

reply

Post by jtsoong »

eostic wrote:In v8 warn and trace are broken. other alternatives have to be used.

Ernie
oh right ya that seems to be the case :)

its something i can work around, good to know its them not me though :)
Post Reply