IBM Support

Adapterreturn="-6" Error Executing Command (Return Code 255) error when running batch adapter

Troubleshooting


Problem

Adapterreturn="-6" Error Executing Command (Return Code 255) error displayed in audit log file when running batch adapter. Problem occurs intermittently.

Cause

The commands within the batch file do not contain absolute path names.

Resolving The Problem

Change path names referring to executable files or data files to include the full path name.

For example, change the following command within a batch from:

gpg --list-keys

to:

c:\GnuPG\gpg --list-keys

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Batch File Adapter","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.4;8.3;8.2;8.1","Edition":"US","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Ascential DataStage TX Mercator

Document Information

Modified date:
16 June 2018

UID

swg21243458