Re: ATTACHX/STIMERM WAIT=YES

2023-11-14 Thread Binyamin Dissen
On Tue, 14 Nov 2023 12:49:54 + Peter Relson wrote: :>As was alluded to, if it doesn't work when you "do that" (STIMERM WAIT), then don't "do that". :>If you want to be able to "communicate" then you wait on multiple ECBs and do not use STIMERM WAIT, but use STIMERM with an exit that posts

Re: ATTACHX/STIMERM WAIT=YES

2023-11-14 Thread Peter Relson
As was alluded to, if it doesn't work when you "do that" (STIMERM WAIT), then don't "do that". If you want to be able to "communicate" then you wait on multiple ECBs and do not use STIMERM WAIT, but use STIMERM with an exit that posts one of the ECBs. The "communication" can be by posting one o

Re: ATTACHX/STIMERM WAIT=YES

2023-11-14 Thread Binyamin Dissen
On Mon, 13 Nov 2023 18:37:15 -0600 Paul Schuster wrote: :>How to handle this situation: task ‘A’ attaches a subtask, task ‘B’. :>The ‘B’ task issues a STIMERM WAIT=YES :>Task ‘A’ terminates, but gets the A03 abend since task ‘B’ still active. :>How can task ‘A’ communicate to the subtask ‘B’

Re: ATTACHX/STIMERM WAIT=YES

2023-11-14 Thread Rob Scott
t Software -Original Message- From: IBM Mainframe Discussion List On Behalf Of Tony Harminc Sent: Tuesday, November 14, 2023 2:44 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ATTACHX/STIMERM WAIT=YES EXTERNAL EMAIL On Mon, 13 Nov 2023 at 19:37, Paul Schuster wrote: > How to handle this si

Re: ATTACHX/STIMERM WAIT=YES

2023-11-13 Thread Tony Harminc
On Mon, 13 Nov 2023 at 19:37, Paul Schuster wrote: > How to handle this situation: task ‘A’ attaches a subtask, task ‘B’. > > The ‘B’ task issues a STIMERM WAIT=YES > > Task ‘A’ terminates, but gets the A03 abend since task ‘B’ still active. > > How can task ‘A’ communicate to the subtask ‘B’ tha

Re: ATTACHX/STIMERM WAIT=YES

2023-11-13 Thread Steve Thompson
Just off the top of my head from having a similar issue a few years ago, you may need to be watching two ECBs (EVENTS). But I'm not sure that the STIMERM won't cause a squawk when you have the task end. And I think you will have to pass the address of the ECB you will POST for termination to

Re: ATTACHX/STIMERM WAIT=YES

2023-11-13 Thread Seymour J Metz
DETACH? Or do you need something less disruptive? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי From: IBM Mainframe Discussion List on behalf of Paul Schuster Sent: Monday, November 13, 2023 7:37 PM To: IBM-MAIN@LISTSER