vishaljain wrote:Ihave a job X which should run only if jobs A, B, C, D and E are finished. The problem is that jobs A, B, C, D and E will run only if there input files has data in it. Atleast one of the jobs will run but not sure which one.So I am not sure how should I put the dependency in scheduler to run job X. Is there anyway we can do it in scheduler or through JCL?
This is the inference I can make from what you've posted:
IF A AND B AND C AND D AND E executes
execute X
ELSE
Don't execute X
END-IF
At IF, there is an "AND" involved for all the Jobs in question which means X can execute only when all these Jobs are executed but, per the bold text from above quoted-text -- you say "atleast one of the jobs will run" -- so what is it -- "Atleast one" or "All of them". It can't be both, you understand, yes?