× 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.



> From: bmorris@ca.ibm.com
>
> This could be done by a cancel handler.  But you will have to add an
> RPG IV wrapper to your RPG III program.  Just rename the RPG III program
> and call the RPG IV program what the RPG III program was called before.
> All the RPG IV program has to do is register the cancel handler and call
> through to the RPG III program passing on the *entry parms.
> The cancel handler can then call any program you like to actually do the
> clearing of the file.
>
> Here's an example.  <<<snip>>>

Barbara, as always, thank you for a concise yet very enlightening post.  If
only I could learn to be as economical with my words (I'm sure many readers
of this list would agree <chuckle>).  I haven't been able to implement
cancel handlers yet, but I'm just at the point where cleanup of abnormal
program ends is an issue.  The old way would have been to specify a special
routing step, but a cancel handler could be just the ticket.  Don's question
about *CNTRLD vs. *IMMED is relevant, however.  I look forward to your
answer on that particular issue.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.