After downloading the full Gen 8.6 model and generating and installing a .NET Proxy for a CICS transaction, testing with the test harness transaction abends with these messages:
TIRM600E: ERROR TRANSLATING THE COMMON FORMAT BUFFER INTO GURB BUFFER
TIRM046E: *** TRANSACTION PROCESSING TERMINATED
TIRM602E: REMOTE COOPERATIVE PROCESSING WAS ACTIVE
TIRM670E: FROM PROCEDURE STEP
TIRM671E: TO PROCEDURE STEP
Here's the error in the CICS region's CEEOUT DD:
TIRCFIN IEFT Error: National Language Translation Failed!
Tracing shows the test harness is using codepage 1201. How can the test harness be configured to use the usual Windows codepage 1252?
Release : 8.6
Component : Gen Run Time, Distributed
There are 2 options to eliminate the error as per below:
Option 1: This option appears to be the most widely used by users. It is a permanent fix that precludes any changes on the client side which continues to use codepage 1201.
On the mainframe, rebuild the TIRCRUNC to add the 1201-37 codepage pair.
Option 2: This option is a client-side change that every user of the .NET proxy would need.
Edit the ServerCodePage function in the user exit source code file "%GEN86%GEN\.net\exits\src\msgobj\CFBDynamicMessageEncodingExit.cs"
Comment out the line:
return Encoding.UTF8.CodePage; // Return the UTF8 code page.
Add the line:
return 1252;
Rebuild the exits using the %GEN86%GEN\.net\exits\makeexits.bat and redeploy the CA.Gen.exits.dll in %GEN86%GEN\.net\bin (that's where the rebuilt .dll gets put). This new exit will send the 1252 codepage in the CFB.