Previous Topic: Tracing Problems

Next Topic: Parameter


Return Codes

For queued transfers, the return code indicates success or failure in queuing the transfer.

For non-queued transfers the return codes from XCOMTCP and XCOM62 are as follows:

0

Transfer successful

Non-zero

Transfer failed

The CA XCOM Data Transport return code is the same as the error message number, which is usually a three-digit number. In order to pass back the error message number, CA XCOM Data Transport must make sure the error code is 256 or less, because of system restrictions. To do this, CA XCOM Data Transport subtracts 256 from the error message number if it is greater than 256. In other words, the return code is modulo 256.

Example:

Message XCOMU0298E would give 42 as the return code (298 - 256 = 42).

Refer to $XCOM_HOME/api/include/xcomerr.h. These return codes are not modulo 256.

Note: $XCOM_HOME is an environment variable.