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



Hello Scott,

Am 03.07.2020 um 21:32 schrieb Scott Klement <sk@xxxxxxxxxxxxxxxx>:

The SHTDN rpg opcode has been available from the start, so that should available.

I was searching for "%SHTDN", which is *not* available with V4.

Signals have been available in ILE since V3, so that should also work for you. I have used them from RPG many, many times.

I just stumbled over your "kill" command. I'll have a look on that, maybe I can learn something. So, thanks for creating and publishing!

(I have never used them in PASE, however, not sure why you even brought that up... this is the RPG forum.)

I just wanted to be precise.

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/apis/unix5a1.htm

Thanks! This is mostly the same as I'm already aware from Linux. I'm just not (yet) sure how to utilize signal handlers in RPG. But then, maybe I'll use this chance to fight with the R_ calls for Record I/O in C and just do it in C. :-)

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc



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.