IBM Support

What causes an abend A147?

Troubleshooting


Problem

What causes an A147?

Resolving The Problem

A147 Abend:
When an application returns to CICS if CICS detects an exceptional condition it abends with an A147. Reviewing code this is a default abend if CICS does not have a handle on the cause of the failure. Usually due to inappropriate coding methods in C. It can also be due to a STOP RUN statement coded within the COBOL application. In C it can be due to issuing an exit function within a program which terminates the program (without care to CICS) back to UNIX. The exit function within C is a non-safe CICS function.

An incorrectly defined environment for Micro Focus COBOL can cause the A147. Review the /var/cics_region/<region name>/<region name>.env file for all the required Micro Focus environment variablies. Any additional environment variables needed can be added to the /var/cics_region/<region name>/environment file.

[{"Product":{"code":"SSAL2T","label":"TXSeries for Multiplatforms"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"CICS","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.1;6.0;6.1;6.2;7.1;8.1;8.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
02 August 2018

UID

swg21052658