× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Jim,
as long as VARPG stays in an Action subroutine the runtime doesn't  return
control to the event handler and the app seems to be frozen.

There is an attribute in the  *component part called DoEvents, that will
allow to interrupt the processing of an Action Subroutine. It will cause
the Event handler to catch up with events that have occurred in the
meantime and then continue process where it interrupted the action
subroutine.

Here is how to code it:
     C                   eval      %setatr('*component':'*component':
     C                             'doevents')=1


This will slow down your processing of the file, so be careful how often
you use this, I wouldn't use it after every record read, maybe every 100th
or so, depends how many you have to process.



Claus Weiss Visual AD tools, email: weiss@ca.ibm.com
Dept 522 IBM Canada Lab tie 969-3987 Phone(905)413-3987 FAX(905)413-4850
Greetings from Toronto
WDT/400 homepage: ibm.com/software/ad/wdt400
WDT/400 newsgroup: news://news.software.websphere.studio400     |   VARPG
newsgroup: news://news.software.ibm.com/ibm.software.varpg,



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.