Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to code a condition in Sequence Job ??

Status
Not open for further replies.

donafran

Programmer
Jul 11, 2002
71
US
Hello !
OK -- I have a set of 6 Parallel jobs that I am now putting together into a SEQUENCE job to control job flow.

Here's a description of what I need to do :
PJ1 , PJ2, PJ3 can run in parallel, are fed through a Sequencer.

PJ4 isnt really a job -- I just need to check the value of a flag (Job Parameter).
IF Flag= Y, Execute PJ5
If Flag = N, Execute PJ6

I am stumped as to how to retrieve the VALUE of a JOB PARAMETER as the Trigger in xxJ4 stage.
Please help !
Thanks
========================
I can't seem to attach a picture, so this is the best I Can do at illustration:
Code:
PJ1 -----\                                             /Flag=[b]Y[/b] - PJ5
          \                                           /
PJ2 -----==> (blue Sequencer Stage) --> [COLOR=#EF2929][i][b]xxJ4[/b][/i][/color]         /
          /                           Value of FLAG?<  
PJ3 -----/                                                                                                 \Flag=[b]N[/b] - PJ6
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top