On Mon, 14 Oct 2013 11:40:09 -0400, Tony Harminc wrote:
>>
>> is the 'STOP' command will be intreppeted as a SIGTSTP signal to the
>> program that running under the Shell script?
>
>No - nothing will happen. To receive a STOP command you have to use
>either the __console() or __console2() service to listen for it, or
>use the traditional assembler language interface of WAITing on the
>STOP/MODIFY ECB provided by the system. I don't know how you would do
>either of these in a shell script, but perhaps the REXX interface
>allows calling console2().
>
I thought that one of the motivations for the BPXBATCH utility was to
allow operators to run UNIX commands -- at least to start dæmons. so:
START BPXBATCH PARM='PGM kill -TSTP process-id'
??? (but will START respect the quoted minuscule 'kill'?)
I've long felt that z/OS system shutdown should conform to UNIX
conventions by sending SIGTERM to all OMVS processes. Others tell
me this would somehow be disruptive.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN