--------------------------------<snip>----------------------------------
You cannot perculate an agenda from one task to another. You will need to
make the second task whens visits own ABEND macro. I imagine this is not
what you want. Why use ATTACH? Why not do all the setup and then XCTL or
LINK?
----------------------------<unsnip>----------------------------------
ATTACH allows asynchronous processing.
LINK allows ONLY synchronous processing
XCTL passes control to the object of the XCTL, without possibility of return
There are excellent reasons for the existance of each mechanism, but the
consequences need to be carefully considered.
Rick
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html