|
Hello, Imagine a file where records are created by jobs and are processed by other jobs. The processing jobs do not access all records but only those with the right key field. There are several solutions to get data from the file and to "wake up" the processing job. - Use of data queue or message queue to tell the processing job to "wake up". While not a bad idea, it means programs that create records in the file must also call a program to generate the data queue message or the message. This may be done via a trigger but this adds processing time every time a record is created. - Use a delay wait method (in this case, waiting 0.1 second each time) and check with SETLL or CHAIN that at least 1 record is awaiting processing. This is a "lighter" option than the above on the jobs that create data but can lead to unnecessary use of CPU or I/O (although while running on our system, the CPU and I/O of jobs that have nothing to process are very low if not negligible). Can you make comments or are there other more desirable methods? (We do not want to use either data queues or MQ queues or message queues to store the temporary data). Thanks Pascal The opinions expressed within this email represent those of the individual and not necessarily those of Gullivers Travel Associates (GTA). This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@xxxxxxxxxxxxxx Should you wish to use email as a form of communication, GTA are unable to guarantee the security of email content outside of our own computer systems. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
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.