CICS + Linux + Oracle 环境搭建2

CICS + Linux + Oracle 环境搭建

10. 触发交易

[root@ceshi cics_app]# cicslterm vt100 keys

ERZ011060I/3710: Searching for available regions. Please wait. ERZ011102I/4321: Searching for regions on ‘ceshi’

Available CICS Regions

Move cursor to desired item and press

[TOP]

test Region Definition

[BOTTOM]

PF2=Refresh PF3=Cancel PF7=Backward PF8=Forward PF9=Shell PF10=Exit Enter=Select

成功返回 This is a test

11. 安装CTG

[root@ceshi v81]# pwd

/root/TXSeries_Install/ctg/v81

[root@ceshi v81]# ls -lrt total 233224

-rw-r–r– 1 11889 11889 15108 Oct 25 2011 readme.txt -rwxr-xr-x 1 11889 11889 119268040 Oct 25 2011 installer

-rw-r–r– 1 root root 119285760 Oct 21 11:55 CICS_TG_V8.1_FR_LINUX_ON_I_EIMAGE.tar [root@ceshi v81]# [root@ceshi v81]#

[root@ceshi v81]# ./installer

Preparing to install…

Extracting the JRE from the installer archive… Unpacking the JRE…

Extracting the installation resources from the installer archive… Configuring the installer for this system’s environment…

Launching installer…

Graphical installers are not supported by the VM. The console mode will be used instead…

=============================================================================== Select Language —————

1- Deutsch ->2- English

3- Espa帽ol 4- Fran莽ais 5- Italiano

Select language by number: 2

=============================================================================== IBM CICS Transaction Gateway for Multiplatforms (created with InstallAnywhere) ——————————————————————————-

Preparing CONSOLE Mode Installation…

=============================================================================== Introduction ————

InstallAnywhere guides you through the installation of IBM CICS Transaction Gateway for Multiplatforms V8.1.0.0.

It is strongly recommended that you quit all programs before continuing with this installation.

Respond to each prompt to proceed to the next step in the installation. If you want to change something on a previous step, type ‘back’.

You can cancel this installation at any time by typing ‘quit’.

PRESS TO CONTINUE:

===============================================================================

International Program License Agreement

Part 1 – General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON AN

\ THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCEPTING THESE TERMS ON BEHALF OF LICENSEE, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND LICENSEE TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS,

– DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN \ OR USE THE PROGRAM; AND

– PROMPTLY RETURN THE UNUSED MEDIA, DOCUMENTATION, AND PROOF OF

ENTITLEMENT TO THE PARTY FROM WHOM IT WAS OBTAINED FOR A REFUND OF THE AMOUNT PAID. IF THE PROGRAM WAS DOWNLOADED, DESTROY ALL COPIES OF THE PROGRAM.

Press Enter to continue viewing the license agreement, or enter \

accept the agreement, \ to the previous screen.: 1

=============================================================================== Pre-Installation Summary ————————

Please Review the Following Before Continuing:

Product Name:

IBM CICS Transaction Gateway for Multiplatforms V8.1.0.0

Install Folder:

/opt/ibm/cicstg

Disk Space Required: 174 MB

Disk Space Available: 175,398 MB

PRESS TO CONTINUE:

=============================================================================== Installing… ————-

[==================|==================|==================|==================] [——————|——————|——————|——————]

=============================================================================== Installation Complete ———————

IBM CICS Transaction Gateway for Multiplatforms has been successfully installed to:

/opt/ibm/cicstg

You can configure your installation of IBM CICS Transaction Gateway for Multiplatforms using the configuration tool.

PRESS TO EXIT THE INSTALLER:

12. 配置CICS监听器【使得CTG可以连接CICS】

在/etc/services文件增加一行设置对应的端口号:cics11435 11435/tcp

[root@ceshi ~]# cicsadd -c ld -r test LI1 Protocol=TCP TCPAddress=\TCPService=\[root@ceshi ~]#

重新启动CICS,console日志有下列信息,说明配置成功

SERVICE_MESSAGE 10/22/14 15:35:06.921774000 test 17061/0001 : Address(‘192.168.10.249’) and Family (‘any’) resolved to ‘1’ address. [ 192.168.10.249]

ERZ044008I/0009 10/22/14 15:35:06.922549000 test 17061/0001 : CICS listener ‘LI1’ process ‘cicsip’ started for ‘ 192.168.10.249 [11435]’

上述命令会修改 /var/cics_regions/test/database/LD/LD.stanza配置文件

13. 配置CTG client demaon

[root@ceshi bin]# cp /opt/ibm/cicstg/samples/configuration/ctgsamp.ini /opt/ibm/cicstg/bin [root@ceshi bin]# ls -lrt total 1984

-rwxr-xr-x 1 root root 135031 Oct 24 2011 libctgjni.so -rwxr-xr-x 1 root root 135031 Oct 24 2011 libctgjni_g.so -rwxr-xr-x 1 root root 26147 Oct 24 2011 libctgjni_64.so -rwx—— 1 root root 25401 Oct 24 2011 ctguninst -rwxr-xr-x 1 root root 9568 Oct 24 2011 ctgsymlinks -rwxr-xr-x 1 root root 39564 Oct 24 2011 ctgsu -rwxr-xr-x 1 root root 42634 Oct 24 2011 ctgstart

-rwxr-xr-x 1 root root 25892 Oct 24 2011 ctgmsgsetup -rwxr-xr-x 1 root root 46160 Oct 24 2011 ctgmsgs -rw-r–r– 1 root root 177699 Oct 24 2011 ctgmsg.hlp -rw-r–r– 1 root root 66842 Oct 24 2011 ctglog.hlp -rwxr-xr-x 1 root root 23770 Oct 24 2011 ctgdiag -rwxr-xr-x 1 root root 29042 Oct 24 2011 ctgd -rwxr-xr-x 1 root root 32311 Oct 24 2011 ctgcfg -rwxr-xr-x 1 root root 31047 Oct 24 2011 ctgadmin

以下文章点击率最高

Loading…


发表评论

电子邮件地址不会被公开。 必填项已用*标注