On Mon, 18 Mar 2013 09:00:19 -0700 (PDT),
gary.j...@salliemae.com
wrote:
You need something to change that the REXX can test for and then
terminate normally when the change occurs. A couple of possibilities:
There is an area in the CVT reserved for the user (the site). If you
are not using it for anything else, the REXX could set it to zero and
run normally as long as it is zero. When you need to stop the REXX,
start a task which changes the value in the CVT.
The REXX can allocate a dataset, free the DD name, and run normally as
long as the dataset exists. When you need to stop the REXX, delete
the dataset.
A WTOR can work. You don't need to wait for the response. At the end
of each sleep period, the REXX can test if the ECB for the WTOR has
been posted (and even evaluate the response).
--
Remove del for email