Problem:
This article describes a specific case when COMMAREA is not passed to the second CICS region.
Two CICS regions (REGION1 and REGION2) are configured for Intersystem Communication. The program PROGRAM1.cbl is located in REGION1 and calls the program PROGRAM2.cbl located in REGION2. When the “Transaction ID” name (TRN2) for the called program PROGRAM2.cbl is specified in the PPT entry in REGION1, the COMMAREA is not passed to the second CICS region when the control is passed to the called program PROGRAM2.cbl.
Resolution:
The COMMAREA will be passed to the second CICS region when you specify the Micro Focus program DFHZCSMI in the PCT entry of the transaction TRN2 in REGION2. The definitions are:
CICS REGION1:
In the PPT entry for the called program PROGRAM2.cbl, press Remote tab and specify:
Program ID - PROGRAM2
Transaction ID - TRN2
CICS REGION2:
In the PCT entry for the same program PROGRAM2.cbl specify:
Transaction ID - TRN2
Program name - DFHZCSMI
#MFDS
#MFECICSIntersystemCommunicationCOMMAREAREGION1TRN2DFHZCSMI
#EnterpriseDeveloper