Is there is a way to integrate Java applications with CA XCOM Data Transport r11 for UNIX? How do I get a return code?

Document ID : KB000052191
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The CA XCOM API does not support JAVA. How to call CA XCOM r11 from JAVA and get a return code.

Solution:

CA XCOM r11 does not provide its own JAVA objects.

To use CA XCOM with Java:

  • Call XCOMTCP from a Java class
  • Issue the proper XCOMTCP command to the shell.
    For example: Use "start java_appl arg1 arg2 arg3 ...."
  • To get the return code, make a call to XCOMQM call after the XCOMTCP call.

Restrictions:
This will not run if the XCOM trace is enabled.