MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

Re: Event-based actions



fixed

Dennis, here's the IBM book on the issue. Not terribly helpful but it gives you the basic idea.

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref2.doc/dspfdq.html

The idea is that if the entry on the data queue is *DSPF, then READ the display file, otherwise do whatever the entry says (which in this business case would be to upadte the data and WRITE the display file).

Joe

Great to hear it's possible, Jack. Care to elaborate on _how_ one would
post updates to the 5250 screen (barring status messages, which are too
limited to satisfy the need) without flicker, flash, or disruption to user
input? That is a challenge for which I have never seen a solution with the
(naturally-blocking) 5250 display.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Never lend books, for no one ever returns them. The only books I have in
my library are those that other folks have lent me."
-- Anatole France


Not only possible with RPG and 5250- it's been possible since IBM
enabled display files to post status changes to data queues. FWIW, I
believe that feature was introduced on the System 38 from the research
I did supporting an such an application 12 years ago. Said app was at
least 10 years old at that time.

Was an undocumented maintenance nightmare until I used object auditing
to trace through the event chains, but I came to appreciate it as one
of the most elegant designs I've seen implemented on the platform.


... for this kind of application, you would need 2 parts:
- a runtime supporting registration of listeners (windows, xwindows
or
something comparable as Javascript based for a browser interface)
- a programming language supporting Multithreading (remark: rpg with
5250
is not possible)
most of this is done with Java, C# and C++

D*B
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact