I have a cobol program which calls an assembler routine to perform some I/O operations on a PDS. After all operations are completed successfully (all the PDS members created and records written to it & and the PDS closed), the job step completes with a system abend A03.
Any similar experience... Please help.
Any idea how to debug this?
COMPLETION CODE SYSTEM = A03
PSW AT ENTRY TO ABEND 070C2000 842D3FF6 ILC 02 INTC 000D
PSW ADDRESS 042D3FF6 AT TIME OF ERROR DOES NOT POINT TO AN ACTIVE MODULE
Explanation: A task tried to end normally by issuing a RETURN macro or by branching to the return address in register 14. The task was not ready to end processing because either:
O The task had attached one or more subtasks that had not ended.
O The task did not detach a subtask that it had previously attached with
the event control block (ECB) option.
System Action: The system abends the task.
Please check first, if your Cobol programm is beyond the 16MB-line.
Ass-Programm seems to be beneathe. If the Ass-Programm is correktly coded, Register 14 points to anadressable adress. Return adress did not match adress of cobol command after the Call.
Trace the programms with a tool like Ixpediter.
Also check the Ass-Programm. If there are attached Subtasks, all these
Subtasks have to be completed before ending and returning to the Cobol.
I think, this point is it.