I have a job that can have 2 steps, and depending on arguments and how the job gets invoked, I may not want both steps to run. Sometimes I would like to perform step1 first, then step2, but other times I only want to perform step 2. Is there any way, aside from creating a pre-step that makes a decision on those arguments? I can interrogate the parms in the reader itself and just "return null", but I'd like to keep job flow logic out of the job.


Reply With Quote
