If the linked-to program terminates abnormally, the mirror transaction returns the last abend code to the linking system. The abend code returned is the last abend to occur in the linked-to program, which may have handled other abends before terminating.