As has been stated, you cannot percolate an abend from one task to 
another.

If a subtask abends with "completion code x", the mother task can see that 
in the ECB post code if the subtask was attached with ECB.

However, it would be not be OK for that mother task to contort things so 
that it terminated with that same completion code (unless it could issue 
the same service and fail the same way), unless this was a user abend 
code. That is because doing so could likely be accomplished only by your 
program issuing a system-owned abend (whether by ABEND or CALLRTM 
TYPE=ABTERM is unimportant)..  It would be perfectly fine for the mother 
task to abend with its own code,  with reason information that identified 
the failure reason of the subtask.

Peter Relson
z/OS Core Technology Design

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

Reply via email to