Divident by zero

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Dividend by zero

Post by vikibemech »

By seeing the log in Director, I have taken the transformer count (4th trans in log). Error msg i have mentioned above. 5 columns coming as input to transformer (as mentioned above). let me know if you have any questions.
Vignesh Kumar N
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

If you are looking for any assistance from others, you need to do what they are asking.

1.) Provide those lines mentioned from RT_BP1130 file - as mentioned by Ray
2.) Provide the (non-direct) derivations in stage variables and links - even though they may not be division operation carried out.
vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Dividend by zero

Post by vikibemech »

DataStage Job 1130 Phantom 10132

Program "JOB.867233938.DT.1505838351.TRANS4": Line 109, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 110, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 111, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 112, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 109, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 110, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 111, Division by zero, zero returned.

Program "JOB.867233938.DT.1505838351.TRANS4": Line 112, Division by zero, zero returned.
Vignesh Kumar N
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

That's a repost of the output from the phantom error / job log, not what was requested.
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Craig after reading this = :shock: -> :x -> :evil: -> :twisted: -> :cry: -> :?:
aladap12
Participant
Posts: 60
Joined: Fri Jul 20, 2007 1:15 pm
Location: NO

Re: Dividend by zero

Post by aladap12 »

vikibemech wrote:thanks for the info. I walked through the trans4 stage and there is no arithmatic division in any of the column. My design is like this Seq file-> Agg -> Hash file ->transformer.

Hash file input is 10K records but output is only 33 records(which is the input for Transformer). I am not clear where the other records are? Please advice if any.
Have you checked the file Names in the hashed file ? ie.. Input and output.. check that once... I assume that they are different in your case.

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

Post by chulett »

Sainath.Srinivasan wrote:Craig after reading this = :shock: -> :x -> :evil: -> :twisted: -> :cry: -> :?:
:lol:
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

chulett wrote:How about you go to that TRANS4 file and actually post the code from the lines mentioned plus several on either side, let us take a look?
:?:
-craig

"You can never have too many knives" -- Logan Nine Fingers
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

chulett wrote:
chulett wrote:How about you go to that TRANS4 file and actually post the code from the lines mentioned plus several on either side, let us take a look?
:?:
:?:

teeth/pulling :D
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Divident by zero

Post by vikibemech »

Thanks for the info provided till now. Issue has been resolved now.
Vignesh Kumar N
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

In the spirit of things (and the effort expended here), could you elaborate on how this was resolved in the end please? Mark the topic as resolved too please, as it will guide others to this resolvable issue in future.
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Post by vikibemech »

Identified the policy no which is creatign the issue. Filter the policy in transformer stage by a constraint. Job completed succesfully.
Vignesh Kumar N
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

So what was the issue caused by the policy number? Was it a null / a zero?
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
Post Reply