|
On Thursday 03 April 2003 5:09 pm, Segars, Steven wrote: > <<Sounds like a neat opportunity to write a data queue application. > Have QSYSOPR be handled by a break message program which hands the > message text and key to the data queue in batch. Have the interactive > application wait on the dtaq and display the messages in a subfile as > they arrive>> Thats an excellent idea, but I have one problem. I am > programming challenged. I promised myself years ago if I could write > error free code the first time writing an application, I would stop > programming. I did that and I havent programmed in COBOL or RPG in many > years. But CL I can do. Now how do I send the received message to a > dataq, I have no idea because I have never done that, much less create > any subfiles and display whats in them. Any help or pointing me in the > right direction would greatly be appreciated. Hi Steven You should be able to do what you want in CL. I've a CL & DSPF combination that monitors a program message queue as well as 'messages' arriving on a data queue which runs in auto-refresh mode. It fakes a subfile by using a full screen message subfile, which CL is quite happy with. You should be able to tweak them as required. See http://www.dbg400.net/samples.html - in the QMHSNDPM article in the Usenet section Regards, Martin -- martin@xxxxxxxxxx AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.