Do not start the data queue program from the trigger!
You end the data queue program because you want to replace with a newer
model. But before you get it in there the trigger sees it is not running
and starts it again.
Or, you end the data queue program because you're about to start some
dedicated process: backup, monthend, etc. Same thing.
Now, on to the question. If you want to always use the new program and do
not want to use the independent data queue approach, then you start
getting into technical stuff like: setting on LR in RPG, using different
activation groups, etc.
This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact