Skipping a session in a job
Baan: Baan IVc3
DB: Oracle 9.0.1.x
OS: Solaris 9 (SunOS 5.9)
I want to run a session in a job with two different set of parameters but if the first one(B) runs, I do not want the second one(C) to run. So, I was planning to create a third(A) session and put it before these two sessions(the question comes here). I want the first session(A) run and depending of the logic I want to apply in to it, I want to force this session to fail (or set a flag) and and use the field: "skip on error field" to run the session I want depending on the outcome of the first session(A).
Something like this:
Session A if error run session C
Session B Skip to sessin D
Session D (dummy session if needed)
Any ideas? or a better approach?
Thanks in advance,
Carlos Gonzalez CPIM,CSCP