Solved -execution of command did not complete successfully with exit code [255] - Informatica

A command task invokes a batch script which could be doing anything and has ECHO or REM statements. The workflow fails with the following error in workflow log:
LM_36623 : Command task instance [cmd_SFTP_command]: execution of command [Command1] did not complete successfully with exit code [99840]
Or
LM_36623 : Command task instance [cmd_SFTP_command]: execution of command [Command1] did not complete successfully with exit code [255]

Cause
This occurs when the batch script containing the SFTP connection contains REM and ECHO statements which causes the command task to fail. This is a known issue and CR 203903 exists.
Solution
To run the task remove the REM and ECHO statements from the batch script and start the batch script from the command task.


refer the below link

https://kb.informatica.com/solution/12/Pages/105547.aspx

No comments:

Post a Comment

Limitations of Pushdown Optimization - PDO

Limitations of Pushdown optimization. Source and Target and Lookups must be in same database server for full Pushdown. Expressions w...