Installing BEA Connect TCP for IMS consists of the following basic tasks:
How to Install BEA Connect TCP for IMS
Allocate the following datasets to receive the BEA Connect TCP for IMS distribution files (hlq1 and hlq2 are dataset name high-level qualifiers appropriate to your installation):
Allocate the following run-time datasets for use by the BEA Connect TCP for IMS BMP (hlq1 and hlq2 are dataset name high-level qualifiers appropriate to your installation):
DSNAME: hlq1.hlq2.CONTROL
DSORG: PO
DIRBLKS: 10
RECFM: FB
LRECL: 80
BLKSIZE: 23440 (or other valid blocksize)
SPACE: 1 cylinder
Usage: IMS sample definitions, sample configuration file DSNAME: hlq1.hlq2.INCLUDE
DSORG: PO
DIRBLKS: 10
RECFM: FB
LRECL: 80
BLKSIZE: 23440 (or other valid blocksize)
SPACE: 1 cylinder
Usage: C header file, COBOL copybooks DSNAME: hlq1.hlq2.JCL
DSORG: PO
DIRBLKS: 10
RECFM: FB
LRECL: 80
BLKSIZE: 23440 (or other valid blocksize)
SPACE: 1 cylinder
Usage: Job Control Language DSNAME: hlq1.hlq2.OBJECT
DSORG: PO
DIRBLKS: 10
RECFM: FB
LRECL: 80
BLKSIZE: 3200
SPACE: 1 cylinder
Usage: Component object files DSNAME: hlq1.hlq2.SOURCE
DSORG: PO
DIRBLKS: 10
RECFM: FB
LRECL: 80
BLKSIZE: 23440 (or other valid blocksize)
SPACE: 1cylinder
Usage: Sample IMS client and server transactions DSNAME: hlq1.hlq2.LOAD
DSORG: PO
DIRBLKS: 10
RECFM: U
LRECL: 0
BLKSIZE: 6133 (or other valid blocksize)
SPACE: 1 cylinder
Usage: Load library DSNAME: hlq1.hlq2.CONFIG
DSORG: PS
RECFM: FB
LRECL: 80
BLKSIZE: 23440 (or other valid blocksize)
SPACE: 1 cylinder
Usage: Configuration File DSNAME: hlq1.hlq2.MSGLOG
DSORG: PS
RECFM: VB
LRECL: 1028
BLKSIZE: 6144 (or other valid blocksize)
SPACE: 1 cylinder
Usage: Message Log DSNAME: hlq1.hlq2.SVRLOG
DSORG: PS
RECFM: VB
LRECL: 32756
BLKSIZE: 32760 (Note: required blocksize)
SPACE: 1 cylinder
Usage: Server Response Log
/cdrom/unixmf where /cdrom is the directory where the drive is mounted.
D:\ntmf where D: is the CD-ROM drive.
The previous directory structures include the following sub-directories:
Because the distribution files are located on a CD-ROM, you will probably use a UNIX-based system or a PC-based system to access the files on the CD-ROM and file transfer them to MVS.
You must transfer the contents of each subdirectory to the corresponding distribution library on the MVS system. You can do this by using a file transfer program (such as FTP) or any other mechanism that allows you to transfer files to your MVS system. The file transfer program must have the following capabilities:
The IBM File Transfer Program (FTP, distributed as part of TCP/IP for MVS) satisfies both of these requirements.
Each file in each subdirectory on the distribution CD-ROM corresponds to a member of the associated target library. For example, file BEATCPI in the JCL subdirectory corresponds to member BEATCPI in the JCL distribution library.
Note:
All files in the CONTROL, INCLUDE, JCL, and SOURCE subdirectories are text files; be sure to specify text (or ASCII) mode when you transfer these files from the CD-ROM to their corresponding MVS distribution library members.
All files in the OBJECT subdirectory are binary files; you must specify binary (or image) mode when you transfer these files from the CD-ROM to the corresponding MVS distribution library members.
The BEA Connect TCP for IMS BMP is a pre-linked object file.
Use the LNKBMP31 JCL file for linking with IBMs TCP/IP V3R1 product or Interlink's TCP Access Version 4.1 product. Use the LNKBMP31 JCL to run IBMs TCP/IP V3R2 using IUCV.
Use the LNKBMP JCL file for linking with IBM's TCP/IP V3R2 HPNS product.
You will need to tailor the JCL as required to match your installation's standards and naming conventions. Review the following items and make the necessary changes before you submit the job:
Note:
The link job references components supplied by LE/370, TCP/IP for MVS, and IMS.
When the job completes successfully, you will receive a return code of 0 from the link-edit steps and an executable load module (the BEA Connect TCP for IMS BMP) will be placed into the specified target load library. The load module should have attributes of AMODE=31, RMODE=24. There should be no unresolved external references.
In order to integrate BEA Connect TCP for IMS into your IMS environment, you must properly define it to IMS. Member BEATCPI in the CONTROL distribution library contains the required IMS definitions, including the appropriate APPLCTN, TRANSACT, PCB, and PSBGEN macros. These definitions should be furnished to an IMS systems programmer who will include them in the overall IMS system definition. The APPLCTN and TRANSACT definitions are included as part of the input to an IMS Stage 1 gen, while the PCB and PSBGEN definitions are processed as input to a subsequent PSB gen.
Use the definitions as supplied; do not make changes. In particular, note the following:
Once the required Stage 1 and PSB gens have been successfully completed, BEA Connect TCP for IMS should be defined to IMS.
Any BEA Connect TCP for IMS Client and Server transactions that you write must also be properly defined to IMS. In general, BEA Connect TCP for IMS imposes no special requirements on these definitions, so you define them exactly as you would any IMS transaction. In order to communicate with BEA Connect TCP for IMS through the IMS Message Queue, however, user-written Client and Server transactions must be defined with a modifiable Alternate PCB.
BEA Connect TCP for IMS makes use of a text configuration file which is read and processed during initialization to establish the configuration. Any text editor (such as the ISPF Editor) can be used to create the configuration file. Member CONFIG in the CONTROL distribution library is a sample configuration file which you may use as a starting point for creating a configuration file tailored to your particular installation. Refer to Chapter 4, "Configuring BEA Connect TCP for IMS," for detailed information on defining a configuration.
In general, a configuration file includes four basic sections:
System parameters control the overall operational environment of BEA Connect TCP for IMS. Because BEA Connect TCP for IMS cannot "wait" on the IMS Message Queue, the queue is periodically interrogated (polled) to determine if any new work has arrived (i.e., IMS Client requests or Server responses). The SleepTime parameter specifies the amount of time that BEA Connect TCP for IMS will "sleep" (wait) during idle periods before checking the IMS Message Queue for work. Refer to Chapter 4, "Configuring BEA Connect TCP for IMS," for information on how to specify the sleep time.
You must provide at least one GATEWAY TYPE=LOCAL statement to define access to your local (IMS) gateway by remote systems. In particular, this statement specifies:
The IP Address should be that of the MVS machine on which BEA Connect TCP for IMS will be running. You should specify a Port Number that is not a well-known port number and one that is not used by any other TCP/IP application. Make sure that remote systems are correctly configured with the corresponding IP Address, Port Number, Account ID (if used), and Password (if used). Otherwise, attempts by remote systems to connect to this gateway will fail.
GATEWAY TYPE=REMOTE statements define access to remote systems by the IMS gateway. In particular, each GATEWAY TYPE=REMOTE statement specifies:
The IP Address, Port Number, Account ID, and Password must match the configuration of the remote system. Otherwise, attempts to establish an outbound session with the remote system will fail.
If you specify a value other than zero for the minimum number of sessions, BEA Connect TCP for IMS will attempt to establish the specified number of outbound sessions with the remote system during initialization.
SERVICE TYPE=REMOTE statements define remote services to which BEA Connect TCP for IMS has access. Each statement specifies:
The Local Service Name is the name used by an IMS Client transaction to request the service. The Remote Service Name is the name of the service as defined on the remote system. These need not be the same, but note that the Remote Service Name must match the configuration of the remote system.
The remote system offering the service is identified by a Logical Machine ID, which must correspond to the Logical Machine ID specified in a GATEWAY TYPE=REMOTE statement.
The Time Limit (in seconds) specifies how long BEA Connect TCP for IMS will "wait" for a response to a request sent to a remote system before assuming that the request has "timed out" and that no response will be forthcoming. Specify a realistic value that makes a reasonable allowance for network latency and overall system load. Small values should be avoided because they may result in requests timing out under otherwise normal circumstances.
Note: It is permissible to have more than one SERVICE TYPE=REMOTE statement for the same (local) service name. When this is the case, each statement must identify a different remote Logical Machine ID. This allows BEA Connect TCP for IMS to "spread" requests for a particular service among multiple remote systems offering the service, thus balancing the load and improving overall throughput.
Place your completed configuration file in the configuration dataset (allocated in Step 1).
BEA Connect TCP for IMS is a standard, transaction-oriented IMS BMP (BMP Message Processing) program. IMS BMPs are submitted and run as ordinary batch jobs.
IMS normally supplies a cataloged procedure (PROC) for executing BMPs, and you should use the procedure supplied with your release of IMS, if available. Member BEATCPI in the JCL distribution library is a sample job for executing BEA Connect TCP for IMS and can be used as a reference when modifying the JCL supplied with your version of IMS.
When tailoring the JCL for your installation, pay particular attention to the following:
BEA Connect TCP for IMS is started by submitting the JCL prepared in Step 6. Before you attempt to start BEA Connect TCP for IMS for the first time, make sure that the proper IMS definitions are in place and that the BEA Connect TCP for IMS transaction code and PSB are defined and started (i.e., not stopped). Refer to Chapter 6, "Programming BEA Connect TCP for IMS," for information on starting BEA Connect TCP for IMS.
When you start BEA Connect TCP for IMS for the first time, you should do so in a controlled environment, using a small, simple configuration to methodically test the system to verify your installation and the configuration. Refer to Chapter 6, "Programming BEA Connect TCP for IMS," for additional information.