C H A P T E R  3

Language and Third-Party Product Support

This chapter describes issues related to the various languages supported by Sun MTP. It also includes information about some popular third-party products. The main topics are:


Language Support Information

See Qualified Compilers and Third-Party Software for information about supported versions.

Java Applications

A system performance enhancement changes how Java support is enabled for a region. Now, you must explicitly set the following environment variable before starting the region. For example, in your region setup file set:

KIX_ENABLE_JAVA=YES;export KIX_ENABLE_JAVA

The environment variable KIX_ENABLE_JAVA enables the use of Java programs in the region. Setting it to YES causes the Java Virtual Machine (JVMtrademark) to be loaded into the transaction processors.

Do not use the older KIX_DISABLE_JVM environment variable. If it is set, it will be ignored.

COBOL Applications

This section contains information you need when using Micro Focus Server Express.

Working Mode

Server Express must run in 32-bit mode to interface with Sun MTP.

The Sun Mainframe Transaction Processing Software Installation Guide contains the following changes:

In Chapter 3, in the section "To Create a Setup File," Step 6 indicates that COBOL must run in 32-bit mode, and shows how to set the COBMODE environment variable.

Also in Chapter 3, in the section "To Prepare Your Environment," has been modified to include information about verifying that the COBOL working mode is 32-bit, and setting your environment to ensure that the working mode is 32-bit.

Server Express Licensing

If the Sun MTP region uses Server Express COBOL programs, you need to acquire application server (runtime) licenses that are transactable. This type of license ensures that there is no contention for a free license when a process using COBOL terminates.

Liant Open PL/I Applications

For the Liant PL/I CodeWatch debugger to function correctly, the unikixtran executable that is created when you build Sun MTP using the kixinstall utility must be located in either the $UNIKIX/local/bin or the $UNIKIX/bin directory.

C Applications

Sun MTP requires the C language package provided by the operating system vendor to be installed. On Solaris, the package is typically /opt/SUNWspro.

To verify that your path points to the correct C compiler, type the following command:

$ which cc

If the command returns a directory path that points to a non-Sun C compiler, such as GNU or UCB (Berkeley), for example, /usr/ucb/cc, the kixinstall process will terminate. You must add the location of the Sun C compiler to the beginning of your PATH statement. For example:

PATH=/opt/SUNWspro/bin:$UNIKIX/local/bin:$UNIKIX/bin:$PATH;export PATH

C++ Applications

The Sun MTP application run unit is built using the C compiler and loader. If an application program is written in C++, you must use the C++ compiler (usually the CC command), and the required loader to build shared objects that can be loaded by the transaction servers. The include files in the $UNIKIX/src/CICS_structures directory are the same for both C and C++ programs.

For example, to build a C++ shared object from the acct00.ccs program, execute the following commands:

$ kixclt acct00.ccs
$ CC -Bdynamic -Kpic -c -Xt -I$UNIKIX/src/CICS_structures -o acct00.o acct00.c
$ ld -G -o acct00.so acct00.o


Third-Party Products

See Qualified Compilers and Third-Party Software for information about supported versions.

TPS PU4/5 Server

Sun MTP supports the PU4/5 server product from TPS. This product is a replacement for the Brixton PU4/5 server. The TPS PU4/5 server is supported for Ethernet connections. Refer to the Sun Mainframe Transaction Processing Software Configuration Guide.

WebSphere MQ

The kixinstall utility enables the user to select client or server libraries when selecting MQ. Now, on the Third Party Packages screen, if you select option 1, MQSeries, you are prompted to choose either client or server libraries.

Sybase

A Sun MTP region connecting to a Sybase database can only provide Sybase interface support for either COBOL or C. If you need to access a Sybase database from both C and COBOL programs, you must create two regions, one for C and one for COBOL.

Oracle

Sun MTP Release 8.0.1 supports the Oracle 9.2 client, and allows you to run the Oracle RDBMS on a C language-only platform.

You can now use the COBOL Oracle sample application with Oracle 9.2
32-bit, when 32-bit and 64-bit are installed.



Note - If both the 64-bit and 32-bit Oracle clients are installed, the default COBOL pre-compiler procob is 64-bit. The 32-bit version of the pre-compiler is procob32, which is the required pre-compiler for Sun MTP and Sun MBM.