We have a requirement as follow, but I am unable to implement it in DESERIES.
There is 1 application which has 4 jobs
Job A (SAP R3)
Job B (SAP R3)
Job C (File Trigger) - Name of the file will be same but size of the file will vary everyday and old files will be deleted.
Job D (This job needs to run only if there is a FILE, if the file is not received or not there for any day, then Job D should not be running and application should be in SUCCESS.)
Also, whatever the day is (whether we have file there or not), the application - TEST_PROGRAM has to be successful and not in FAILED state.
How can we setup this in DESERIES? I don't find any functionality like autosys - where if the file is not there for 5 mins, then it will terminate the file trigger job and in turn whole application can be considered as SUCCESS?
This is what i would do not sure if anyone else has a better answer. I would put job D in a seperate application with a File Trigger Event.
Once complete TEST_PROGRAM will complete
if a file is created TEST_PROGRAM_2 will trigger and Job D will run,
if no file nothing happens
- with a FILE TRIGGER EVENT. This way the job only triggers when a file is there and is not loaded everyday