What it means
TERMERR is RESP 81. On LINK, RESP2 17 means an unrecoverable error occurred during the conversation with the mirror, for example the session or the server region failed. The default action is to end the task abnormally.
With SYNCONRETURN, TERMERR is raised after failure of the communications link or the system running the server program, and the client handles it and restores data consistency. Without SYNCONRETURN the client must decide whether to abend or roll back.
Typical causes
- The session failed during the conversation with the mirror.
- The server region failed.
- With SYNCONRETURN, the communications link or the system running the server program failed.
How to fix it
- Find out why the session, link or server region failed.
- Decide whether the client should abend or roll back; without SYNCONRETURN this is the client's decision.
- With SYNCONRETURN, handle the condition and restore data consistency.
- Code RESP (and RESP2) on the LINK and test it.