Configuring CICS Terminals and Printers | CICS Resource Definitions |
This chapter is for system administrators responsible for setting up communication links for CICS Option. It tells you how to set up communications for CICS Option, running under Windows NT and using Microsoft SNA Server 3.0 as the communications manager. It provides information about communications between:
You should be familiar with the concepts and facilities of CICS Option in a single system environment and of CICS intersystem communication. You should also be familiar with the Microsoft SNA Server communications manager.
For information about Mainframe Express and CICS Option, see your User's Guide and your CICS Option Technical Guide.
For information on communication between IBM CICS products, see the IBM publication CICS Family: Interproduct Communication, SC33-0824.
For further information on installing and configuring Microsoft SNA Server, see the Microsoft publications:
For details of the hardware and software requirements to run Microsoft SNA Server, please see the Microsoft manual Microsoft SNA Server: Installation Guide supplied with the SNA server product.
The terminology used for configuration items often differs according to the communications service manager being used. The following table contains a generic terminology that is used in this chapter. The mapping from this generic terminology to each of the supported communications services manager's terminology is also shown. The names in parentheses indicate other names or abbreviations for the given term.
Generic Term | Description |
---|---|
Data Link Control (DLC) link | The interface to the network. The attributes of a link
can be divided into two parts:
|
Link station | The part of data link control (DLC) that is responsible for the transfer of data between two communications services managers connected by a link. |
Control Point (CP, CP Name) | Identifies the local node manager that provides services to the local logical units. |
Network name (NETID) | The name of the network to which we are connected. |
Logical Unit (LU) | A network accessible unit (NAU). In SNA there are a number of logical unit types that identify the protocols supported by that logical unit. For APPC the LU type is 6.2 referred to as LU 6.2. |
Partner LU | The logical unit with which we want to communicate. |
Transaction Program (TP) | The program to be executed at one end of a conversation. |
Session | The logical connection between two network accessible units. |
Inter Systems Communications (ISC) | This is two or more regions running on different processor complexes that are able to communicate with each other. |
Mode | Describes the connection characteristics of a session. |
To allow the Mainframe Express CICS Option to communicate with a mainframe application, an LU 6.2 link is required from the PC to the mainframe. The LU 6.2 link is separated into PC and mainframe components.
All the definitions that you require to configure the Microsoft SNA Server should be provided to you by your VTAM host system administrator. In the example described later, we are going to configure an 802.2 DLC connection, as this is the most commonly used. For other types of links, please refer to the Microsoft SNA Server documentation. Though there are many similarities between the different links, you need to consult with your network system administrator or VTAM system administrator to get the required information.
The following table contains a list of definitions that you require to configure an 802.2 DLC connection, along with the settings that we are going to use in this example. One of the most common causes for confusion when configuring SNA is that different SNA servers and environments use different terms to define the same thing. Also there can be additional confusion since a value on one side of a connection has a different perspective, hence name, on the other side of the connection.
From your VTAM system administrator you require the following information.
Parameter from the VTAM System Administrator | Example Value | Description |
---|---|---|
Remote Network Name (NETID) | HSTNET1 | The network name of this VTAM domain. All resources that comprise this VTAM domain are in the network name. |
Remote Control Point (CP) Name (also known as SSCPNAME) | HSTMVS | The name of the remote system |
Remote Network Address | 400000004044 | 12-digit hexadecimal network address of the network controller attached to the remote host system |
The XID format used by the host system | 3 (default) | The XID format can be either 0 or 3. A format of 3 is generally used for APPC (and must be used for independent APPC LUs). The older format 0 tends to be used for 3270 devices. |
Remote Node ID | None | Your host system administrator will tell you whether you need to use this. It is an 8-digit hexadecimal number which is used to identify the host system on the SNA network |
Local Control Point (CP) name assigned to the local machine | MCOPU020 | Used to uniquely identify the PU assigned to the local machine. It is specified in the PU definition in VTAM for this machine. Note that the PU and CP names should match |
Local Node ID | 05D,22222 | An 8-digit hexadecimal number which is used to identify the local system on the SNA network. The first three digits are the IDBLK and the last five are the IDNUM. These must correspond with the IDBLK and IDNUM fields of the PU definition for this machine, as defined in VTAM on the host system |
Maximum Basic Transmission Unit (BTU) Length (also known as I-Frame) | 1493 | The number of bytes that can be transmitted in a single data link control frame. This is calculated by taking the MAXDATA parameter of the PU definition for this machine less 9 (that is, maximum BTU length = MAXDATA - 9). This is a maximum and will be negotiated to the maximum value acceptable to both partners. |
List of independent LUs for your PU definition. | MCOLU021 | These LUs are required for APPC and are defined in the list of LUs defined for your PU on VTAM. You can have multiple independent LUs per PU. All independent LUs for your PU have LOCADDR set to zero under the PU definition on VTAM. |
List of dependent LUs which are defined as terminals with their associated LU number for your PU definition. | MCOTRM22,2
MCOTRM23,3 MCOTRM24,4 |
These LUs are used for terminals to the host. They are not required for APPC, but for the host CICS configuration are very useful. They are found under your PU definition on VTAM. The LU number must match the associated LOCADDR number for this named LU. |
Target LU Name | HSTCICS1 | 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 APPLID definition on the host system. To communicate with a host CICS system, this is the host CICS APPLID. |
The Mode Table defining the session limits for the connection | #INTER | This is used to negotiate the session limits with the host. Normally the host would use the default mode of #INTER. If #INTER is not appropriate because its settings are incompatible with the modes defined on the host system for the Remote LU, you can define and use another mode. If you need to define another mode, your VTAM system administrator should be able to give you the parameters required and the Microsoft SNA Server: Administrators Guide explains how to do it. See the section Configuring Remote LUs for a note on how this parameter is used. |
This section describes how to configure an 802.2 DLC connection. It assumes that you have installed a 32-bit DLC driver to provide support over an 802.2 DLC connection and that you have installed the Microsoft SNA Server 3.0 product.
First, start the SNA Server Manager. All the following steps to define the configuration are done through that application.
During the SNA Server installation (assuming that you are performing a new installation and not an upgrade) you are prompted for information about the Local Server. In this example, we are going to configure an SNA Server called 'SNASRVR'.
Note: These parameters are used as defaults. If you are going to connect to more than one remote system then they can be overridden in the connection definition - see the section Configuring the System Identification.
Now configure the Link Service by clicking Link Service on the Insert menu . This displays the Insert Link Service dialog box. We are going to configure 'SNADLC1'
Click the Address tab to display the Address page.
Click the System Identification tab to display the System Identification page.
Click the 802.2 DLC tab to display the 802.2 DLC page.
Before attempting to communicate to the host you must define the local and remote LUs which will be used to communicate over the SNA connection you have configured. The next sections 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').
If you are using multiple APPC LUs, you can configure each of them as follows:
A remote LU is assigned to a connection that is used to communicate with the LU.
Notes:
In order to use a connection you need to be defined to SNA server as a user. You can do this as follows:
In order to use the SNA Server 3270 Applet for 3270 terminal access to the host system, a 3270 LU must be configured for use by each terminal session.
When a user runs the SNA Server 3270 Applet, a 3270 LU is required in order to establish a 3270 session with the host system. This LU may come from a pool of 3270 LUs or may be associated with the user. In this example, we define a pool and associate a user to this pool.
When you want to save the configuration, click Save on the File menu.
To activate the configuration, you must stop and restart the SNA Server service, as follows:
When the server is active, the underlying connections activate if the 'Activation Type' was defined as 'On Server Startup' or 'On Demand', as described in the section Configuring the Connection.
Connections configured for Incoming and Outgoing calls go to 'On Demand/Incoming' status when successfully activated. The connection goes to the 'Active' status when the first session is established or if activated manually by the administrator.
If you are using a client installation of SNA Server you still need to complete the SNA Server configuration as described above. Also, when you install the SNA client software, you need to set it to point to the defined server. When the client is correctly installed, the operation and configuration of CICS Option is the same on the client machine as on the server.
You need to configure CICS Option to communicate with the host CICS region. If you have the SNA Server to host connection working, as described in the previous section, then the configuration of CICS Option and the host CICS region should be simple.
The parameters that you require for configuring CICS Option to the host are:
CICS Option Name | From your VTAM Administrator | Host CICS Name as in CEDA | Example Value | Matching SNA Server Parameter |
---|---|---|---|---|
LU alias | Independent LU for the connection's PU that you are going to use | MCOLU021 | SNA Server value for 'LU Alias' in the 'Local APPC LU' definition for the APPC LU that you are going to use | |
Partner alias | Target LU name for your connection | HSTCICS1 | SNA Server value for 'LU Alias' in the 'Remote APPC LU'; the host CICS system's APPLID | |
Alias applid | The APPLID of the local CICS Option as defined to the host. This is not in the list above because it takes a default value. | MCOLU021 | SNA Server value for 'LU Name' in the 'Local APPC LU' definition for the APPC LU that you are going to use. Normally the same as 'LU Alias'. | |
Mode table | The mode table defining the session limits for the connection | 'MOdename' under 'Session Identifiers' | #INTER | SNA Server value for 'Implicit Incoming Mode' in the 'Remote APPC LU' |
Net name | Your local CICS system's network name. This is the same as Alias APPLID. | 'Netname' under 'Connection Identifiers' | MCOLU021 | SNA Server value for 'LU Name' in the 'Local APPC LU' definition for the APPC LU that you are going to use. Normally the same as 'LU Alias'. |
To define a CICS Option connection to the host you need to follow the steps below:
The definition is shown in Figure 10-1:
Figure 10-1: Definition of Host Connection
Now you need to ensure that the resource group with the host CICS system's definitions is included in the startup list, as follows:
In order for the host CICS region to recognise the local CICS Option, you need to define a connection definition and an associated session. On most host systems, CICS region changes are usually applied by system administrators, so you will probably need to liaise with them.
You need to have a resource group for the connection and session definitions. In this example we use group 'HSTTOSNA'. The connection name is 'LU21' and the session name is 'LU21SESS'. You can use an SNA Server 3270 applet to configure the host CICS system by entering the VTAM ID of your host CICS region when the terminal has a connection to the host VTAM system.
To configure the host CICS regions we are going to use the IBM-supplied transaction CEDA. For more information on the CEDA transaction, see the IBM publication CICS/ESA 3.3 Resource Definition.
In the following examples of using CEDA, you can accept the default values for the fields that are not mentioned. When you have defined your connection and sessions, and have tested them, you will probably want to have them installed automatically on the host CICS region startup. You can do this by adding the group to your CICS startup list.
On some versions of VTAM you might need to define a terminal so that you can perform transaction routing to the host CICS region from the local CICS Option. This is indicated by the error message 'TXCS1012E Comms error x'0006' during route of TRAN to system HST1' when you enter the first transaction ID to be run on the host CICS region.
If you do need to define a terminal, you also need to change the default terminal configuration as described in the section Configuring a Default Terminal. In this example we are going to configure a terminal called 'L21A'.
After you have defined the connection, the session, and, if required, the terminal, you need to install these definitions. As a connection and session are paired you need to install the group that they are contained in rather than the individual entries.
You only need to do this if you are getting the message 'TXCS1012E Comms error x'0006' during route of TRAN to system HST1' when you enter the first transaction ID to be run on the host CICS region. See the section Defining a Terminal for Transaction Routing for more information.
To test your connection to the host CICS system you need to ensure that:
IN CONN STATUS: RESULTS - OVERTYPE TO MODIFY Con(COA1) Net(COA1REMT) Ins Rel Vta Appc Con(LU21) Net(MCOLU021) Ins Acq Vta Appc
In the list of connections, you should see the connection that you have defined and the netname associated with it. It should also have the acquired status (Acq).
If you have reached this point successfully, you should now have SNA Server configured and connected to the VTAM host system. CICS Option should be able to use transaction routing, function shipping, and distributed program linking (DPL) to the host system.
At this stage, you are not able to use transaction routing, function shipping, or DPL from the host CICS region. Also, distributed transaction processing (DTP) does not work because the host CICS region is currently unable to initiate tasks on the local CICS Option.
So, the next step is to define transaction programs (TPs) to the local SNA Server (or client connected to an SNA Server) so that it knows how to invoke CICS Option.
For inbound communications, SNA Server requires registry entries to be created for each transaction used on the SNA server or client that is going to be running CICS Option. These entries are used by the Microsoft SNA Server to start the CICS Option program dfhgatch.exe which routes the request to the correct CICS Option region and transaction.
As all of the Mainframe Express environment settings are contained in the registry, there is no need to set any Mainframe Express environment variables as in previous releases of the Micro Focus CICS Option. The registry entries for the transaction programs can be found in the following location:
Windows NT:
/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/SnaBase/Parameters/TP's/tpname/Parameters
Windows 95:
/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/SnaBase/Parameters/TPs/tpname/Parameters
You can use the supplied program mftpset.exe to add inbound transaction program information to the registry:
For more information on adding and editing transaction programs, see the Microsoft SNA Server: APPC Programmer's Guide.
On Windows NT the program, tpstart.exe, supplied with SNA Server, must be started. To ensure that it is always running, you should add the program to your startup list.
An important point about tpstart.exe is that it only reads the registry when it is started. So, if you have updated the registry by adding or changing a TP, you need to stop and restart tpstart.exe to pick up any updates.
The following TPs must be defined for inbound function shipping, transaction routing, and distributed program linking:
TP Name | CICS Option Transaction | Purpose |
---|---|---|
CPMI | CPMI | Function shipping mirror transaction for ANSI |
CSMI | CSMI | Function shipping mirror transaction, general |
CVMI | CVMI | Function shipping mirror transaction for EBCDIC |
CRTE | CRTE | Transaction routing transaction |
CRSR | CRSR | Internal CICS housekeeping transaction |
For inbound function shipping, transaction routing, or distributed program linking, you must add the resource group DFHISC to the startup list in the SIT that contains the PCT definitions for the above transactions.
When you have added the required TP definitions to the registry you are able to perform inbound transaction routing from the host. This tests the last part of the configuration.
To test your connection to the host you need to ensure that the:
When the previous steps have been done:
Note: When transaction routing is active in one direction, you cannot then route back on yourself because the original terminal-id is passed back and this is not unique. All terminal-ids must be unique within a CICS region, both on the host and the local CICS Option.
Mainframe Express CICS Option can communicate, over a Microsoft SNA Server network, with another PC running CICS Option or another transaction processing system. This section describes how to configure the SNA Server to communicate with another PC running a communications services manager. It describes the configuration of SNA Server 3.0. You should refer to the appropriate communications document for the definitions required for another communication services manager.
There are two methods for achieving PC to PC communication using Microsoft SNA Server.
Both methods are described below.
The configuration of peer to peer communication using a local Microsoft SNA Server is very simple and requires a minimum number of settings. These need to be unique to your SNA server and the two CICS Option regions that are going to be connected. You may need to check with your system administrator that the values you are going to use are unique.
We are going to configure two peer to peer CICS Option regions called REGION1 and REGION2. They require two local LUs. One is called MACHINE2 and goes from REGION1 to REGION2. The other is called MACHINE1 and goes from REGION2 to REGION1. The APPC Mode we are going to use is #INTER.
On the SNA Server machine, start the SNA Server Manager.
You now need to configure the two regions that you want to run the transactions on. For this you should define a connection for each region. Here we are going to add a connection on the local region REGION1 to the remote region REGION2, calling the connection REG2.
Repeat the previous steps for the connection on the remote region REGION2 to the local region REGION1, calling the connection REG1.
You can have both connections defined to both regions, in which case you will notice that when the regions are started they will take on the connection ID for their local SYSID. Thus, in this example, the local SYSID of REGION1 is REG1.
As with PC to Mainframe Communication described earlier in this chapter, you will need to add registry entries for each region for inbound requests. Follow the steps described in the section Defining Transaction Programs, replacing the region name MCOTOHST with REGION1 and REGION2.
Note: It is difficult to set up two regions on the same machine for anything but transaction routing of a PCT entry, because you cannot have two TPs defined in the registry with the same transaction name.
As a CICS system cannot have duplicate terminals IDs attached at one time, you need each region to have a unique terminal ID. Otherwise you can have situations where you get the following message TXCS1012E Comms error x'0006' during route of TRAN to system REG2. This would be caused by the fact that both regions have terminals connected that share the same terminal ID. To avoid this you could configure default terminals for both regions, as described in the section Configuring a Default Terminal, such that both regions have a different terminal ID - for example, 1111 for REGION1 and 2222 for REGION2. Or you could use an autoinstall program as discussed in the chapter CICS Installation Verification for Communications.
To test the connection you need to ensure:
You can now test the connection on either region. For example, for REGION1:
All the definitions that you require to configure the Microsoft SNA Server should be provided to you by your remote peer-system administrator. In the example described later, we are going to configure an 802.2 DLC connection, as this is the most commonly used. For other types of links, please refer to the Microsoft SNA Server documentation. Though there are many similarities between the different links you need to consult with your network system administrator or remote peer-system administrator to get the required information.
In the example, we are going to configure an SNA Server to talk to a peer communications manager. This could be another CICS Option on another SNA Server. We are going to assume that the Local SNA Server is going to be the server for a region called REGION1, which is running under a PU called SNASYS1 with an LU also called SNASYS1. This is talking to a region called REGION2 running under a PU called SNASYS2 with an LU also called SNASYS2.
The following table contains a list of definitions that you require to configure an 802.2 DLC connection, along with the settings that we are going to use in the example. One of the most common causes for confusion when configuring SNA is that different SNA servers and environments use different terms to define the same thing. Also there can be additional confusion since a value on one side of a connection will have a different perspective, hence name, on the other side of the connection.
From your remote peer-system administrator you will require the following information.
Parameter from the Remote Peer System Administrator | Example Value | Description |
---|---|---|
Remote Network Name (NETID) | SNANET1 | The network name of the remote peer's network domain. |
Remote Control Point (CP) Name | SNASYS2 | The name of the remote system's connection as defined to SNA. It is also known as PU Name. |
Remote Network Address | 0123456789AB | 12-digit hexadecimal network address of
the network controller/card attached to the remote system. It is also
known as remote MAC address.
You also need to know your local MAC address of the SNA Server to give to the remote peer, found by running the command net config server from the command line. |
The XID format used by the remote system | 3 (default) | The XID format must be 3 for peer-to-peer communication. |
Remote Node ID | 05D,54321 | An 8-digit hexadecimal number which is used to identify the remote system on the SNA network. This number must be unique for the connection |
Local Node ID | 05D,12345 | An 8-digit hexadecimal number which is used to identify the local system on the SNA network. This number must be unique for the connection. |
Local Control Point (CP) name assigned to the local machine | SNASYS1 | Used to uniquely identify the PU assigned to the local machine. |
The Mode Table defining the session limits for the connection | #INTER | This is used to negotiate the session limits with the remote system. Normally the remote system would use the #INTER mode. If #INTER is not appropriate because its settings are incompatible with the modes defined on the remote system for the Remote LU, you can define and use another mode. If you need to define another mode, your remote-peer system administrator will give you the parameters required and the Microsoft SNA Server: Administrators Guide explains how to do it. See the section Configuring Remote LUs for a note on how this parameter is used. |
Local LU Name | SNASYS1 | The LU that you are assigning to your connection |
Remote LU Name | SNASYS2 | The LU that has been assigned to the remote end |
This section describes how to configure an 802.2 DLC connection. It assumes that you have installed a 32-bit DLC driver to provide support over an 802.2 DLC connection and that you have installed the Microsoft SNA Server 3.0 product.
First, start the SNA Server Manager. The following steps to define the configuration are done through that application.
During the SNA Server installation (assuming that you are performing a new installation and not an upgrade) you will be prompted for information about the Local Server. In this example, we are going to configure an SNA Server called 'SNASRVR'.
Note: These parameters are used as defaults. If you are going to connect to more than one remote system then they can be overridden in the connection definition - see the section Configuring the System Identification.
Now configure the Link Service by clicking Link Service on the Insert menu . This displays the Insert Link Service dialog box. We are going to configure 'SNADLC1'
Click the Address tab to display the Address page.
Click the System Identification tab to display the System Identification page.
Before attempting to communicate with the remote system you must define the local and remote LUs which will be used to communicate over the SNA connection you have configured. The next sections describe the configuration of independent LUs to be used to communicate over the remote system connection.
If you are using multiple APPC LUs, you can configure each of them as follows:
A remote LU is assigned to a connection that will be used to communicate with the LU.
Notes:
When you want to save the configuration, click Save on the File menu.
To activate the configuration, you must stop and restart the SNA Server service, as follows:
When the server is active, the underlying connections will attempt to activate if the 'Activation Type' was defined as 'On Server Startup' or 'On Demand', as described in the section Configuring the Connection.
Connections configured for Incoming and Outgoing calls go to 'On Demand/Incoming' status when successfully activated. The connection goes to the 'Active' status when the first session is established or if activated manually by the administrator. This requires the remote peer's communications server and connections also to be started.
You need to configure CICS Option to communicate with the remote PC. If you have the SNA Server to PC connection working, as described in the previous section, then the configuration of CICS Option and the remote PC should be simple.
The parameters that you require for configuring CICS Option to the remote PC are:
CICS Option Name | From your Network Administrator | Example Value | Matching SNA Server Parameter |
---|---|---|---|
LU alias | Independent LU for this connection | SNASYS1 | SNA Server value for 'LU Alias' in the 'Local APPC LU' definition for the APPC LU that you are going to use. |
Partner alias | Target LU name for your connection | SNASYS2 | SNA Server value for 'LU Alias' in the 'Remote APPC LU' |
Alias applid | The remote APPC LU of the local CICS Option as defined to the remote PC. | SNASYS1 | SNA Server value for 'LU Name' in the 'Local APPC LU' definition for the APPC LU that you are going to use. Normally the same as 'LU Alias'. |
Mode table | The mode table defining the session limits for the connection. | #INTER | SNA Server value for 'Implicit Incoming Mode' in the 'Remote APPC LU'. |
Net name | The remote CICS system's network name. This is the region name. | REGION2 | No SNA value |
To define a CICS Option connection to the remote PC you need to:
The definition is shown in Figure 10-2:
Figure 10-2: Definition of Remote PC Connection
Now you need to ensure that the resource group with the remote CICS system's definitions is included in the startup list, as follows:
You now need to define transaction programs to the local SNA Server so that it knows how to invoke CICS Option. This is the same as for PC to Mainframe communication and is described in the section Defining Transaction Programs.
Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Configuring CICS Terminals and Printers | CICS Resource Definitions |