MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

Rép. : Event-based actions



fixed

Hello,

Here is how I would solved this in a 5250 implémentation:

2 programs in 2 5250 sessions:
Program 1: Entry program for the clerk
Program 2: inventory display updated with the dataq technique.

Have the user open 2 session in 2 windows and display them on his screen. Better yet, use 2 screens.

This way, I dont have to fuss with preserving input or partial screen update or fliker.

Having those function functionning in there own program makes those 2 programs dead simple.

We have the possibility of multitask, so use it.

My 2c.



Denis Robitaille
Directeur Service technique TI
CASCADES INC.
412 Marie Victorin
Kingsey falls(Québec) Canada J0A 1B0
T : 819 363-6130
F : 819 363-6155
Booth Martin <booth@xxxxxxxxxxxx> 2012-09-02 20:38 >>>
This seems simple enough yet I am stumbling all over the school yard
with it.

This has to do with event-based actions versus waiting for the Enter key
to be pressed or for a timer to run out..

This is a fairly simplistic case, but it should serve to demonstrate the
problem I am trying to solve.

Lets say a desktop gadget displays the local temperature. When the
temperature changes, the gadget changes the display. As I understand
it, this is accomplished by a "listener" that "listens" for a
temperature change event from the mother ship. It is not a timer that
periodically checks to see what the temperature is. When the listener
hears that the temperature has changed, it alerts the desktop gadget and
my desktop display shows the new temperature. As I said, this is a
simplistic case.

So, in midrange world, how do I mimic the behavior of a listener and of
events?

This may not be well presented. For that I apologize. Of course, if I
understood the issue better I probably would also know the answer,
right? ;) If you have questions, please ask. That may help me
explain my issue better.










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