× 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: Data Queue's
  • From: RDJessen@xxxxxxx
  • Date: Tue, 22 Sep 1998 21:42:26 EDT

I need some information on when data gets written to a data queue when a spool
file is created.  I am supporting a utility (written by a former employee of
course) that reads a data queue to find newly created spool files.  The
utility is an asynch program that fires up every 30 seconds and moves the
spool file from one output queue to another for printing and archiving.
Occassionally the utility misses a spool file.  When I manually move the spool
file to another output queue and back again, the utility is able to find and
process it.

I suspect I have a timing problem...that the data queue is loaded with
information for the spool file before the spool file status is changed to
'RDY'.  The utility program grabs information from the data queue and tries to
move the spool file but fails because it is not in RDY status.

I've tried changing the SCHEDULE parameter on the printfile to *IMMED with no
success.  Can someone help me understand exactly when information is written
to the data queue and can it be controlled to coincide with the change of the
status from 'OPN' to 'RDY'?

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.