How about creating a started task, say OPENCMD.  When started, it
determines what OpenMVS programs are running.  Then the operator could
issue /F OPENCMD,KILL *ALL for normal shut down all OpenMVS functions
prior to shutdown, or '/F OPENCMD,unixcmd function option' and the
function with options would be forwarded to the unixcmd.  When all was
shutdown, it would close.

On Wed, Dec 5, 2012 at 7:48 AM, McKown, John
<john.mck...@healthmarkets.com> wrote:
> IMO, the "proper" way to stop a UNIX daemon is to use the "kill" command. 
> That's generally how it is done in Linux, at least. The daemon normally keeps 
> its PID in a known location, such as /var/run/daemon.pid. The normal way to 
> stop it is to have a root user (or setuid program) issue something like: kill 
> -TERM $(cat /var/run/daemon.pid). The signal (-TERM) can often be used to 
> send a generic message to the daemon. a -HUP is sometimes used to shut down, 
> but other daemons use -HUP to say "read your startup configuration file again 
> for changes and implement those changes".
>
>
> Note, that with z/OS UNIX, daemons can use the normal START, STOP, and MODIFY 
> command interface (or even "hang a WTOR" <shudder/>). It is just very unusual 
> for them to do so because most are "ports" from UNIX systems which don't have 
> those capabilities.
>
> --
> John McKown
-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to