CICS Transaction Connection
CICS Transaction Connection
This feature module describes the Cisco Transaction Connection (CTRC) software feature. It
includes information on the benefits of using CTRC, supported platforms, configuration instructions,
commands, error messages, and additional information about CTRC.
This document contains the following sections:
• Feature Overview, page 2
• CTRC and CICS, page 2
• CTRC and DB2, page 3
• Benefits, page 4
• Related Documents, page 5
• Supported Platforms, page 5
• Supported Standards, MIBs, and RFCs, page 5
• Configuration Tasks, page 6
• Monitoring and Maintaining CTRC, page 14
• Configuration Examples, page 16
• Command Reference, page 26
• Debug Commands, page 75
• Error Messages, page 98
• Glossary, page 101
Feature Overview
The Cisco Transaction Connection (CTRC) software feature provides the following functionality:
• CTRC allows Cisco routers to use the intersystem communication (ISC) protocol to provide a
gateway between Customer Information Control System (CICS) clients (also known as common
clients) running under Windows or UNIX on Transmission Control Protocol/Internet Protocol
(TCP/IP) networks and CICS online transaction monitoring systems on IBM hosts.
• CTRC supports two interfaces to common clients: the Extended Call Interface (ECI), which lets
non-CICS client programs call CICS transactions, and the Extended Presentation Interface (EPI),
which lets distributed applications call CICS transactions that were originally accessed via 3270
terminals.
• CTRC supports the ability to configure routes for CICS transaction. Each transaction can be
routed to a specific CICS region.
• In addition to its CICS-related functionality, CTRC includes the feature previously known as
Cisco Database Connection (CDBC), which allows Cisco routers to use IBM's distributed
relational database architecture (DRDA) protocol to provide a gateway between client
workstations running ODBC-compliant applications on TCP/IP networks and IBM DB2
databases on Systems Network Architecture (SNA) networks. ODBC (Open Database
Connectivity) is a call-level interface developed by Microsoft Corporation that allows a single
application to access database management systems from different vendors using a single
interface. SNA is a large, complex, feature-rich network architecture developed by IBM.
• CTRC adds support for TCP/IP passthrough, allowing the use of a TCP/IP network, rather than
a SNA network, between a Cisco router and a DB2 database if the database version supports
direct TCP/IP access.
• To match functionality provided in DRDA over TCP/IP, CTRC adds support for Password
Expiration Management (PEM) in SNA networks where PEM is supported.
Figure 1 Cisco Router Configured with the CTRC Feature for CICS Communications
CICS transaction
CICS client monitor
26062
CTRC
Figure 2 Cisco Router Configured with the CTRC Feature for DB2 Communications
(SNA Host Network)
CTRC
DB2 database
DRDA server
For a TCP/IP host connection, the router with CTRC routes the DRDA packets over TCP/IP without
protocol changes. To use this TCP/IP passthrough feature of CTRC, the host database version must
support direct TCP/IP access. Figure 3 illustrates such a configuration.
Figure 3 Cisco Router Configured with the CTRC Feature for DB2 Communications
(TCP/IP Host Network)
27133
TCP/IP CTRC TCP/IP
DB2 database
DRDA server
When configured for DB2 communications on a router, the CTRC feature enables desktop
applications to access data in remote databases located on IBM hosts. CTRC receives database
access messages from the client over a TCP/IP link. CTRC either converts the messages to SNA and
transmits them to the host using APPC services provided by the Cisco SNA Switching Services, or
routes the client messages to the TCP/IP-enabled host without protocol changes.
Benefits
Cisco Transaction Connection (CTRC) provides TCP/IP end-users and servers with fast, reliable,
and secure access to IBM DB2 databases using the Systems Network Architecture (SNA) protocol.
CTRC, a cost-effective software and router solution based on Cisco IOS software, replaces
expensive and hard to manage UNIX and NT gateways for database access.
CTRC lets Windows or UNIX client applications call CICS transactions without requiring changes
to the client or host software. CTRC provides improved performance, lower cost of ownership, and
greater reliability than existing solutions from other vendors.
In addition, CTRC provides Cisco 7200 and 7500 series routers with the functionality previously
available in CDBC, which gives ODBC client applications access to data in DB2 databases.
Related Documents
For information related to this feature, refer to the following document:
• Cisco IOS Release 12.0(5)XN SNA Switching Services
• Revealed! CICS Transaction Gateway with More CICS Clients Unmasked
(IBM publication SG24-5277)
See Chapter 15.4 (Configuration for VTAM & CICS TS for OS/390 when connecting with
Microsoft SNA Server)
• CICS Transaction Server for OS/390 V1R2 CICS Intercommunication Guide
(IBM publication SC33-1695)
• DRDA Connectivity Guide
(IBM publication SC26-4783)
• Distributed Relational Database Architecture (DRDA)
(Open Group publication C812, ISBN 1-85912-295-7)
Supported Platforms
• Cisco 7200 series routers
• Cisco 7500 series routers
RFCs
No new or modified RFCs are supported by this feature.
Standards
No new or modified MIBs are supported by this feature.
Configuration Tasks
CTRC can be configured for use with CICS, with DB2, or both. Both CICS and DB2 configurations
require Cisco SNA Switching Services. A few basic instructions for configuring SNA Switching
Services are included in the following sections. For more extensive information, consult the SNA
Switching Services documentation.
Note CTRC commands related to communications with CICS contain the word txconn. CTRC
commands related to communications with DB2 contain the word dbconn. With the exception of
commands related to licensing, dbconn and txconn commands act independently of each other and
are discussed separately in this document. To configure CTRC for use with both CICS and DB2,
complete all the configuration tasks listed below. To configure CTRC for use with CICS only,
complete all the configuration tasks except those marked (DB2). To configure CTRC for use with
DB2 only, complete all the configuration tasks except those marked (CICS). See the “Configuration
Examples” section of this document for additional information.
Perform the following tasks to configure CTRC, in the order that they are listed here:
• Configuring CICS on the Host
• Configuring a CICS Client
• Configuring DB2 on the Host
• Configuring SNA Switching Services
• Configuring a CTRC Destination (CICS)
• Configuring a CTRC Server (CICS)
• Configuring a CTRC Route (CICS)
• Configuring a CTRC Server (DB2)
• Configuring the CTRC License
• Verifying SNA Connectivity
• Verifying CTRC Configuration
• In CEDA (a CICS resource definition transaction), create a SNA Connection Definition with a
unique four-character name (such as CTRC). Set NETNAME to the router’s LU name (control
point name). Set the following additional values:
—Accessmethod: VTAM
—Protocol: APPC
—Attachsec: Verify
• Also in CEDA, create sessions related to the Connection Definition. Set the mode name to the
value you chose earlier.
• Make sure that your CICS system includes a DFHCNV table for data conversion between ASCII
and EBCDIC. If this table is not present, attempts to install and use CTRC may encounter APPC
errors on the host that report failure to transform data received from the remote system. A
DFHCNV table may contain lines such as are shown below. For more information about
DFHCNV tables, see your CICS documentation.
PRINT NOGEN
DFHCNV TYPE=INITIAL,SRVERCP=037,CLINTCP=437
DFHCNV TYPE=FINAL
END DFHCNVBA
The “Configuration Examples” section of this document illustrates many of the host configuration
tasks described above.
3 Router#snasw link linkname port portname [rmac Associates a SNA Switching Services link with a SNA
mac-address | ip-dest ip-address] [rsap Switching Services port.1
sap-value] [nns] [nostart]
1 If the partner node is initiating the connection, a link definition is not necessary. It is built dynamically when the partner node initiates the
connection. Links are typically defined for upstream connectivity.
Note For a LEN level connection between SNA Switching Services and the host, you will also need
to configure the snasw location configuration command for the specific resource names to be
contacted on the host. Do not define locations if APPN connectivity is being used between SNA
Switching Services and the host.
For additional information about configuring SNA Switching Services, consult the SNA Switching
Services documentation.
Command Purpose
Router(config)#txconn destination destination-name Specifies a CICS system with which CTRC will
rlu rlu-name mode mode-name communicate.
For load-sharing purposes, the txconn destination command can be repeated with the same
destination name but new remote LU and mode values to assign more than one CICS system or
region to a single CTRC destination name. If a CTRC destination is configured in this way, the
CTRC server sends traffic to the destination’s defined CICS regions on a rotating basis. A Cisco
router can be configured to communicate with multiple CTRC destinations, whether each of those
destinations is defined as an individual pair of remote LU and mode values or as a set of such values.
Command Purpose
Router(config)#txconn server server-name Configures a CTRC server process for communicating
destination destination-name [ipaddress ip-address] with CICS. Note that if you do not supply a port number,
[port port-number] [client-timeout minutes] CTRC uses the default value of 1435.
[host-timeout minutes] [window-size bytes]
When a client attempts to connect to a CTRC server for CICS, the server’s port and IP address
determine whether that connection is accepted or not. By default, the CTRC server port for CICS
client communications is 1435. You can create multiple CTRC txconn and dbconn server processes
on one router.
Command Purpose
Router(config)#txconn route [server server-name] tranid Configures a particular route for traffic with the specified
transaction-id destination destination-name transaction ID.
Command Purpose
Router(config)#dbconn server server-name [ipaddress Configures a CTRC server for communications with DB2.
ip-address] [port port-number] [rdbname rdbname] [rlu
remote-lu] [mode mode] [tpname tp-name] [idle-timeout
minutes] [window-size bytes]
When a client attempts to connect to a CTRC server for DB2, the server’s port, IP address, and
remote database name (RDB name) determine if that connection is accepted. By default, the CTRC
server port for client requests for DB2 communications is 446. You can create multiple CTRC
dbconn and txconn server processes on one router.
Command Purpose
Router(config)#dbconn license license-key Configures a CTRC license key for DB2 or CICS.
connections licensed-connections
[expiration-date yyyymmdd]
Router(config)#txconn license license-key Configures a CTRC license key for CICS or DB2.
[connections licensed-connections]
[expiration-date yyyymmdd]
Step 2 If you configured CTRC for communications with CICS, enter the show txconn
destination command in EXEC or privileged EXEC mode. Make sure that any CICS
destinations you configured are listed with the RLU and mode values you specified.
Router>show txconn destination
Name Remote LU Mode Hits
----------------- ------------------ ----------- --------
CICSB CICSB IBMRDB 31
GEN CICSB IBMRDB 50
CICSC IBMRDB 51
GUAVA GUAVA IBMRDB 0
CICSC CICSC IBMRDB 7
Step 3 Enter the show txconn server command. Make sure that any CTRC servers you defined
for communications with CICS are listed with the configuration values you specified.
Router>show txconn server
Server Port IP Address Dest State NumConn
---------- ----- ------------ --------- --------- -------
CICSB 1435 0.0.0.0 CICSB enabled 1
CICSB&C 1436 0.0.0.0 GEN enabled 0
CICSC 1434 0.0.0.0 CICSC enabled 0
GUAVA 1437 0.0.0.0 GUAVA enabled 0
If necessary, use the show txconn server server-name form of the command to display
more information for an individual server.
Router>show txconn server CICSB
server: CICSB
destination: CICSB
server state: enabled (accepting connections)
ip address: 0.0.0.0
port: 1435
client timeout: 0 (none)
host timeout: 0 (none)
window size: 4096 bytes
number of connections: 1
number of transactions: 2
Step 4 If you defined any routes for specific transaction IDs to take to CICS destinations, enter
the show txconn route command. Make sure that any CTRC routes you defined are listed
with the configuration values you specified. An asterisk (*) in the SERVER column
indicates a global route that is used by all txconn servers on the router. An asterisk in the
TRANID column indicates the default route for the listed txconn server.
Router>show txconn route
Server TranID Destination
----------------- ----------------- ----------------
CICSC * CICSC
CICSB * CICSB
CICSB&C * GEN
GUAVA * GUAVA
* CPMI CICSC
CICSB CPMI CICSB
Step 5 If you did not configure CTRC communications with DB2, go to Step 7.
Step 6 If you configured CTRC for communications with DB2, enter the show dbconn server
command. Make sure that the servers you defined are listed with the configuration values
you specified. If necessary, use the show dbconn server server-name form of the
command to display more information for an individual server.
Router>show dbconn server
Server Port IPAddress RDBName State NumConn
SERVERA 446 0.0.0.0 MATTY enabled 0
SERVERB 446 0.0.0.0 SCU_DSNM enabled 4
SERVERC 446 0.0.0.0 DSN4 enabled 0
SERVERD 446 0.0.0.0 MKTG enabled 0
SERVERE 446 0.0.0.0 ABBY enabled 6
SERVERF 446 0.0.0.0 DB2510 enabled 0
SERVERG 446 0.0.0.0 ELLE enabled 3
SERVERH 446 0.0.0.0 SUNSET enabled 0
SERVERI 446 0.0.0.0 NELL enabled 1
SERVERJ 446 198.989.999.32 SAMPLE enabled 0
SERVERK 446 0.0.0.0 DB2410 enabled 0
SERVERL 446 0.0.0.0 SQLDS enabled 0
SERVERM 446 0.0.0.0 STELLA enabled 1
SERVERN 446 10.10.19.4 OAK enabled 2
SERVERO 447 0.0.0.0 DB2510 enabled 0
Step 7 Enter either the show dbconn license command or the show txconn license command.
Make sure that the reported number of licensed connections matches the number you
purchased.
Router>show txconn license
CTRC is licensed for 4990 connections, 20 licensed connections in use
This is a permanent license
Step 8 For each CICS destination you displayed in Step 1, enter the txconn ping command to
verify that the router can communicate with that destination.
Router>txconn ping CICSB
Trying CICSB CICSB:IBMRDB
Destination CICSB successfully contacted!
Elapsed time was 00:00:00.600
Step 9 For each dbconn server you displayed in Step 6, enter the dbconn ping command to
verify that the router can communicate with the DB2 systems associated with that server.
Router>dbconn ping BUDDY
......
RDB named DB2510 on database server successfully contacted!
Elapsed time was 00:00:00
Configuration Examples
The following sections provide CTRC configuration examples:
• CTRC Servers with IP Addresses Configuration Example (DB2)
• CTRC Servers with IP Addresses, RDB Names, and Ports Configuration Example 1 (DB2)
• CTRC Servers with IP Addresses, RDB Names, and Ports Configuration Example 2 (DB2)
• Server Selection by IP Addresses, RDB Names, and Ports Configuration Example (DB2)
• CTRC with CIP and DB2 on VTAM Configuration Example (DB2)
• CTRC Servers Using Token Ring to a LEN Configuration Example (CICS and DB2)
• CTRC Servers with IP Addresses, Routes, and Multi-Valued Destinations Configuration
Example (CICS)
IP network
172.0.10.2
RDB name NEVADA Server A
StarSQL client
172.0.45.3 Server B
The following are the commands that configure servers Server A, Server B, and Server C in the Cisco
router:
dbconn server SERVERA ip-address 172.0.10.2 rdbname nevada
dbconn server SERVERB ip-address 172.0.45.3
dbconn server SERVERC rdbname iowa
Figure 5 CTRC Server Configuration with IP Address and RDB Name Defined
IP network
161.55.122.80
RDB name NEVADA Server A
StarSQL client
Server B
161.55.122.80
CTRC
Port 446
26078
StarSQL client
Figure 6 CTRC Server Configurations with IP Addresses, RDB Names, and Default Port
IP network
161.55.122.80
RDB name NEVADA Server A
161.55.122.80 Server B
StarSQL client
The following is the configuration for Servers A, B, C, and D in the Cisco router:
hostname routera
!
enable password allie
DB2/MVS
26074
CTRC
DB2 database
DRDA server
SNA
TCP/IP SNA
TCP/IP APPC
TCP/IP SNA (LU 6.2)
The configuration in Figure 7 uses router commands to configure SNA Switching Services over CIP
and CSNA via SRB. The following three pages of this document show the configuration in more
detail. Note that the source-bridge ring-group of 100 matches the source bridge of 10 2 100 for
interface Channel 13/2 to enable SNA Switching Services to run over SRB. In addition, the
destination LAN address used by the snasw link station BUDDY corresponds to the virtual MAC
address used by the adapter for Channel 13/2.
In the VTAM host definitions, the variable CONNTYPE=APPN is optional but recommended if you
use APPN in your SNA environment. If CP to CP is set to YES and CONNTYPE is set to APPN,
this configuration enables the Cisco router to establish CP-to-CP sessions with VTAM. By allowing
CP-to-CP sessions, you gain the benefit of APPN’s dynamic features such as the availability of
directory and topology for locating resources and calculating optimal routes.
In this example, the router smoke is attached to the host BUDDY using a CIP processor.
Note Do not use a snasw location statement if you are using an APPN connection between the host
and SNA Switching Services.
IP network
26032
VTAM Partner PU and LU Definition
RouterPB PU ADDR=01, X
IDBLK=05D, X
IDNUM=00501, X
CPNAME=SMOKE, X
ANS=CONT, X
DISCNT=NO, X
IRETRY=NO, X
ISTATUS=ACTIVE, X
PUTYPE=2, X
SECNET=NO, X
MAXDATA=521, X
MAXOUT=7, X
MAXPATH=1, X
USSTAB=USSS, X
MODETAB=ISTINCLM, X
DLOGMOD=IBMRDB, X
CONNTYPE=APPN
**
*
SMOKE LU LOCADDR=00, INDEPENDENT LU X
DLOGMOD=IBMRDB
ip default-gateway 198.147.235.12
ip classless
Figure 9 CTRC Configuration with IP Addresses, Routes, and Multiple CICS Destinations
IP network
RLU A
Destination A mode A
CICS
system A
Port 1435 TRANID TEST
CTRC Destination A
(default) destination B
server A
server A
CICS
RLU B system B
mode B
CICS
RLU X
system X
mode X
Destination B
CTRC
IP 191.9.200.8 RLU C
destination C mode C
CICS
system C
TRANID TEST2
CTRC Destination C
destination D
server C
server C
Port 1436
IP 191.9.200.37
destination D
CICS CICS
RLU D system D
clients mode D
CTRC
server D Destination D
26031
In Figure 9, a single router is configured to run three CTRC servers for communication with CICS.
These txconn servers are shown as CTRC server A, CTRC server C, and CTRC server D. Server A
listens on the default port, 1435, for all of the router’s IP addresses. Server C listens on port 1436 for
IP address 191.9.200.8. Server D listens on port 1436 for IP address 191.9.200.37.
Server A is configured to communicate with two logical destinations. If a client communication has
the value of TEST for its transaction ID (TRANID), server A sends it to logical Destination B. This
is a multi-valued destination that allows communication with two CICS systems, system B (with
RLU B and mode B) and system X (with RLU X and mode X). Transactions are allocated to these
two destination systems on a round-robin basis.
If a client communication for server A does not have a value of TEST for TRANID, server A sends
it to Destination A, which corresponds to CICS system A (with RLU A and mode A).
Server C is also configured to communicate with two logical destinations. If server C receives a
client communication that has the value of TEST2 for its transaction ID, server C sends it to logical
Destination D, which corresponds to CICS system D (with RLU D and mode D). Server C sends
client communications with other transaction IDs to logical Destination C (CICS system C, with
RLU C and mode C).
Server D is configured to send client communications to logical Destination D. This example
illustrates the following CTRC configuration principles:
• One router can run multiple CTRC txconn servers.
• One txconn server can communicate with multiple logical destinations.
• One CTRC logical destination can correspond to multiple CICS destination systems.
• More than one txconn server can use a single port number, provided that each server listens on
a different IP address.
• More than one txconn server can direct traffic to a single logical destination.
Command Reference
This section documents all non-debug commands used with the CTRC feature. Some of these
commands were previously used with the CDBC feature, which CTRC replaces. Other commands
are new with the introduction of CTRC.
• clear dbconn connection
• clear txconn connection
• clear txconn statistics
• clear txconn transaction
• dbconn license
• dbconn pem
• dbconn ping
• dbconn server
• dbconn tcpserver
• show dbconn connection
• show dbconn license
• show dbconn ports
• show dbconn server
• show txconn connection
• show txconn destination
• show txconn license
• show txconn route
• show txconn server
• show txconn statistics
• show txconn transaction
• txconn destination
• txconn license
• txconn ping
• txconn route
• txconn server
In Cisco IOS Release 12.0(1)T or later, you can search and filter the output for show and more
commands. This functionality is useful when you need to sort through large amounts of output, or if
you want to exclude output that you do not need to see.
To use this functionality, enter a show or more command followed by the “pipe” character (|), one
of the keywords begin, include, or exclude, and an expression that you want to search or filter on:
command | {begin | include | exclude} regular-expression
Following is an example of the show atm vc command in which you want the command output to
begin with the first line where the expression “PeakRate” appears:
show atm vc | begin PeakRate
For more information on the search and filter functionality, refer to the Cisco IOS Release 12.0(1)T
feature module titled CLI String Search.
Syntax Description
connection-id Identification number for client connection to DB2.
Defaults
None.
Command Modes
Privileged EXEC
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following example shows the client connection 786A7C being cleared:
clear dbconn connection 786A7C
Related Commands
Command Description
Syntax Description
connection-id CICS connection identification number.
Defaults
None.
Command Modes
Privileged EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example clears the specified CICS client connection number 62146088 and all its
transactions:
clear txconn connection 62146088
% Connection 62146088 cleared
Related Commands
Command Description
Syntax Description
allocatetime Clears statistics for average time spent waiting for APPC
allocate operation to complete.
clientturnaround Clears statistics for average time from receiving a CICS client
communication to sending that client a response.
hostreceived Clears statistics for number of bytes received from CICS hosts.
Defaults
None.
Command Modes
Privileged EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example clears the stored statistics for the number of bytes the current router has
received from CICS clients:
clear txconn statistics clientreceived
Related Commands
Command Description
show txconn statistics Displays statistics related to CTRC communications with CICS.
Syntax Description
transaction-id ID of the CICS transaction to be cleared.
Defaults
None.
Command Modes
Privileged EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example clears the CICS transaction number 621FC8E0
clear txconn transaction 621FC8E0
% Transaction 621FC8E0 cleared
Related Commands
Command Description
dbconn license
To configure client licenses for CTRC connections to DB2 or CICS, use the dbconn license global
configuration command. To remove the licenses, use the no form of this command.
dbconn license license-key [connections licensed-connections] [expiration-date yyyymmdd]
no dbconn license
Syntax Description
license-key License key obtained from your Cisco representative. The
license determines the maximum number of CICS
conversations or connections to DB2 via a Cisco router
configured with CTRC. The license key is a 32-character
hexadecimal string. It is not case sensitive, but it is linked to a
specific router. When you request your license key, you must
supply your Cisco representative with the SNA Switching
Services cpname for the router. Use the show config | include
cpname command to view the cpname.
Defaults
If the number of licensed connections is not specified, the license key must be generated for an
unlimited number of licensed connections. If the expiration date is not specified, the license key must
be permanent.
Command Modes
Global configuration
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Usage Guidelines
Licenses are required for all CTRC installations. For testing and evaluation purposes, unlicensed
CTRC installations allow you to establish two connections to DB2 or CICS. Licenses are shared
between CTRC connections to DB2 and CTRC connections to CICS. If you have already configured
licenses for CTRC connections to CICS, you do not need to configure licenses for DB2, and vice
versa.
Examples
The following example shows a permanent CTRC license for unlimited connections being
configured:
dbconn license 8C09A496420BAF020BFF74B8A2FF24D2
Related Commands
Command Description
show dbconn license Displays status information about licensed CTRC connections.
Functionally identical to show txconn license command.
show snasw node Displays SNA Switching Services information including the value of
the cpname, which is required for generation of a CTRC license key.
show txconn license Displays status information about licensed CTRC connections.
Functionally identical to show dbconn license command.
dbconn pem
To configure password expiration management (PEM) support for connections to DB2, use the
dbconn pem global configuration command. To remove PEM support, use the no form of this
command.
dbconn pem server server-name rlu rlu-name mode mode-name [tpname tp-name]
no dbconn pem server server-name
Syntax Description
server server-name Name of the CTRC server whose password management you
are configuring.
rlu rlu-name Host remote LU name the server connects to when performing
password management. This RLU ordinarily differs from the
RLU values used in dbconn server or txconn destination
commands. It may or may not be fully qualified.
mode mode-name APPC stack mode the server uses when performing password
management.
tpname tp-name (Optional) Name of the PEM transaction program on the host
(the APPC Signon transaction program, an architected APPC
TP). The default value is \x06301 (0x06F3F0F1 in EBCDIC).
Defaults
If tp-name is not specified, the default value is \x06301 (0x06F3F0F1 in EBCDIC).
Command Modes
Global configuration
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows the configuration of PEM support:
dbconn pem GAZELLE rlu STARW.GAZELLE mode #INTER
Related Commands
Command Description
show dbconn server Displays information about CTRC servers for DB2 communications
dbconn ping
To determine whether or not CTRC servers are successfully connecting to DB2 host databases, use
the dbconn ping EXEC command.
dbconn ping server-name [user user-id] [password password] [rdbname rdbname]
Syntax Description
server-name Name of the CTRC server for DB2 communications.
Defaults
If no user ID is specified, the ping connection is made without APPC security. The DB2 system’s
security settings determine whether or not the ping can succeed.
If no rdbname is specified, the relational database name configured for the server is used.
Command Modes
EXEC
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Usage Guidelines
This command can be used for CTRC servers that communicate with DB2 over either SNA or
TCP/IP (dbconn servers and dbconn tcpservers).
Examples
The following example shows an attempt to verify the connection to the default database for the
CTRC server canopus:
dbconn ping canopus
Related Commands
Command Description
show dbconn server Displays information about a CTRC server that communicates with
DB2.
ping sna Tests connectivity for SNA Switching Services by initiating an APPC
session with a specified destination.
dbconn server
To configure a CTRC server for communications to DB2, use the dbconn server global
configuration command. To disable the server and remove its configuration, use the no form of this
command.
dbconn server server-name [ipaddress ip-address] [port port-number] [rdbname rdbname]
[rlu remote-lu] [mode mode] [tpname tp-name] [idle-timeout minutes]
[window-size bytes]
Syntax Description
server-name Name of the CTRC server. Server names are user-defined
strings up to 16 characters.
port port-number (Optional) Port used to listen for connections requesting DB2
communications. If no port is specified, the default is 446.
rdbname rdbname (Optional) DB2 remote database name on the host. When a
connection arrives, this name is used to identify and select the
appropriate server from multiple configured servers. The string
is used to match the RDB name sent by the client in the DRDA
data stream at connect time. The default RDB name is an
asterisk (*), which indicates that this CTRC server serves any
remote database.
mode mode (Optional) APPC mode used to allocate the conversation to the
DB2 system. If no mode is specified, the default is #INTER.
Performance might improve if you choose a mode such as
IBMRDB. If you specify a mode that does not already exist,
CTRC will create it.
idle-timeout idle-timeout (Optional) Time, in minutes, to wait for an idle client. If there is
no activity from the client for this amount of time, the
connection is forcibly broken. The time spent in waiting for a
response from the DB2 system is not counted, only idle time in
between client requests is counted. The maximum is
1440 minutes (24 hours). If no idle timeout is specified, the
default is 0 (zero) for no timeout.
Defaults
If you do not specify an IP address, the current server can handle DB2 connectivity requests sent to
any IP address on the local router.
If you do not specify a port number, the current server uses the default value of 446.
If you do not specify an rdbname, the server is configured to serve any remote database.
If you do not specify a remote LU, the default is the configured server name which is set to uppercase
and truncated to eight characters. An RLU need not be qualified with a NETID. If you omit the NET
ID, the NET ID of the router’s SNA Switching Services control point is used to fully qualify the LU
name.
If you do not specify an APPC mode, the default value is #INTER. If you specify a mode that does
not already exist, CTRC will create it.
If you do not specify an APPC transaction program name, the default value is the architected DRDA
TP name \x076DB.
If you do not specify an idle timeout, client connections can continue regardless of how long they
have been idle.
If you do not specify a TCP receive window size, the default value is 4 K (4096 bytes).
Command Modes
Global configuration
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Usage Guidelines
You can configure more than one CTRC server per router for communications with DB2 or CICS.
There is no limit on the number of CTRC servers. For each DB2 database system in your network,
you can configure a CTRC server in the router configuration. CTRC dbconn servers that are
configured on the same router can share a port. CTRC txconn servers should use a different port.
Examples
The following example shows the configuration of a CTRC server that will communicate with DB2:
dbconn server coffee rdbname COFFEE rlu PARIS.COFFEE idle-timeout 20 window-size 16
Related Commands
Command Description
show dbconn server Displays information about a CTRC server for DB2 communications.
show dbconn ports Displays information about ports used for CTRC server
communications to DB2.
show snasw mode Displays information about SNA Switching Services modes.
dbconn tcpserver
To configure a CTRC server to communicate with IP-enabled DB2 databases, use the dbconn
tcpserver global configuration command. To disable such a server and remove its configuration, use
the no form of this command.
dbconn tcpserver server-name [ip ip-address] [port port-num] [rdbname rdbname]
remote-ip remote-ip-address [remote-port remote-port] [idle-timeout time-in-minutes]
[window-size size-in-bytes]
no dbconn tcpserver server-name
Syntax Description
server-name Name of the CTRC server being configured for TCP
passthrough communications with DB2.
port port-num (Optional) Port the tcpserver listens on for client requests. The
default value is 446. A dbconn server and a dbconn tcpserver
can share the same port.
rdbname rdbname (Optional) DB2 remote database name on the host. When a
connection arrives, this name is used to identify and select the
appropriate tcpserver from multiple configured tcpservers. The
string is used to match the RDB name sent by the client in the
DRDA data stream at connect time. The default RDB name is
an asterisk (*) which indicates that this CTRC tcpserver serves
any remote database.
remote-port remote-port (Optional) Host port that listens for tcpserver communications
from the router. The default value is 446.
idle-timeout time-in-minutes (Optional) Time in minutes to wait for an idle client. If there is
no activity from the client for this amount of time, the
connection is forcibly broken. The time spent in waiting for a
response from the DB2 system is not counted, only idle time in
between client requests is counted. The maximum time is
1440 minutes (24 hours). If no idle timeout is specified, the
default is 0 (zero) for no timeout.
window-size size-in-bytes (Optional) This value is used for the TCP/IP receive window
size. If no window size is specified, the default is 4096 bytes
(4 K).
Defaults
If you do not specify an IP address for the tcpserver, it can receive requests on any IP address
configured for the router.
If you do not specify a port for the tcpserver, the default port is 446.
If you do not specify a remote database name for the DB2 system, the tcpserver can communicate
with any rdbname.
If you do not specify a port for the remote DB2 system, the tcpserver uses the default value of 446.
If you do not specify an idle timeout period, the default value is zero for no timeout.
If you do not specify a TCP/IP receive window size, the default value is 4096 bytes (4 K).
Command Modes
Global configuration
Command History
Release Modification
12.0(5)XN This command was introduced.
Usage Guidelines
Configure a separate tcpserver for each DB2 system IP address. A dbconn server and a dbconn
tcpserver can share the same port.
Examples
The following example shows the configuration of a tcpserver:
Router(config)#dbconn tcpserver TCPSERVER ip 0.0.0.0 port 446 rdbname GAZELLE
remote-ip 123.456.1.2 remote-port 446
Related Commands
Command Description
dbconn ping Tests connectivity between a CTRC server (or tcpserver) and a
specified DB2 system.
show dbconn server Displays information about CTRC servers for DB2 communications,
whether those servers use TCP/IP or SNA to communicate with DB2
databases.
Syntax Description
connection-id (Optional) Displays the status of a specified connection.
Defaults
If you do not specify any arguments, this command displays information for all CTRC connections
to DB2 on the current router.
Command Modes
EXEC
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following is sample output from the show dbconn connection command:
Router>show dbconn connection
The following is sample output from the show dbconn connection command for a specified
connection:
Router>show dbconn connection 62586780
connection id: 62586780
connection state: active
server: QAMELTCP
rdbname: MELBA
userid: QAUSER
client name: QAMELBA
local ip-address: 198.147.235.2
local port: 500
client ip-address: 198.147.235.88
client port: 4258
connect time: 00:53:27
idle time: 00:00:04 (client)
bytes received from client: 30478
bytes received from host: 318222
client: licensed StarSQL
Field Description
connection id Identification number of the connection made by a DRDA client to the CTRC
server.
connection state Status of the connection made by a DRDA client.
server Name of the CTRC server.
rdbname Name of the relational database on the IBM system.
userid Userid of the user connected through a port to the CTRC server.
client name Name of the client system.
local ip-address IP address of the CTRC server in the router to which the client connects.
local port Port in the CTRC server through which the client connects.
client ip-address IP address of the client connected to the CTRC server.
client port Port used by the client to connect to the CTRC server.
connect time Time when connection was made by the client to the CTRC server.
idle time Amount of time that the active client connection has been idle.
bytes received from Number of bytes the router has received from the client via the specified
client connection.
bytes received from Number of bytes the router has received from the host via the specified
host connection
client Indicates whether the client connection uses a licensed StarSQL ODBC-DRDA
driver or another DRDA driver.
Related Commands
Command Description
show dbconn license Displays information about CTRC licensing. Functionally identical to
show txconn license command.
show dbconn ports Displays information about CTRC ports used for DB2
communications.
show dbconn server Displays information about CTRC servers used for DB2
communications.
Syntax Description
This command has no arguments or keywords
Defaults
None.
Command Modes
EXEC
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Usage Guidelines
This command produces the same results as show txconn license because licenses are shared.
Examples
The following is sample output from the show dbconn license command for a router that is using a
temporary license key:
Router>show dbconn license
CTRC is licensed for 1000 connections, no licensed connections in use
Expires on 1-1-2001.
Related Commands
Command Description
show txconn license Displays license information for CTRC. Functionally identical to the
show dbconn license command.
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
EXEC
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following is sample output from the show dbconn ports command:
Router>show dbconn ports
Port State
446 listening
447 listening
Field Description
Port Port number.
State Listening or disabled status.
Related Commands
Command Description
show dbconn connection Displays connection information about CTRC communications with
DB2.
show dbconn license Displays license information for CTRC communications with DB2.
show dbconn server Displays information about CTRC servers used for DB2
communications.
Syntax Description
server-name (Optional) Specific server for which information should be
displayed. When omitted, this command displays information
for all CTRC servers configured for DB2 communications on
the current router.
Defaults
If no server name is specified, this command displays information for all CTRC servers configured
for DB2 communications on the current router.
Command Modes
EXEC
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following is sample output from the show dbconn server command:
Router>show dbconn server
Server Port IPAddress RDBName State NumConn
SERVERA 446 0.0.0.0 MATTY enabled 0
SERVERB 446 0.0.0.0 SCU_DSNM enabled 4
SERVERC 446 0.0.0.0 DSN4 enabled 0
SERVERD 446 0.0.0.0 MKTG enabled 0
SERVERE 446 0.0.0.0 ABBY enabled 6
SERVERF 446 0.0.0.0 DB2510 enabled 0
SERVERG 446 0.0.0.0 ELLE enabled 3
SERVERH 446 0.0.0.0 SUNSET enabled 0
SERVERI 446 0.0.0.0 NELL enabled 1
SERVERJ 446 198.989.999.32 SAMPLE enabled 0
SERVERK 446 0.0.0.0 DB2410 enabled 0
SERVERL 446 0.0.0.0 SQLDS enabled 0
SERVERM 446 0.0.0.0 STELLA enabled 1
SERVERN 446 10.10.19.4 OAK enabled 2
SERVERO 447 0.0.0.0 DB2510 enabled 0
The following is sample output from the show dbconn server command where the database server
BUDDY is specified:
Router>show dbconn server BUDDY
server: BUDDY
server state: enabled (accepting connections)
ip-address: 0.0.0.0
port: 446
rdbname: DB2510
connection type: SNA
rlu: STARW.DSNV510
mode: IBMRDB
tpname: \x076DB
idle-timeout: 0 (none)
window-size: 4096 bytes
database server name: DB2510
database product id: DSN05011
PEM rlu: A02LU01
PEM mode: IBMRDB
PEM tpname: \x06301
number of connections: 0
RDB server: active
Field Description
server CTRC server name.
server state Current state of the server (enabled or disabled).
ip-address IP address of the CTRC server in the router to which the client connects.
port Port number through which the CTRC server accepts a client connection.
rdbname Name of the remote database accessed by the CTRC server.
connection type Type of connection established between the CTRC router and the DB2 host.
Legal values are SNA and TCP/IP.
rlu Remote SNA LU used when connecting to the database server.
mode SNA mode used when connecting to the database.
tpname SNA transaction program name used for DRDA server on the database system.
idle-timeout Maximum length of time allowed for inactive connections to the CTRC server.
window-size TCP receive window size.
database server name System name returned by the database server. Field shows none until first
contact.
database product id Database product ID. Field shows none until first contact.
PEM rlu The host remote LU name the server will connect to when performing password
management.
PEM mode The APPC mode the server will use when performing password management.
PEM tpname The name of the PEM transaction program on the host (the APPC Signon
transaction program, an architected APPC TP).
number of connections Number of all ODBC clients currently connected to the CTRC server.
RDB server Status of the host database. Legal values are active and unreachable.
Related Commands
Command Description
show dbconn ports Displays information about CTRC ports used for DB2
communications.
Syntax Description
connection-id (Optional) Specifies a CTRC connection to a CICS client for
which to display detailed status information.
Defaults
If neither connection-id nor server-name are specified, a list of all of the current router’s CTRC
connections to CICS clients is displayed.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced
Examples
The following example displays information about a CICS client connections for the current router:
Router>show txconn connection
The following example displays information about a specified CICS client connection:
Router>show txconn connection 6241464C
connection: 6241464C
server: CICSB
state: receiving
transactions: 2
ip address: 198.147.235.88
port: 1365
total transactions: 20
connect timestamp: 06:04:26
idle time: 06:17:34
total bytes received: 2963
total bytes sent: 28121 (2.89K)
idle timeout: 0 (none)
Field Description
connection Unique identifier for the CICS client connection.
server CTRC txconn server process that is handling the connection.
state Status of the connection. Possible values are:
• closing indicates that the connection is in the process of closing.
• halt indicates that the connection has been manually cleared and is in the
process of releasing resources.
• receiving indicates that the connection is receiving data from the client.
• reset indicates that the connection has just opened or just closed.
transaction Number of CICS transactions currently in progress for the connection.
ip address IP address of the CICS client that is using the connection.
port Port of the CICS client that is using the connection.
total transactions Total number of CICS transactions performed using the connection.
connect timestamp Amount of time elapsed since the connection was first established. Values of less
than 24 hours are displayed in hours, minutes, and seconds. Longer periods are
displayed in days and hours.
idle time Amount of time that the connection has been idle.
total bytes received Number of bytes received from the CICS client via this connection.
total bytes sent Number of bytes sent to the CICS client via this connection.
idle timeout Number of minutes after which the connection will be automatically closed if
there is no activity. A value of zero (0) indicates that the connection will not be
closed for lack of activity.
Related Commands
Command Description
clear txconn connection Clears a specific CTRC connection to a CICS client, along with all that
connection’s transactions.
Syntax Description
destination-name (Optional) CTRC destination for which to display detailed
status information. A destination is defined by a unique remote
LU and mode pair.
Defaults
If destination-name is omitted, displays a list of all CTRC destinations for the current router.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following examples show the CTRC destinations for CICS communications that are available
on the current router and information specifically about the destination GEN:
The HITS column displays the number of times the router has routed transactions or pings to each
destination since the last time the router was started up.
Related Commands
Command Description
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Usage Guidelines
This command produces the same result as the show dbconn license command because CTRC
licenses are shared between DB2 connections and CICS conversations.
Examples
The following example shows license information for CICS communications being displayed on the
current router:
Router>show txconn license
CTRC is licensed for 4990 connections, 20 licensed connections in use
This is a permanent license
Related Commands
Command Description
show dbconn license Displays license information for CTRC. Functionally identical to the
show txconn license command.
Syntax Description
server server-name (Optional) Server for which you wish to display routing
information. If not specified, a list of all CICS communications
routes for CTRC servers on the current router is displayed.
Defaults
If server-name is not specified, a list of all CICS communications routes for CTRC servers on the
current router is displayed.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following examples show information about all the CTRC routes to CICS that are available on
the current router and information about the route for CTRC server CICSB&C. An asterisk (*) in
the SERVER column indicates a global route that is used by all txconn servers on the router. An
asterisk in the TRANID column indicates the default route for the listed txconn server.
Router>show txconn route
Server TranID Destination
----------------- ----------------- ----------------
CICSC * CICSC
CICSB * CICSB
CICSB&C * GEN
GUAVA * GUAVA
* CPMI CICSC
CICSB CPMI CICSB
Related Commands
Command Description
txconn route Configures CTRC routes to CICS for specified transaction IDs.
Syntax Description
server-name (Optional) CTRC server for which to display detailed status
information. When omitted, a list of CTRC servers is displayed.
Defaults
When server-name is not specified, a list of the current router’s CTRC servers that communicate
with CICS is displayed.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following examples show summary information about the CTRC servers for CICS
communications that are available on the current router and more detailed information about the
CTRC server CICSB:
Field Description
server Name of the txconn server.
destination Default destination for the server.
server state Status of the server process. Possible values are:
• disabled (unable to accept connections) indicates that CICS client
connections will be rejected.
• enabled (accepting connections) indicates that CICS clients can connect to
the server.
ip address TCP/IP address for which the server accepts connections. A value of 0.0.0.0
indicates that the server accepts connections for any IP address that is configured
on the router.
port TCP/IP port number on which the server listens.
client timeout Number of minutes a CICS client can remain idle before it is automatically
disconnected. A value of zero (0) indicates that the server does not disconnect
clients for inactivity.
host timeout Number of minutes a CICS host may remain idle before it is automatically
disconnected. A value of zero (0) indicates that the server does not disconnect
hosts for inactivity.
window size TCP/IP receive window size.
number of connections Number of currently active CICS client connections to the server.
number of transactions Number of currently active CICS transactions being handled by the server.
Related Commands
Command Description
Syntax Description
kind histogram | kind (Optional) Desired format for the statistics to be displayed.
summary Legal values are as follows:
• histogram displays the named statistic in a graphical format.
• summary displays the named statistic in a tabular format.
If the kind of statistics display to show is not specified,
summary is used. Statistics are shown for the clock hour in
progress and the preceding 24 full hours.
Defaults
If the kind of statistics display is not specified, summary is used.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following examples show histogram and summary displays of the clientreceived statistic.
Router>show txconn statistics kind histogram name clientreceived
Number of Bytes Received from Clients
18.82MB ^
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ | ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
9.41MB | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | ^
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
0 - - - - - - - - - - - - - - - - - - - - - - - -
7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 *
PM AM
Related Commands
Command Description
show txconn connection Displays information about CTRC connections to CICS clients.
show txconn destination Displays information about CICS destinations for CTRC.
show txconn license Displays license information for CTRC. Functionally identical to the
show dbconn license command.
show txconn server Displays information about CTRC servers that communicate with
CICS.
Syntax Description
server server-name (Optional) Specifies a CTRC server for which to display a list
of transactions.
Defaults
If no arguments are specified, all the CICS transactions for the current router are listed.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following two examples display general information about CICS transactions being handled by
the current router and detailed information about a specified CICS transaction, respectively:
Router>show txconn transaction
Field Description
transaction Unique identifier for the transaction.
server CTRC txconn server process that is handling the transaction.
connection id Unique identifier for the CICS client connection associated with the transaction.
state Status of the transaction. Possible values are:
• closing indicates that the SNA session is in the process of closing.
• exception indicates that an error has occurred. An error indication will be sent
to the client and the host session will be terminated.
• exc. resp. indicates that the router has sent an error indication to the client.
• opening indicates that the SNA session is about to open.
• parsing FMH indicates that the SNA session has received the first portion of
an FM header.
• parsing FMH5 indicates that CTRC is about to establish a SNA session with
the host.
• parsing FMH7 indicates that the router just received an error from the CICS
client.
• parsing DFC indicates that the SNA session is about to close.
• receiving indicates that the SNA session is receiving data from the host.
• reset indicates that the SNA session is idle, waiting for a new transaction
request from the CICS client.
• sending indicates that the SNA session is sending data to the host.
• waiting indicates that the SNA session is waiting for data from the client.
tp name CICS transaction program name.
user id CICS user ID associated with the transaction.
session RU address SNA architected address that allows multiple sessions to share one connection.
idle time Time in milliseconds that the SNA session has been idle.
number of transactions Number of CICS transactions executed by the current SNA session.
executed
number of bytes Number of bytes received from the CICS client during the current SNA session.
received from client
number of bytes Number of bytes received from the CICS host during the current SNA session.
received from host
Related Commands
Command Description
show txconn connection Displays information about CTRC connections to CICS clients.
show txconn destination Displays information about CICS destinations for CTRC.
show txconn server Displays information about CTRC servers that communicate with
CICS.
txconn destination
To configure a CTRC destination, use the txconn destination global configuration command. To
remove configuration for a txconn destination, use the no form of this command.
txconn destination destination-name rlu rlu-name mode mode-name
no txconn destination destination-name [rlu rlu-name mode mode-name]
Syntax Description
destination-name Name of the destination being defined or added to. This name is
used in the route configuration command to identify the
destination for the route.
If the destination does not exist, it is created; if it exists, the rlu
and mode parameters are added as an additional routing target
for this destination. When a destination contains multiple
routing targets, it is like configuring a cluster where the various
targets are chosen on a round-robin basis for load balancing.
rlu rlu-name Remote LU name on the host. This parameter defines to which
remote LU the server will connect when using this destination.
A remote LU corresponds directly to a CICS region. The value
you enter here should match your VTAM APPLID.
mode mode-name Name of the APPC mode. This parameter defines which mode
the server will use for its APPC connections when using this
destination. If the mode you specify does not already exist,
CTRC will create it.
Defaults
No defaults exist for the txconn destination command. However, the remote LU name of the host
and the APPC mode name are optional for the no form of the command. If you omit them, CTRC
removes the configuration for all routing targets defined for the destination. If you use rlu rlu-name
mode mode-name to specify a particular routing target within a destination that has multiple targets,
the configuration is removed only for the specified target.
Command Modes
Global configuration
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows the CTRC destination newdest being defined on the current router:
txconn destination newdest rlu CICSB mode IBMRDB
A second pair of rlu and mode values could be assigned to this same logical destination, to allow
load sharing between the two destination CICS systems:
txconn destination newdest rlu CICSC mode IBMRDB
Related Commands
Command Description
show snasw mode Displays information about predefined SNA Switching Services
modes.
show txconn destination Displays information about CICS destinations for CTRC.
txconn license
To license a Cisco router for CTRC communications with CICS or DB2, use the txconn license
global configuration command. To remove the license, use the no form of this command.
txconn license license-key [connections licensed-connections] [expiration-date yyyymmdd]
no txconn license
Syntax Description
license-key License key obtained from your Cisco representative. The
license determines the maximum number of DB2 connections
or conversations with CICS possible via a Cisco router
configured with CTRC. It is not case sensitive, but it is linked to
a specific router. When you request your license key, you must
supply your Cisco representative with the SNA Switching
Services cpname for the router. Use the show config | include
cpname command to view the cpname.
Defaults
If the number of licensed connections is not specified, the license key must be generated for an
unlimited number of licensed connections. If the expiration date is not specified, the license key must
be permanent.
Command Modes
Global configuration
Command History
Release Modification
12.0(5)XN This command was introduced.
Usage Guidelines
Licenses are required for all CTRC installations. Within CTRC, a common pool of node-linked
licenses is used for communications with both DB2 and CICS. Therefore, if you have already
configured licenses for CTRC connections to DB2, you do not need to configure licenses for CICS.
The txconn license command provides exactly the same functionality as dbconn license.
For testing and evaluation purposes, unlicensed CTRC installations allow you to establish two
connections to DB2 or two conversations with CICS.
Examples
The following example shows a CTRC license being configured for communications with CICS:
txconn license 8C09A496420BAF020BFF74B8A2FF24D2
Related Commands
Command Description
show dbconn license Shows the status of CTRC licenses. Functionally identical to the show
txconn license command.
show txconn license Shows the status of CTRC licenses. Functionally identical to the show
dbconn license command.
txconn ping
To test communications between the CTRC router and a CTRC destination (a host defined by a pair
of RLU and mode values), use the txconn ping EXEC command.
txconn ping destination-name
Syntax Description
destination-name Specifies the CICS system for which to test communications.
Defaults
None.
Command Modes
EXEC
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows communications being tested between the current router and the
CTRC destination GEN. Note that GEN is a destination that has two RLU-Mode pairs defined, and
that the txconn ping command automatically tests connections to both:
txconn ping GEN
Trying GEN CICSC:IBMRDB
Destination GEN successfully contacted!
Elapsed time was 00:00:01.001
Trying GEN CICSB:IBMRDB
Destination GEN successfully contacted!
Elapsed time was 00:00:01.001
Related Commands
Command Description
txconn route
To configure a CTRC route that will transmit specified transactions to a particular CICS destination,
use the txconn route global configuration command. To remove the configuration of a CTRC route,
use the no form of this command.
txconn route [server server-name] tranid transaction-id destination destination-name
Syntax Description
server server-name (Optional) Name of the CTRC server to which this route
applies. If omitted, this route is applied to all CTRC servers on
the current router that are configured for communication with
CICS.
Defaults
None.
Command Modes
Global configuration
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows a CTRC route to destination GEN being defined on the current router
for transaction ID PNG1:
txconn route server newsvr tranid PNG1 destination GEN
Related Commands
Command Description
txconn server
To configure a CTRC server for communications with CICS, use the txconn server global
configuration command. To disable a CTRC server, use the no form of this command.
txconn server server-name destination destination-name [ipaddress ip-address]
[port port-number] [client-timeout minutes] [host-timeout minutes] [window-size bytes]
Syntax Description
server-name Name of the server being defined. This name is used in other
commands to identify the server being administered.
ipaddress ip-address (Optional) TCP/IP network address for which the server accepts
connections. If this parameter is omitted, the server accepts
connections for any IP address, like a wildcard address. If
multiple servers are configured to listen on the same port, they
must each specify a different IP address. If a server is
configured with the IP address omitted, no other servers may
listen on the same port. So, on a given port, you may configure
either 1 wildcard IP address server, or n address-specific
servers, where n is 1 or more.
port port-number (Optional) TCP/IP port number on which the server listens. If
no IP address is specified, only one server can listen on a port.
Multiple servers can use the same port number if the
combination of IP address and port number is unique to each
server. If the port number is omitted, the server listens on port
1435.
window-size bytes (Optional) Size, in bytes, of the TCP/IP window for incoming
CICS client connections. If no window size is specified, the
default is 4096 bytes (4 K).
Defaults
If the CTRC server’s IP address is not configured, the server accepts connections for any IP address
that is configured for the router.
If the port number is not configured, the server listens on port 1435.
If you do not specify a client timeout, CICS client connections can continue regardless of how long
they have been idle.
If you do not specify a host timeout, host connections can continue regardless of how long they have
been idle.
If you do not specify a TCP/IP window size, the default value is 4096 bytes (4 K).
Command Modes
Global configuration
Command History
Release Modification
12.0(5)XN This command was introduced.
Usage Guidelines
You can configure more than one CTRC server per router for communications with DB2 or CICS.
There is no limit on the number of CTRC servers. However, be sure that CTRC txconn servers and
CTRC dbconn servers are configured to use different ports, and that each txconn server is configured
to use a unique combination of port number and IP address, or a unique port number with no IP
address.
Examples
The following example shows the CTRC server newsvr being defined on the current router:
txconn server newsvr destination GEN port 1438
Related Commands
Command Description
show txconn destination Displays information about CICS destinations for CTRC.
show txconn server Displays information about CTRC servers that communicate with
CICS.
Debug Commands
This section documents debugging commands used with the CTRC feature. Some of these
commands were previously used with the Cisco Database Connection feature (CDBC), which CTRC
replaces. Other commands are new with the introduction of CTRC.
• debug dbconn all
• debug dbconn appc
• debug dbconn config
• debug dbconn drda
• debug dbconn event
• debug dbconn tcp
• debug txconn all
• debug txconn appc
• debug txconn config
• debug txconn data
• debug txconn event
• debug txconn tcp
• debug txconn timer
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the dbconn subsystem.
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
See the examples provided for the debug dbconn appc, debug dbconn config, debug dbconn
drda, debug dbconn event, and debug dbconn tcp commands.
Related Commands
Command Description
debug dbconn appc Displays APPC-related trace or error messages for communications
with DB2.
debug dbconn config Displays trace or error messages for CTRC configuration and control
blocks for DB2 communications.
debug dbconn drda Displays error messages or stream traces for DRDA communications
with DB2.
debug dbconn event Displays trace or error messages for CTRC events related to DB2
communications.
debug dbconn tcp Displays error messages or traces for TCP/IP communications with
DB2.
debug snasw Displays debugging information related to SNA Switching Services.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the dbconn subsystem.
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following example shows APPC debugging output using the debug dbconn appc command:
01:18:05: DBCONN-APPC-622ADF38: Verb block =
01:18:05: DBCONN-APPC-622ADF38: 0001 0200 0300 0000 0400 0000 0000 0000
01:18:05: DBCONN-APPC-622ADF38: 0000 00FC 0000 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-622ADF38: 0000 0000 0840 0007 0000 0000 0000 0000
01:18:05: DBCONN-APPC-622ADF38: 7BC9 D5E3 C5D9 4040 07F6 C4C2 4040 4040
01:18:05: DBCONN-APPC-622ADF38: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: DBCONN-APPC-622ADF38: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: DBCONN-APPC-622ADF38: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: DBCONN-APPC-622ADF38: 4040 4040 4040 4040 0000 0000 0000 0000
01:18:05: DBCONN-APPC-622ADF38: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-622ADF38: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-622ADF38: 00E2 E3C1 D9E6 4BC7 C1E9 C5D3 D3C5 4040
01:18:05: DBCONN-APPC-622ADF38: 4040 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: Verb block =
01:18:05: DBCONN-APPC-621E5730: 0001 0200 0300 0000 0400 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: 0000 00FD 0000 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: 0000 0000 0840 0007 0000 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: C9C2 D4D9 C4C2 4040 07F6 C4C2 4040 4040
01:18:05: DBCONN-APPC-621E5730: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: DBCONN-APPC-621E5730: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: DBCONN-APPC-621E5730: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: DBCONN-APPC-621E5730: 4040 4040 4040 4040 0000 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: DBCONN-APPC-621E5730: 00E2 E3C1 D9E6 4BE2 E3C5 D3D3 C140 4040
01:18:05: DBCONN-APPC-621E5730: 4040 0000 0000 0000 0000 0000
Related Commands
Command Description
debug dbconn all Displays all CTRC debugging information related to communications
with DB2.
debug dbconn config Displays trace or error messages for CTRC configuration and control
blocks for DB2 communications.
debug dbconn drda Displays error messages or stream traces for DRDA communications
with DB2.
debug dbconn event Displays trace or error messages for CTRC events related to DB2
communications.
debug dbconn tcp Displays error messages or traces for TCP/IP communications with
DB2.
debug snasw Displays debugging information related to SNA Switching Services.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the dbconn subsystem.
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following example shows output from the debug dbconn config command when SNA
Switching Services is not available:
01:21:05: DBCONN-CONFIG: server 6231CA1C takes connection 621E12CC
01:21:05: %CTRC-3-SNASWNOTSTARTED: SNASW is not started -- unable to connect to
remote database.
01:21:05: %CTRC-3-SNASWNOTSTARTED: SNASW is not started -- unable to connect to
remote database.
01:21:05: DBCONN-CONFIG: server 6231BA6C releases connection 62138E50
01:21:05: DBCONN-CONFIG: deleting connection 62138E50
01:21:05: DBCONN-CONFIG: server 6231CA1C releases connection 621E12CC
01:21:05: DBCONN-CONFIG: deleting connection 621E12CC
01:21:05: DBCONN-CONFIG: listen 6231BB88 received ping reply - ping failed.
01:21:05: DBCONN-CONFIG: listen 62324FE8 received ping reply - ping failed.
01:21:19: %CTRC-3-SNASWSTOPPED: SNASW was stopped -- existing connections have been
closed.
01:21:20: DBCONN-CONFIG: listen 62171740 received alarm msg
Related Commands
Command Description
debug dbconn all Displays all CTRC debugging information related to communications
with DB2.
debug dbconn appc Displays APPC-related trace or error messages for communications
with DB2.
debug dbconn drda Displays error messages or stream traces for DRDA communications
with DB2.
debug dbconn event Displays trace or error messages for CTRC events related to DB2
communications.
debug dbconn tcp Displays error messages or traces for TCP/IP communications with
DB2.
debug snasw Displays debugging information related to SNA Switching Services.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the dbconn subsystem.
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following example displays output from the debug dbconn drda command:
Router#debug dbconn drda
*Jun 30 16:09:32.363: DBCONN-DRDA-62008300: DSS X'006CD0410001', length 108, in chain,
REQDSS, correlator 1
*Jun 30 16:09:32.363: DBCONN-DRDA-62008300: OBJECT X'00661041', length 98, code point
X'1041'
*Jun 30 16:09:32.363: DBCONN-DRDA-62008300: OBJECT X'0020115E' in COLLECTION X'1041',
length 28, code point X'115E'
*Jun 30 16:09:32.363: DBCONN-DRDA-62008300: OBJECT X'000C116D' in COLLECTION X'1041',
length 8, code point X'116D'
*Jun 30 16:09:32.363: DBCONN-DRDA-62008300: OBJECT X'0013115A' in COLLECTION X'1041',
length 15, code point X'115A' (skipping...)
Related Commands
Command Description
debug dbconn all Displays all CTRC debugging information related to communications
with DB2.
debug dbconn appc Displays APPC-related trace or error messages for communications
with DB2.
debug dbconn config Displays trace or error messages for CTRC configuration and control
blocks for DB2 communications.
debug dbconn event Displays trace or error messages for CTRC events related to DB2
communications.
debug dbconn tcp Displays error messages or traces for TCP/IP communications with
DB2.
debug snasw Displays debugging information related to SNA Switching Services.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the dbconn subsystem.
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following examples display output from the debug dbconn event command in a variety of
situations. A normal trace for the debug dbconn event displays as follows:
Router#debug dbconn event
DBCONN-EVENT: Dispatch to 60FD6C00, from 0, msg 60F754CC, msgid 6468 'dh',
buffer 0.
DBCONN-EVENT: [*] Post to 61134240(cn), from 60EC5470(tc), msg 611419E4,
msgid 0x6372 'cr', buffer 612BF68C.
DBCONN-EVENT: Flush events called for pto 61182742, pfrom 61239837.
DBCONN-EVENT: Event discarded: to 61182742 (cn), from 61239837(ap), msg
61339273, msgid 0x6372 'cr' buffer 0.
DBCONN-EVENT: == Send to 1234abcd, from 22938acd, msg 72618394, msgid
0x6372 'cr', buffer 0.
If the following messages are displayed, contact Cisco technical support personnel:
DBCONN-TCPFSM-1234abcd: Cannot occur in state 2 on input 6363 ('cc')
DBCONN-APPCFSM-1234abcd: Cannot occur in state 3 on input 6363 ('cc')
Related Commands
Command Description
debug dbconn all Displays all CTRC debugging information related to communications
with DB2.
debug dbconn appc Displays APPC-related trace or error messages for communications
with DB2.
debug dbconn config Displays trace or error messages for CTRC configuration and control
blocks for DB2 communications.
debug dbconn drda Displays error messages or stream traces for DRDA communications
with DB2.
debug dbconn tcp Displays error messages or traces for TCP/IP communications with
DB2.
debug snasw Displays debugging information related to SNA Switching Services.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the dbconn subsystem.
Command History
Release Modification
11.3(2)T This command was introduced.
12.0(5)XN Command moved from CDBC feature to CTRC feature.
Examples
The following example displays output from the debug dbconn tcp command:
Router#debug dbconn tcp
DBCONN-TCP-63528473: tcpdriver_passive_open returned NULL
DBCONN-TCP-63528473: (no memory) tcp_reset(63829482) returns 4
DBCONN-TCP: tcp_accept(74625348,&error) returns tcb 63829482, error 4
DBCONN-TCP: (no memory) tcp_reset(63829482) returns 4
DBCONN-TCP-63528473: (open) tcp_create returns 63829482, error = 4
DBCONN-TCP-63528473: tcb_connect(63829482,1.2.3.4,2010) returns 4
DBCONN-TCP-63528473: (open error) tcp_reset(63829482) returns 4
DBCONN-TCP-63528473: tcp_create returns 63829482, error = 4
DBCONN-TCP-63528473: tcb_bind(63829482,0.0.0.0,2001) returns 4
DBCONN-TCP-63528473: tcp_listen(63829482,,) returns 4
DBCONN-TCP-63528473: (errors) Calling tcp_close (63829482)
Related Commands
Command Description
debug dbconn all Displays all CTRC debugging information related to communications
with DB2.
debug dbconn appc Displays APPC-related trace or error messages for communications
with DB2.
debug dbconn config Displays trace or error messages for CTRC configuration and control
blocks for DB2 communications.
debug dbconn drda Displays error messages or stream traces for DRDA communications
with DB2.
debug dbconn event Displays trace or error messages for CTRC events related to DB2
communications.
debug ip tcp Displays debugging information related to TCP/IP.
debug snasw Displays debugging information related to SNA Switching Services.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows the immediate output of the debug txconn all command. For examples
of specific debugging messages, see the examples provided for the debug txconn appc, debug
txconn config, debug txconn data, debug txconn event, debug txconn tcp, and debug txconn
timer commands.
Router#debug txconn all
All possible TXConn debugging has been turned on
Related Commands
Command Description
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn appc Displays APPC-related trace or error messages for communications
with CICS.
debug txconn config Displays trace or error messages for CTRC configuration and control
blocks for CICS communications.
debug txconn data Displays CICS client and host data being handled by CTRC, in
hexadecimal notation.
debug txconn event Displays trace or error messages for CTRC events related to CICS
communications.
debug txconn tcp Displays error messages or traces for TCP/IP communications with
CICS.
debug txconn timer Displays performance information related to CICS communications.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows APPC debugging output from the debug txconn appc command:
01:18:05: TXCONN-APPC-622ADF38: Verb block =
01:18:05: TXCONN-APPC-622ADF38: 0001 0200 0300 0000 0400 0000 0000 0000
01:18:05: TXCONN-APPC-622ADF38: 0000 00FC 0000 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-622ADF38: 0000 0000 0840 0007 0000 0000 0000 0000
01:18:05: TXCONN-APPC-622ADF38: 7BC9 D5E3 C5D9 4040 07F6 C4C2 4040 4040
01:18:05: TXCONN-APPC-622ADF38: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: TXCONN-APPC-622ADF38: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: TXCONN-APPC-622ADF38: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: TXCONN-APPC-622ADF38: 4040 4040 4040 4040 0000 0000 0000 0000
01:18:05: TXCONN-APPC-622ADF38: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-622ADF38: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-622ADF38: 00E2 E3C1 D9E6 4BC7 C1E9 C5D3 D3C5 4040
01:18:05: TXCONN-APPC-622ADF38: 4040 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: Verb block =
01:18:05: TXCONN-APPC-621E5730: 0001 0200 0300 0000 0400 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: 0000 00FD 0000 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: 0000 0000 0840 0007 0000 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: C9C2 D4D9 C4C2 4040 07F6 C4C2 4040 4040
01:18:05: TXCONN-APPC-621E5730: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: TXCONN-APPC-621E5730: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: TXCONN-APPC-621E5730: 4040 4040 4040 4040 4040 4040 4040 4040
01:18:05: TXCONN-APPC-621E5730: 4040 4040 4040 4040 0000 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: 0000 0000 0000 0000 0000 0000 0000 0000
01:18:05: TXCONN-APPC-621E5730: 00E2 E3C1 D9E6 4BE2 E3C5 D3D3 C140 4040
01:18:05: TXCONN-APPC-621E5730: 4040 0000 0000 0000 0000 0000
Related Commands
Command Description
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn all Displays all CTRC debugging information related to communications
with CICS.
debug txconn config Displays trace or error messages for CTRC configuration and control
blocks for CICS communications.
debug txconn data Displays CICS client and host data being handled by CTRC, in
hexadecimal notation.
debug txconn event Displays trace or error messages for CTRC events related to CICS
communications.
debug txconn tcp Displays error messages or traces for TCP/IP communications with
CICS.
debug txconn timer Displays performance information related to CICS communications.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows output for the debug dbconn config command:
Router#debug txconn config
22:11:37: TXCONN-CONFIG: deleting transaction 61FCE414
22:11:37: TXCONN-CONFIG: deleting connection 61FB5CB0
22:11:37: TXCONN-CONFIG: server 62105D6C releases connection 61FB5CB0
22:11:44: TXCONN-CONFIG: new connection 61FB64A0
22:11:44: TXCONN-CONFIG: server 6210CEB4 takes connection 61FB64A0
22:11:44: TXCONN-CONFIG: new transaction 61E44B9C
22:11:48: TXCONN-CONFIG: deleting transaction 61E44B9C
22:11:53: TXCONN-CONFIG: new transaction 61E44B9C
22:11:54: TXCONN-CONFIG: deleting transaction 61E44B9C
Related Commands
Command Description
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn all Displays all CTRC debugging information related to communications
with CICS.
debug txconn appc Displays APPC-related trace or error messages for communications
with CICS.
debug txconn data Displays CICS client and host data being handled by CTRC, in
hexadecimal notation.
debug txconn event Displays trace or error messages for CTRC events related to CICS
communications.
debug txconn tcp Displays error messages or traces for TCP/IP communications with
CICS.
debug txconn timer Displays performance information related to CICS communications.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows selected output from the debug txconn data command when a
connection is established, data is received from the client via TCP/IP, data is sent to the client, and
then the connection is closed.
Router#debug txconn data
TXConn DATA debugging is on
The following lines show output when data is sent to the host:
00:04:50: TXTrans(id:62197910 conn:62197464 addr:2) LL(58) FMH5(0) CEBI(0)
00:04:50: TXTrans(id:62197910 conn:62197464 addr:2) State(0) MsgID(7844) ->
nextState(1)
00:04:50: TXTrans(id:62197910 conn:62197464 addr:2) conversationType(mapped)
syncLevel(1) sec(0)
00:04:50: TXTrans(id:62197910 conn:62197464 addr:2) TPName CCIN
00:04:50: TXTrans(id:62197910 conn:62197464 addr:2) apDataLength(32) GDSID(12FF)
00:04:50: TXTrans(id:62197910 conn:62197464 addr:2) ->Host 0000 0008 03F4 F3F7 0000
0008 0401 0000
The following lines show output when data is received from the host:
00:05:01: TXTrans(id:62197910 conn:62197464 addr:2) <-Host 0092 12FF 0000 000C 0102
0000 0000 0002
The following lines show CTRC generating an FMH7 error message indicating that a CICS
transaction has failed at the host or has been cleared by a router administrator:
00:06:27: TXTrans(id:6219853C conn:62197464 addr:3) Generating FMH7.
00:06:27: %TXCONN-3-TXEXCEPTION: Error occurred from transaction 3 of client
157.151.241.10 connected to server CICSC, exception type is 9
The following line shows CTRC responding to an FMH7 error message sent by the CICS client
program:
00:07:11: TXTrans(id:62197910 conn:62197464 addr:2) Generating FMH7 +RSP.
Related Commands
Command Description
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn all Displays all CTRC debugging information related to communications
with CICS.
debug txconn appc Displays APPC-related trace or error messages for communications
with CICS.
debug txconn config Displays trace or error messages for CTRC configuration and control
blocks for CICS communications.
debug txconn event Displays trace or error messages for CTRC events related to CICS
communications.
debug txconn tcp Displays error messages or traces for TCP/IP communications with
CICS.
debug txconn timer Displays performance information related to CICS communications.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows output for the debug txconn event command:
Router#debug txconn event
TXConn event debugging is on
Router#
22:15:08: TXCONN-EVENT: [*] Post to 62146464(cn), from 6211E744(tc), msg
61FC6170, msgid 0x6372 'cr', buffer 6211289C.
22:15:08: TXCONN-EVENT: Dispatch to 62146464, from 6211E744, msg 61FC6170,
msgid 6372 'cr', buffer 6211289C.
22:15:08: TXCONN-EVENT: [*] Post to 61E44BA0(sn), from 62146464(cn), msg
621164D0, msgid 0x7844 'xD', buffer 0.
22:15:08: TXCONN-EVENT: [*] Post to 6211E744(tc), from 62146464(cn), msg
61FC6170, msgid 0x6347 'cG', buffer 0.
22:15:08: TXCONN-EVENT: Dispatch to 61E44BA0, from 62146464, msg 621164D0,
msgid 7844 'xD', buffer 0.
22:15:08: TXCONN-EVENT: Dispatch to 6211E744, from 62146464, msg 61FC6170,
msgid 6347 'cG', buffer 0.
22:15:08: TXCONN-EVENT: [*] Post to 62146464(cn), from 6211E744(tc), msg
61FC6170, msgid 0x6372 'cr', buffer 6211289C.
22:15:08: TXCONN-EVENT: Dispatch to 62146464, from 6211E744, msg 61FC6170,
msgid 6372 'cr', buffer 6211289C.
22:15:08: TXCONN-EVENT: [*] Post to 61E44BA0(sn), from 62146464(cn), msg
61FBFBF4, msgid 0x7844 'xD', buffer 0.
22:15:08: TXCONN-EVENT: [*] Post to 6211E744(tc), from 62146464(cn), msg
61FC6170, msgid 0x6347 'cG', buffer 0.
22:15:08: TXCONN-EVENT: Dispatch to 61E44BA0, from 62146464, msg 61FBFBF4,
msgid 7844 'xD', buffer 0.
22:15:08: TXCONN-EVENT: [*] Post to 61FC6394(ap), from 61E44BA0(sn), msg
621164D0, msgid 0x634F 'cO', buffer 0.
22:15:08: TXCONN-EVENT: Dispatch to 6211E744, from 62146464, msg 61FC6170,
msgid 6347 'cG', buffer 0.
Related Commands
Command Description
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn all Displays all CTRC debugging information related to communications
with CICS.
debug txconn appc Displays APPC-related trace or error messages for communications
with CICS.
debug txconn config Displays trace or error messages for CTRC configuration and control
blocks for CICS communications.
debug txconn data Displays CICS client and host data being handled by CTRC, in
hexadecimal notation.
debug txconn tcp Displays error messages or traces for TCP/IP communications with
CICS.
debug txconn timer Displays performance information related to CICS communications.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example displays output from the debug txconn tcp command:
Router#debug txconn tcp
TXCONN-TCP-63528473: tcpdriver_passive_open returned NULL
TXCONN-TCP-63528473: (no memory) tcp_reset(63829482) returns 4
TXCONN-TCP: tcp_accept(74625348,&error) returns tcb 63829482, error 4
TXCONN-TCP: (no memory) tcp_reset(63829482) returns 4
TXCONN-TCP-63528473: (open) tcp_create returns 63829482, error = 4
TXCONN-TCP-63528473: tcb_connect(63829482,1.2.3.4,2010) returns 4
TXCONN-TCP-63528473: (open error) tcp_reset(63829482) returns 4
TXCONN-TCP-63528473: tcp_create returns 63829482, error = 4
TXCONN-TCP-63528473: tcb_bind(63829482,0.0.0.0,2001) returns 4
TXCONN-TCP-63528473: tcp_listen(63829482,,) returns 4
TXCONN-TCP-63528473: (errors) Calling tcp_close (63829482)
Related Commands
Command Description
debug ip Displays debugging information related to TCP/IP communications.
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn all Displays all CTRC debugging information related to communications
with CICS.
debug txconn appc Displays APPC-related trace or error messages for communications
with CICS.
debug txconn config Displays trace or error messages for CTRC configuration and control
blocks for CICS communications.
debug txconn data Displays CICS client and host data being handled by CTRC, in
hexadecimal notation.
debug txconn event Displays trace or error messages for CTRC events related to CICS
communications.
debug txconn timer Displays performance information related to CICS communications.
show debugging Displays the state of each debugging option.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, debugging is not enabled for the txconn subsystem.
Command History
Release Modification
12.0(5)XN This command was introduced.
Examples
The following example shows turnaround time and host response time in milliseconds for a CICS
transaction requested through CTRC. Turnaround time is measured from when CTRC receives the
first request packet for the transaction until CTRC sends the last response packet of the transaction
to the client. Host response time is measured from when CTRC sends the last request packet for a
transaction to the host until CTRC receives the first response packet from the host for that
transaction.
Router#debug txconn timer
TXConn timer debugging is on
00:04:14: TXTrans(id:622F4350 conn:62175024 addr:1) Turnaround Time = 4536(msec)
HostResponseTime = 120(msec)
Related Commands
Command Description
debug snasw Displays debugging information related to SNA Switching Services.
debug txconn all Displays all CTRC debugging information related to communications
with CICS.
debug txconn appc Displays APPC-related trace or error messages for communications
with CICS.
debug txconn config Displays trace or error messages for CTRC configuration and control
blocks for CICS communications.
debug txconn data Displays CICS client and host data being handled by CTRC, in
hexadecimal notation.
debug txconn event Displays trace or error messages for CTRC events related to CICS
communications.
debug txconn tcp Displays error messages or traces for TCP/IP communications with
CICS.
show debugging Displays the state of each debugging option.
Error Messages
Error Message
%CTRC-3-APPCVERB: Unexpected APPC error: opcode [hex], primary code [hex],
secondary code [hex]
Explanation An unexpected APPC error occurred. CTRC uses APPC API calls to SNASw to
communicate with the remote host. Opcode identifies the APPC API call that received the error.
Primary and secondary return codes are returned by the APPC API.
Recommended Action This message usually indicates a problem in the SNA network. Use the
dbconn ping command to test connectivity to a remote database server. Use the txconn ping
command to test connectivity to a remote CICS system. If the ping fails, check the status of the SNA
link to the remote host with the show snasw link command. If the link is active then stop and start
the link. If the problem persists, contact your SNA network administrator for help in
troubleshooting. If the message recurs, copy the error message exactly as it appears on the console
or in the system log, call the Cisco TAC and provide the representative with the gathered
information. If possible, also provide the output of the debug dbconn appc command (for a
database connection) or the debug txconn appc command (for a CICS connection), and an SNA line
trace between the router and the remote host for the period during which this message appeared.
Error Message
%CTRC-3-SNASWNOTSTARTED: SNASW is not started -- unable to connect to
remote host.
Explanation A client connected to a CTRC server, but CTRC was unable to connect out to the
remote host because SNASw is not started. CTRC uses SNASw to connect to the remote host. You
must start SNASw before CTRC clients attempt to connect.
Recommended Action Start SNASw and retry the client connection.
Error Message
%CTRC-3-SNASWSTOPPED: SNASW was stopped -- existing connections have been
closed.
Explanation SNASw was stopped while CTRC connections were open. Stopping SNASw caused
all open SNA connections to the remote host to be lost. As a result, all client connections were
disconnected. You should not stop SNASw while there are open CTRC connections.
Recommended Action Restart SNASw. Disconnected clients must reconnect.
Error Message
%TXCONN-3-BADLICENSEKEY: Bad license key configured for Transaction
Connection.
Explanation The license key configured with the txconn license configuration command is not
valid.
Recommended Action Check that the license key was entered correctly in the txconn license
configuration command. Refer to the txconn feature documentation for information on how to obtain
a valid license key.
Error Message
%TXCONN-3-BADMODE: Unknown mode ’[chars]’ configured for server [chars]
Explanation The mode configured for the txconn server was rejected by the remote host.
Recommended Action Contact your SNA network administrator to determine the correct name of
the mode to use to connect to the remote host.
Error Message
%TXCONN-3-BADRLU: Bad remote LU ’[chars]’ configured for server [chars]
Explanation The remote LU configured for the txconn server is incorrect.
Recommended Action Contact your SNA network administrator to determine the correct name of
the remote LU for the remote host. Be sure to check that the SNA network name is correct as well
as the LU name.
Error Message
%TXCONN-3-INVALIDTRANS: Bad Transaction ID, flushing out request for client
[int] connected server [chars], killing connection.
Explanation Bad input stream.
Error Message
%TXCONN-3-NOSESSION: Out of resource, cannot create transaction for client
[int] connected server [chars], killing connection.
Explanation The router is out of memory.
Error Message
%TXCONN-5-CONNIDLETIMEOUT: Client [int] connected to server [chars] has
timed out after %TE.
Explanation The client was idle for too long, and the idle timeout configured for the txconn server
expired.
Recommended Action This is an informational message only. No action is required.
Error Message
%TXCONN-5-SECFAIL: APPC security failed, client [int] using userid
’[chars]’ for server [chars]
Explanation The userid or password passed in by the client were rejected by the remote host.
Error Message
%TXCONN-5-TARGETDOWN: CICS server [chars] has become unavailable. Recovery
is in progress.
Explanation A CICS server for a configured destination has become unavailable. All client
connections to this server will be rejected until it becomes available again.
Recommended Action This is an informational message only. No action is required.
Error Message
%TXCONN-5-TARGETUP: CICS server [chars] is now available.
Explanation A CICS server that was previously unavailable has become available. All client
connections to this server will now be accepted.
Recommended Action This is an informational message only. No action is required.
Error Message
%TXCONN-5-TRANSIDLETIMEOUT: Transaction [hex] of Client [int] connected to
server [chars] has timed out after %TE.
Explanation The transaction was idle for too long, and the idle timeout configured for the txconn
server expired.
Recommended Action This is an informational message only. No action is required.
Error Message
%TXCONN-3-TXEXCEPTION: Error occurred from transaction [hex] of client
[int] connected to server [chars], exception type is [dec]
Explanation An unexpected transaction error occurred.
Recommended Action Copy the error message exactly as it appears on the console or in the
system log, call the Cisco TAC, and provide the representative with the gathered information. If
possible, also provide the output of the debug txconn data command and an SNA line trace between
the router and the remote database server for the period during which this message appeared.
Error Message
%TXCONN-3-UNEXPECTEDREQ: Unexpected client data, flushing out the request
for client [int] connected server [chars].
Explanation Bad input stream.
Glossary
“See cross references”. For example: Advanced Program-to-Program Communications—See
APPC.
APPC—Advanced Program-to-Program Communications. An implementation of the SNA/SDLC
LU6.2 protocol that allows interconnected systems to communicate and share the processing of
programs.
APPN—Advanced Peer-to-Peer Networking. An extension to SNA featuring greater distributed
network control that avoids critical hierarchical dependencies, thereby isolating the effects of single
points of failure. APPN also features dynamic exchange of network topology information to foster
ease of connection, reconfiguration, and adaptive route selection, dynamic definition of network
resources, and automated resource registration and directory lookup.
CDBC—Cisco Database Connection. Prior to the introduction of CTRC, CDBC provided ODBC
client applications with access to data in DB2 databases.
CEDA—A CICS-supplied transaction that lets you update the CICS system definition or define
resources for your CICS system while the system is running.
CICS—IBM’s Customer Information Control System. An online transaction monitoring system.
Available versions include CICS for OS/390, CICS/ESA, CICS/400, and TXSeries.
CTRC—Cisco Transaction Connection. Router software that provides ODBC client applications
with connectivity to DB2 databases, and that provides CICS client applications with connectivity to
CICS transaction monitoring systems.
DB2—IBM relational database management system. Available versions include DB2 for
MVS/ESA, DB2 for OS/400, DB2 Parallel Edition, and DB2 for VSE and VM.
DDM—Distributed Data Management Architecture. An IBM architected data management
interface used for data interchange among like or unlike systems. DRDA is based on DDM,
describing the content of and restrictions on DDM flows related to relational database management.
DRDA—Distributed Relational Database Architecture. A connection protocol for distributed
relational database processing that is used by IBM's relational database products.
ECI—external call interface. Allows a non-CICS client program to call a CICS transaction. The
client application communicates with the program in the CICS server using a COMMAREA.
EPI—extended presentation interface. Interface suitable for distributed applications that call CICS
transactions that were originally accessed via 3270 terminals.
ISC—intersystem communication protocol. Used to interconnect CICS with other CICS and IMS
regions. ISC protocol is also used by IBM Common Client and Microsoft COMTI client software to
communicate with CICS and IMS. ISC protocol supports transaction routing, function shipping, and
distributed program link. Of these three functions, CTRC implements transaction routing and
distributed program link.
ODBC—Open Database Connectivity. A call-level interface developed by Microsoft Corporation
that allows a single application to access database management systems from different vendors using
a single interface.
SNA—Systems Network Architecture. A large, complex, feature-rich network architecture
developed by IBM.
SNA Switching Services—Cisco software that replaces Cisco’s APPN offering. SNA Switching
Services is an enhancement to the original IBM SNA architecture. It handles session establishment
between peer nodes, dynamic transparent route calculation, and traffic prioritization for APPC
traffic.
TCP/IP—Transmission Control Protocol/Internet Protocol. Common name for the suite of
protocols developed by the U.S. Department of Defense in the 1970s to support the construction of
worldwide internetworks. TCP and IP are the two best-known protocols in the suite.