SDF return codes
Every SDF task ends with a return code (RC) that indicates whether it was successful or failed. A
failed task can be restarted after the reason for the failure was corrected. The SDF return codes
are:
- Code
- Description
- 0
- The SDF import or export task completed successfully. Note: When importing messages to a remote target queue, even though the import task ends with return code 0, the messages might be still in the transmission queue and not yet delivered to the target queue.
- 4
- A problem was detected while checking the SDF parameters, for example:
- A mandatory parameter is missing.
- The input file does not exist.
- The input file exists, but -replace option no specified.
- File or directory access limitations like read-only attribute on target directory.
- The SDF control queue is already in use.
- 8
- An error occurred during SDF processing, for example:
- An IBM® MQ service exception (for example, a failed attempt to browse, get, or put a message)
- The sequential output data space was exhausted or any file handling error.
- Configuration data could not be retrieved or FTM SWIFT services returned failures.
- Restart processing failed because of missing restart information.
- 12
- A severe error occurred during processing. Severe errors typically block the task and require
deeper analysis of the problem such as:
- Not enough memory was available. Adjust the JVM memory parameters as appropriate. For example, to set the memory maximum to 96MB, use -Xmx96m as JVM option.
- An unexpected exception of an underlying service (IBM MQ, file system, Operating system) occurred.