|
I am curious as to why not dataques?--
On 2/3/2014 2:45 PM, Gary Thompson wrote:
I have program clle_1 currently in pilot, and am reviewingpallets
activation group design to get correct function with good efficiency.
One concern is file updates made by program sqlrpgle_1 must be read
by programs sqlrpgle_2 and sqlrpgle_3.
clle_1 runs as a (almost) never-ending program, meaning it runs in a
loop for about 24 hours, ends and re-starts minutes later.
The clle_1 loop has two phases, separated by DLYJOB(75) :
1) Call sqlrpgle_1 to collect pallet item and quantity picked from
a 3rd-party app running on our network and update custom files on
our system i. Data from the 3rd-party app is received from IFS
directory 3p_1.
Call sqlrpgle_1 to collect pallet load status from the 3rd-party app
and update custom files on the i to show pallets confirmed for
shipment. Pallet confirmation is received from the same 3rd-party
app, but the data is received from IFS directory 3p_2.
DLYJOB(75)
2) Call sqlrpgle_2 to check for customer deliveries where all
are confirmed for shipment (no updates) and call sqlrpgle_3 to load*NEW
local files with delivery data, print pallet labels and transfer an
Advance Ship Notice to the customer.
DLYJOB(75)
My new activation group design:
Leave clle_1 set to *DFTACTGRP
Change sqlrpgle_1 from activation group QILE to *NEW
(to force updates to be "posted", assuming that
with a
activation group, when sqlrpgle_1 returns withLR=*ON, file
updates "take effect" similar to FEOD ?)sqlrpgle_1,
Change sqlrpgle_2 from activation group *NEW to *CALLER,
Different than the *NEW activation group created by
for same reasons mentioned for sqlrpgle_1.steps per day.
That is a combined total of some 1,400 activation group
create/delete
All suggestions/comments gratefully welcomed . . .
--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin
In the pitiful, multipage, connection-boxed form to which the
flowchart has today been elaborated, it has proved to be useless as a
design tool
-- programmers draw flowcharts after, not before, writing the programs
they describe. -- Fred Brooks, Jr.
--
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.