• Subject: Re: Ending Interactive Subsystem
  • From: John Earl <johnearl@xxxxxxxxx>
  • Date: Wed, 15 Oct 1997 19:10:12 -0700

At 07:04 AM 10/15/97 -0500, you wrote:
>> Just watch out for applications that are sensitive to being shut down hard
>> (incomplete updates, etc.). 
>
>There *IS* a way for a program to detect that the subsystem is in shutdown
>mode... I think it's the RPG SHTDN opcode... if that operation turns on the
>specified indicator, a program is *SUPPOSED* to do a graceful exit.  I have
>yet, however, to see a program that actually does this.  

It's programmer controlled.  The SHTDN opcode (and it's CL equivelent
RTVJOBA RETURNCODE), are a way for a programmer to determine that a shutdown
of the job, subsystem, or system has been requested.  It's then up to the
programmer to terminate gracefully.

jte



>
>david
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
>| To unsubscribe from this list send email to MAJORDOMO@midrange.com
>|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
>| Questions should be directed to the list owner/operator: david@midrange.com
>+---
>
>
*************************************************
* John Earl             Lighthouse Software Inc.*
* johnearl@lns400.com   8514 71st NW            *
* 206.858.7388          Gig Harbor, WA 98335    *
*************************************************

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.