Step 14: Enabling CCIAPPC to Find the Local LU

This is a very important topic and without following the instructions below you will fail to establish a CCI session with CCIAPPC. If the CCI-INITCLIENT call returns CCI error 9 and CCI_GETERROR returns the message "Transport failure, the client could not make a connection" it is likely that these instructions have not been implemented. When CCIAPPC attempts to allocate an LU 6.2 session with the remote system it must specify the Remote LU name which it requires a session with. This is the Remote LU name specified in the CCI Servername parameter (e.g. the /S parameter in FHREDIR.CFG). However, APPC needs to know the Local LU name as well as the Remote LU name when attempting to establish a session between the LUs. To enable APPC to retrieve the Local LU name to use when attempting to allocate APPC sessions set the APPCLLU environment variable to the Local LU Name prior to starting the CCAPPC client.

For Example:

SET APPCLLU=NBTRN1L0; 

This can be done in the Cobol MFENV environment file.