message: 3
date: Fri, 12 Jul 2013 07:49:49 -0500
from: Justin Taylor
subject: Re: Delay job from RPGLE

"For "never ending" jobs that do a delay, I personally prefer to NOT see CMD-DLYJOB.

I use a wait on a data queue entry against a data queue created in QTEMP.

By putting the data queue into QTEMP, you have now isolated it entirely from "external forces".
This would cause some problems if you ever wanted to extend its function across jobs, or have it respond to data inserted into the data-queue.

In this case, I think your QTEMP-data-queue is overkill, and the DLYJOB command would be more clear if that is all that is happening here.

- John Voris

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.