Hello,
I have a Parallel job which Loops through 2 other jobs.
The following is the exit condition of the loop.
LinkRow = DSGetLinkInfo (hJob1, "Transformer_86", "DSLink87", DSJ.LINKROWCOUNT)
If (LinkRow > 0) then Goto THE_BEGINNING
I have found that the loop is working fine in our development env. But, using the same input data set, it does not iterate in our production. Only run through once.
Thx a lot in advance,
william
Loop using Job Control
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What is different between the two environments? Is the link row count actually zero on the second iteration in production? That is, is the loop exited validly?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 11
- Joined: Mon Dec 05, 2005 4:11 am
Hi Ray,
I've tried to log the Link row count and it is zero after the first pass. So the loop got a normal exit.
I think the two environments are almost the same except that I can see "Generated OSH" tab in Development Machine but not in Production.
It seems like the
DSGetLinkInfo
is not behaving the same way as in Dev.
Thanks,
william
I've tried to log the Link row count and it is zero after the first pass. So the loop got a normal exit.
I think the two environments are almost the same except that I can see "Generated OSH" tab in Development Machine but not in Production.
It seems like the
DSGetLinkInfo
is not behaving the same way as in Dev.
Thanks,
william
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: