See F BPXOINIT for some of what you want to do. F BPXOINIT,TERM=pid[.tid] ref: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2G1B2/4.21.9
D OMVS,A=ALL will display all z/OS UNIX processes. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Mike Schwab > Sent: Wednesday, December 05, 2012 11:51 AM > To: [email protected] > Subject: Re: Historical question regarding the stop command > > 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 > <[email protected]> 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 [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
