the STOP command should be interrpeted as 'SIGTERM'.
the problem I encounter is that it don't pass 'SIGTERM' when entering
'STOP' command from the console in case you are running a shell script
which run Java .
the solution was to convert the PROC to use 'JVMLDMXX' rather than
 BPXBATCH.
the problem I now have is that 'STDOUT' & 'STDERR' when point to a file
under HFS don't write the buffer until the a 'STOP' command is sent .



On Wed, Oct 16, 2013 at 8:14 PM, Kirk Wolf <[email protected]> wrote:

> Suppose that you wanted the MVS STOP command to gracefully shutdown the
> shell or program started by BPXBATCH.
>
> What signal would you send the shell or program?   By default SIGTERM does
> nothing for /bin/sh.
>
> SIGKILL works, but how is that better than cancelling the job?
>
> Does anyone know if the default handlers for /bin/sh are documented?
>
>
> Kirk Wolf
> Dovetailed Technologies
> http://dovetail.com
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
______________________
best regards,
matan cohen
MF System Administrator.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to