|
Sorry Ken - I still don't understand. What am I missing here?
Isn't any poor sucker who has to maintain this code in the future going to
waste a lot of time wondering what the heck this DQ is being used for and
why?
Surely invoking a function that directly says what it is doing (e.g.
sleep() ) has to be more obvious. I just can't see any advantage to this
approach and several disadvantages.
On 2013-07-12, at 9:33 AM, Ken Sims <mdrg8066@xxxxxxxxxxx> wrote:
On Fri, 12 Jul 2013 07:49:49 -0500, Justin Taylormailing list
<JUSTIN@xxxxxxxxxxxxx> wrote:
"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.
Ken"
O_o Mind explaining your reasoning?
I want to see the natural PGM-xxxxxxxx function. Also, I happen to
think that DEQW looks "nicer" than DLYW for the status.
And the DLY function information that is displayed isn't going to be
helpful because my "never ending" jobs only delay for 15 seconds at a
time, then check for a controlled shutdown request.
How often they do any actual processing depends on the specific job.
Some count a particular number of 15-second delays. Others look for
specific clock items. For example, a job may do processing every ten
minutes on the ten minutes.
Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.