Well, under the "try and see", I ran a batch job (which should not be any different from using an STC). It did not respond to a z/OS STOP command. I don't know if I did a good test since my UNIX script was just:
while /bin/true;do ;sleep 5s ;done I then tried: trap 'exit' TSTP; while /bin/true;do;sleep 5s;done and the z/OS STOP still did not have any effect on the job. I was able to terminate the job with an RC of 3840 by finding the PID of the "sh" command spawn()'d by BPXBATCH and doing a F BPXOINIT,TERM=pid-of-sh-process === Others may have more/better information. On Mon, Oct 14, 2013 at 4:28 AM, Matan Cohen <[email protected]>wrote: > Hi , > I wondering what is the flow of the STOP command for STC running a BPXBATCH > . > lets say i'm having a STC running a shell script under USS using BPXBATCH, > if the operator will enter the 'P <STCNAME>' in the console - what will > happen? > is the 'STOP' command will be intreppeted as a SIGTSTP signal to the > program that running under the Shell script? > > -- > ______________________ > 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 > -- This is clearly another case of too many mad scientists, and not enough hunchbacks. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
