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



I'm sure this is an old subject, but I never had the time to implement it.
I need to have the opportunity to do some graceful updates to a table in a
looping socket RPG program that will end when it receives an indication to
terminate. This updates a flag in a table to report that its status is
Ended. So this program does end gracefully. It also has formal commands
to start it and to end it.

But when an IPL is needed, the operator simply forgets to issue those
commands and the ending is abrupt, so the update of the status doesn't take
place.

I understand that the ENDJOB command for a job running an RPG program would
send a TERM signal to the program but the default handler (I think) would
simply force it to end with no chance to run a graceful subroutine that
does the update.

Can you please give me an example that does this?

Thanks.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.