|
Try implementing it using data queues. Create a batch process to monitor changes on your file, via triggers, or via DSPJRN to an output file(you would have to start journalling the file). Then send some data to a data queue. Get your subfile program to refresh when an entry is placed on the data queue. Use the QSNDDTAQ/QRCVDTAQ programs to send and recieve data to/from the data queue. More than one workstation. Put the list of dataqueues/workstations in a file. -----Original Message----- From: boothm@ibm.net [mailto:boothm@ibm.net] Sent: Thursday, May 06, 1999 1:56 PM To: MIDRANGE-L@midrange.com Subject: Notifying an open program(s) of a new record: Either I am having a brain flat or there's more to this than meets the eye. I want to have a subfile program open on users' desks. That subfile will show selected records from a file. During the work day records will be added and changed in that file. In order for the file to be up to date a refresh has to occur. One can of course manually refresh the subfile, or even put a timer cycle onto it. However there must be a way to signal the program, or at least the workstation(s) that a change has occurred? That seems straight forward but it isn't clear to me. I have been thinking a trigger on the file would serve the purpose, and it might if I could see how to notify the subfile program. A second part of that problem is that there would be more than one workstation to notify. Any ideas? -- ----------------------------------------------------------- boothm@ibm.net Booth Martin ----------------------------------------------------------- +--- | 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 +--- +--- | 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 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.