× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: re: processing a file -Reply -Reply -Reply
  • From: Robert Kerr <Robert_Kerr@xxxxxxxxxxxxxxx>
  • Date: Wed, 16 Jul 1997 08:24:12 -0500

Scott wrote,

Hey, that's pretty slick!  I'm curious though - there is a maximum size for
data queue objects (I don't know what it is off the top of my head) and if
you fill up your queue, the system pukes (I know 'cause we have a data
queue driven app that has exactly that problem sometimes).  Doesn't your
technique run the risk of bombing if your feeder program gets too far
ahead of of the processing programs?  Of course, you can "tune" your
performance to avoid this by running many instances of the process
program compared to few (or 1 instance) of the feeder program, but I'd
be interested to hear your experiences (if any) with this problem.

Data queues are wonderful things, but you do have to acount for
everything... I use a series of data area counters and a monitor program
that I wrote for the operators to use...the data areas are incremented and
decremented as records are added and removed...this also gets me
around data queues not playing well with ALCOBJ... the monitor program
is soft coded so I just add data queue names to a file and presto , my
operators monitor it.... this way the processing programs are dynamic as
well...I can run from 1 to 99 process programs for a given data
queue..the size will get you if you fall asleep....I think the *nomax is
around that magic 2 gig mark... also think about what you are putting in
the queue... in this example of the feeder program it sounds like he's
writing a work file....only load the data that you need in the output...if it's
an update process..you don't need the whole record loaded to the q...
just the data you care about... sometimes wonderful thngs are alot of
work.... I have used this system at two large shops and both love
it....once I had the monitor, viewer, generic loaders and pickers written
with reload capabilities, I don't have to think so much anymore....

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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-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.