Attachmate Personal Client v6.1 and v6.2 | IBM Personal Communications v4.2 for Windows NT & Window |
Screen snapshots are copyright IBM Corporation
This document provides sample views of an 802.2 DLC connection for IBM Communications Server Version for NT. We have validated the CCIAPPC component against IBM Communications Server version 5.01. This document is arranged in a logical sequence for a new installation of the Communications Server product.
This documentation assumes that you have already installed IBM Communications Server. In addition you should have opted to install the IBM LLC2 protocol during the installation of IBM Communications Server.
IBM Communications Server requires the IBM LLC2 protocol to provide support for a connection over 802.2. Towards the end of the installation of IBM Communications Server you will be prompted to choose whether to automatically install the IBM LLC2 protocol for use with IBM Communications Server over a LAN. Unless you have installed LLC2 previously you must opt to install LLC2 if you intend to configure connections over 802.2.
After successfully installing the Communications Server product, you can start to configure your APPC connection. You should have a VTAM definition of the connection you are attempting to configure available to you during the configuration.
From the IBM Communications Server program folder, start the SNA Node Configuration program.
The Configuration Steps window describes the configuration steps you will complete. Note that for CCIAPPC configuration step 7. Configure Modes is optional and that step 8. Transaction program configuration is not required.
From the Configuration options listbox select Configure Node and then select New.
These can be left to their default settings
These can be left to their default settings
Select OK to complete the Node configuration.
From the Configuration options listbox select Configure Devices. Then from the DLCs list box select LAN and then select New.
These can be left to their default settings
These can be left to their default settings
Select OK to complete the Device configuration.
From the Configuration options listbox select Configure connections and then select New.
Select OK to complete the Connection configuration.
From the Configuration options list box select Configure the Gateway and then select View/Change/Add.
Select OK to complete the Gateway configuration.
Before attempting to communicate using CCIAPPC you must define the local and remote LUs which will be used to communicate over the SNA connection you have configured. In this section we will describe the configuration of Independent LUs to be used to communicate over the host connection. When communicating with Host systems running VTAM (or NCP) the Remote LU is known as the APPLID (pronounced 'apple-eye-dee').
From the Configuration options list box select Configure Local LU 6.2 and then select New.
Select OK to complete the Local LU configuration.
From the Configuration options list box select Configure Partner LU 6.2 and then select New.
Unlike Local LUs, Remote LUs are assigned to a connection which will be used to communicate with it.
This LU Name should match the definition of the LU as it exists on the remote system, in this case in the form of a VTAM APPL definition on the host system.
Enter the Network Name for this SNA network in the first box. This should be obtained from the network administrator of the host system. In the second box following the period enter the name of the APPL on the remote Host machine. This should be obtained from the network administrator of the host system.
This is the same as the fully qualified CP name entered in the Security settings of the Connection configured previously in step 3.
Setting this correctly will enable the Server to determine which connection to use to locate a partner LU when establishing a session with a Local LU.
Select OK to complete the Partner LU configuration.
A Mode is used to define the attributes of sessions used between a Local LU and a Remote LU.
If the default mode #INTER is not appropriate (because its settings are incompatible with the modes defined on the host system for the Remote LU, or perhaps because a larger number of sessions is required) then a new mode can be defined.
CCIAPPC uses a single APPC session for each CCI session between the client and the server (e.g. between the MFA client and Fileshare running on a mainframe). When CCIAPPC establishes a connection between the client and server the attributes of the Mode determine, amongst other things, the number of CCI sessions available between the Local LU and the Remote LU (APPLID in VTAM). Hence the Mode determines how many client sessions can be established using the same Local LU - Remote LU pairing.
The PLU mode session limit and the Minimum contention winner sessions together determine how many sessions can be established by the Local LU (see below).
For example: if 10 client sessions are required, all using the same Local LU then the Mode session attributes might be:
PLU mode session limit = 20 Minimum contention winner sessions = 15
Alternatively the same number of client sessions could be attained by using multiple Local LUs with the client sessions divided between these LUs.
IMPORTANT NOTE: When a connection is established between a Local LU and a Remote LU the Mode characteristics are negotiated. This means that it is possible that the partner system (e.g. mainframe) will reduce the session limits to values which it can support. This may mean that fewer client sessions than expected will be supported. Hence it is important that the Mode characteristics, as defined for both the Local and Remote LUs, are compatible.
From the Configuration options list box select Configure Modes and then select New.
This value cannot be greater than the PLU mode session limit.
If you are in doubt over these values check with the network administrator of the host system.
Select OK to complete the Mode configuration.
The IBM Communications Server SNA Client (also known as the SNA API Client) runs on a client machine and communicates with the IBM Communications Server over the LAN using either TCP/IP or Novell SPX.
Having installed the IBM Communications Server SNA Client the following configuration is required.
Clients are authorized to connect with the Communications Server by specifying a Windows NT Domain userid which is in the IBMCSAPI user group. You may want to define a unique userid for each client user or a single userid used by all users.
Start the Configuration program from the IBM Communications Server SNA Client program folder.
If the client will use TCP/IP to communicate with the Server the machine name should be the IP address of the Server machine or the TCP/IP hostname of the Server machine.
In the File menu select Save As... and save the configuration file as CSNTAPI.INI. Exit the SNA Client Configuration program.
It is very important that the CCIAPPC module be able to determine the Local LU to use for communication with the Host application. You may have configured everything else correctly and all of your other APPC applications may work, but if you miss this final step you will fail to establish a CCI session with the host application. If the CCI-INITCLIENT call returns CCI error 9 and CCI_GETERROR returns the message "CCIAPPC failed to allocate an APPC session, ensure that Local LU is defined" it is likely that you have failed to complete this final step. 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 CCIAPPC client. This must be done wherever the CCIAPPC client (e.g. MFA Drag and Drop) is run. If the CCIAPPC client communicates with the Server using the IBM Communications Server SNA Client then the APPCLLU environment variable must be set on each client machine. If the CCIAPPC client runs on the Server itself then the APPCLLU environment variable must be set on the Server machine.
For Example:
SET APPCLLU=CCILLU01
This setting will be enabled the next time an application is started.
This must be done in the Windows 95 AUTOEXEC.BAT file found in the root directory of the Windows 95 System drive, e.g. C:\.
SET APPCLLU=<Local LU name> E.g. SET APPCLLU=CCILLU01
To save and verify the configuration:
Once the configuration has been verified as correct the Node can be started.
Once the Node is active the underlying connections will activate if Activate link at start was defined for the connections.
Once you have an active connection use the CNOS Initialize option in the Operations menu of the SNA Node Operations program to test the configuration. This will test the configuration by attempting to bind an LU 6.2 session between the Local LU and the Remote LU over the configured LAN connection.
In Sessions specify the maximum number of sessions allowed by the Mode, this is PLU mode session limit defined for the Mode.
In Winners specify the number of Minimum Contention winners as defined for the mode.
Specify 0 in Losers for the number of Contention Losers.
Specify 1 in Activate to activate a single session as a test.
If the test is successful the session bound between the Local LU and Partner LU will appear in the LU 6.2 Sessions window of the SNA Node Operations program (in the View menu select Refresh to refresh the window). Sessions bound in this way can safely be terminated by selecting the Session Id, clicking the right mouse button and selecting Stop Abnormally.
If the test fails an error will be reported in a dialog box. Use the IBM Communications Server Log File to help you diagnose the cause of failure (see the section Error Reporting and Diagnostics below).
Now you have tested the active connection it is ready for use with CCIAPPC.
Fileshare clients log messages returned from CCI in both the fhredir.msg and fhneterr.log files in the current directory. For example an entry from fhredir.cfg CCI: 970116 15183855 0009 07 CCIAPPC failed to allocate an APPC session, ensure that Local LU is defined Column 2 and 3 gives the date and time stamp of the error. Column 4 (in this case 0009) gives the CCI error code Column 6 gives the CCI error message returned by CCI-GETERROR.
Events can be viewed using the Microsoft NT Event Viewer (in the Administrative Tools(Common) program folder). In the Event Viewer select Application from the Log menu. This will then display the Application Log. Events generated by the IBM Communications Server itself are prefixed with IBMCommServer. Events generated by interaction with clients use the prefix IBM SNA Client Services. Double-clicking on an event will show details of the event.
The Log file can be viewed by selecting Log Viewer from the Launch menu of the Node Operations program or by selecting Log Viewer from the IBM Communications Server program folder.
Details of the selected message are shown at the bottom of the Log Viewer window. In addition, double-clicking on the message number will display an explanation of the message.
Further useful diagnostic information can be obtained by interpreting the Sense Code returned with many errors using the Display SNA Sense Data utility in the IBM Communications Server program folder.
This can be used to provide tracing of CPI-C and APPC interface calls made by CCIAPPC.
Start the Trace Facility program from the IBM Communications Server program folder or from the Launch menu of the SNA Node Operations program.
None.
Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Attachmate Personal Client v6.1 and v6.2 | IBM Personal Communications v4.2 for Windows NT & Window |