Is END_ECB and EB or the address of an ECB?

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Joseph Reichman <[email protected]>
Sent: Tuesday, October 30, 2018 10:20 PM
To: [email protected]
Subject: S23E

Hi



I know system 23E is for invalid TCB it seems to me that TCB is valid could
any confirm that the following is the correct sequence of step to terminate
a TASK

I have 4 tasks I do an  ATTACH  with ECB =,  SYSECB is the ECB, I am  using
END_ECB I use to tell the subtask to return via BR 14



Thanks

DETACH_LOOP DS  0H

*

         L    R1,END_ECB

*

         POST (R1)               Post it

*

*

         WAIT ECB=SYSECB



         MVI  TASK_ADDR,X'00'

*

         DETACH TASK_ADDR

*

*

*

         LA   R7,THREAD_LEN(,R7)    Next

         BCT  R6,DETACH_LOOP

*

*




----------------------------------------------------------------------
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

Reply via email to