Configuring remote Client application environments

The files required for compiling and running applications on a client machine are installed with CICS® Transaction Gateway and must be copied to the client machine.

Java Client applications

The Java™ Virtual Machine (JVM) uses the CLASSPATH environment variable to find classes and zip or jar archives containing classes. To allow the JVM to access class files, specify the full path of directories containing class files or archives.

To compile and run Java applications on a client machine, add the full path of ctgclient.jar to the CLASSPATH environment variable. This archive is in the <install_path>/classes directory. The JEE resource adapters are in the <install_path>/deployable directory.

You must use a supported version of Java for running Java Client applications, a supported version of Java is provided on the CICS Transaction Gateway DVD, or as part of the product download.

C Client applications

The files required for compiling and running C applications on a client machine are in the ctgredist.tar.gz package on UNIX and Linux or the ctgredist.zip package on Windows, these are found in the <install_path>/deployable directory. Copy the package to the client machine before extracting.

To compile ECI version 2 C applications on a Windows client machine you must include the files ctgclient_eci.h, ctgclient.h, and ctgclient.lib in your C build environment. To run the applications ctgclient.dll is required in the path.

To compile ECI version 2 C applications on a UNIX and Linux client machine you must include the files ctgclient_eci.h, ctgclient.h and libctgclient in your C build environment. To run the applications the shared object libctgclient is required in the library path.

For information on building the supplied sample programs see Sample programs.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//ctgzos/figprog.html