Gen 8.6 CTG_ECI_Execute_Channel return code -7 (ECI_ERR_TRANSACTION_ABEND)
search cancel

Gen 8.6 CTG_ECI_Execute_Channel return code -7 (ECI_ERR_TRANSACTION_ABEND)

book

Article ID: 199635

calendar_today

Updated On:

Products

Gen Gen - Run Time Distributed

Issue/Introduction

After configuring Gen 8.6 to work with ECI v2, getting a runtime error of 'ECI error - CTG_ECI_Execute_Channel - (-7) - ECI_ERR_TRANSACTION_ABEND'.

Environment

Gen 8.6 Runtime, Distributed ECI v2

Resolution

One of the following must be the reason for the error received:

1) The modified user exit was not built correctly. Verify that the nmake command completed successfully. Here is what the output looked should look like:

C:\Program Files (x86)\CA\Gen86\Gen>nmake /f CECIV2EX.NT

Microsoft (R) Program Maintenance Utility Version 14.00.23506.0
Copyright (C) Microsoft Corporation. All rights reserved.

"+"
"+ building (comminf)(coopflow)(eciflow)(client exit)..."
"+"

Dependent file "\lib\ctgclient.lib" found in "C:\Program Files (x86)\IBM\CICS Transaction Gateway".

cl /c /MD -DCICS_W32 -D_CRT_SECURE_NO_DEPRECATE -I"C:\Program Files (x86)\IBM\CICS Transaction Gateway\include" "C:\Program Files (x86)\CA\Gen86\gen\cieciv2x.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

cieciv2x.c
cl cieciv2x.obj eciv2cxn.res "C:\Program Files (x86)\IBM\CICS Transaction Gateway\lib\ctgclient.lib" /link /DLL /incremental:no /SUBSYSTEM:windows /NOLOGO /export:ci_eci_v2_user_exit /out:eciv2cxn.dll
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

Creating library eciv2cxn.lib and object eciv2cxn.exp
"+"
"+ (comminf)(coopflow)(eciflow)(client exit): make completed successfully."
"+"

2) The modified user exit DLL (eciv2cxn.dll) isn't being picked up at runtime. Verify the modified user exit DLL is deployed to the application library.

Additional Information

The ultimate cause was that the nmake compile process of the ECIv2 user exit code %GEN86%gen\cieciv2x.c (CECIV2EX.NT) did not complete correctly due to nmake being performed on a server drive and was not referencing the modified user exit %GEN86%gen\cieciv2x.c for the compile.  Copying the modified version of the user exit code to the network drive and performing the nmake on the network/server drive and then deploying resulting DLL resolved the problem.