Currently there is a job in SQL server that is scheduled to runs several times a day.
The SQL Job builds a file for the DataStage job that is scheduled shortly after the SQL server job, problem being that if the SQL job hasn't finished building the file, the DataStage job fails.
Is there a trigger/query that can be added on SQL server to trigger DataStage job?
Multiple solutions are possible: