datastage Phantom error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

datastage Phantom error

Post by deepthi »

Hi,
I have a simple server job that has XML input stage and webservice transformer.

The job runs fine , but always throws a Phantom warning

"DataStage Job 80 Phantom 28551
Program "DSD.StageRun": Line 301, Square root of a negative number.
DataStage Phantom Finished"

I have the job design as

seqfile ---->trn----->webservice trn------>xmlip---->seqop.

Not sure where the error is .

Please advice

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search the forums for "square root of a negative number", it's been reported a number times.
-craig

"You can never have too many knives" -- Logan Nine Fingers
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

Post by deepthi »

chulett wrote:Search the forums for "square root of a negative number", it's been reported a number times. ...
I have a routine that calls this job. As the job is returning a phantom warning, it is producing DsLogFatal error in the routine .
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

And? From what I recall, this is an acknowledged bug so not sure you can do anything to fix it, per se. Can you 'work around' the issue by considering a Finished with Warnings result as ok?

Bring the issue up with your official support provider, perhaps there is a patch available.
-craig

"You can never have too many knives" -- Logan Nine Fingers
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

Post by deepthi »

[quote="chulett"]And? From what I recall, this is an acknowledged bug

I am calling DSRunJob Command to run this specific job. How can i control the DSRunJob not to give DSLogFatal error if the job runs with this phantom warning. My run command is

ERRORCODE = DSRunJob(JobHandle1,DSJ.RUNNORMAL).

Please advice
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use DSJ.ERRNONE as the second argument to DSAttachJob(), then handle the job status explicitly in your code.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
SHARAD123
Premium Member
Premium Member
Posts: 54
Joined: Wed Jan 09, 2008 12:05 am

Post by SHARAD123 »

I think ur job would be handling some null values. Thats a common scenario for this error to occur
222102
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or there may be an expression that takes the square root of a negative number - well, attempts to - in the Transformer stage in question. One ought never to leap to conclusions during diagnosis.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply