Parallel groups was excuted after the before flowing happened an error
Dear all, this day ,i happened to a strange thing when etl flow running. the elt flow like this below
schedule ->start ->flow1 ->flow2
1、flow1 contains folw11,flow12,flow13... 2、flow2 is a parallel group that contains flow21,flow22,flow23...(these flow are also contains some flow,just like flow221,flow222,flow223....) 3、flow1 to flow2 ,I have set the condition is Ok Default Condition there're no problem until this morning .flow12 happend an error ,and the flow13 did not run(that's right), but the flow2 did run(that's wrong.)
do anyone konw how this happened ?and why? now the code is like blow.pls help me.3ks all.
This message has been edited. Last edited by: swell.wang,
webfocus 7.65 windows xp sp3 excel,html ,pdf,and graph
May 12, 2010, 10:59 PM
Waz
Although I like the way it looks, can you please post your code between the
[CODE]
[/code] Tags
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
May 12, 2010, 11:07 PM
swell.wang
ok. 3ks I have changed that
webfocus 7.65 windows xp sp3 excel,html ,pdf,and graph
May 13, 2010, 04:27 PM
Dan Satchell
-IF (&&DEP_11_RC EQ 0) GOTO :DEP_1;
In your code, I see the necessary return code check only in the DEP_11 step. Simlar RC checks should appear in all steps. Are you certain the condition properties are set for all steps?
WebFOCUS 7.7.05
May 15, 2010, 11:59 PM
swell.wang
hi Dan, the whole flow is like this: schedule ->start ->DEP_11 ->DEP_1 ->DEP_5 ->DEP_8 ->DEP_9
when DEP_11 goto -DEP_1/DEP_5/DEP_8/DEP_9 ,I have setted 'Ok Default Condition' condition. flows in the Dep_11, I set default condition. should i set the same condition in son flows of Dep_1 ?
webfocus 7.65 windows xp sp3 excel,html ,pdf,and graph
May 16, 2010, 03:26 PM
Dan Satchell
As currently coded, there is nothing to keep DM from proceeding from one step to the next, except &&KILL_RPC. Therefore, yes you need to set the continuation condition for each step.
WebFOCUS 7.7.05
May 17, 2010, 12:06 AM
swell.wang
Dan S, thanks for you reply. I will try it again then post the result later.
webfocus 7.65 windows xp sp3 excel,html ,pdf,and graph
May 17, 2010, 07:12 AM
swell.wang
quote:
Originally posted by Dan Satchell: As currently coded, there is nothing to keep DM from proceeding from one step to the next, except &&KILL_RPC. Therefore, yes you need to set the continuation condition for each step.
hi,Dans,I checked my code again ,but didnot found any question,could you help me check it?
here are the codes of flow Dep_11 . I wonder that if &&KILL_PRC in the flow etl_all could be used in the son flows of Dep_11(flow name is before_deal). Just like global variable ?
webfocus 7.65 windows xp sp3 excel,html ,pdf,and graph
May 17, 2010, 09:08 PM
Dan Satchell
Your posts are very confusing. In your first post, you want to know why your parallel group ran after flow 12 failed and flow 13 was cancelled, but instead of displaying code for flows 12 and 13, you display code for your parallel group (which I didn't realize until your latest post). In your latest post, I still don't see flows 12 and 13. In addition, there are references to flows 2 and 47, but those flows are not present in the code. Finally, there is a flow 1, which should not happen when you also have a flow 1 in your parallel group.
WebFOCUS 7.7.05
May 20, 2010, 06:57 AM
swell.wang
ok, 3ks dan, may be i did not express clearly,sorry about that.