Forum Stats

  • 3,780,810 Users
  • 2,254,441 Discussions
  • 7,879,471 Comments

Discussions

ODI-30038: OS command returned 1. Error details are [The syntax of the command is incorrect.

User_XG491
User_XG491 Member Posts: 2 Green Ribbon
edited Nov 10, 2021 3:36PM in Data Integration

Hi All,

I have a package which decrypts the incoming encrypted (.pgp file) I'm using a OScommand component to call the gpg - q --batch - o <<outbound-file>> passphrase file <<inbound-file>>

the package is failing in OSCommand with below error

ODI-30038: OS command returned 1. Error details are [The syntax of the command is incorrect.


Now when I hardcode the the parameter and run the above Unix command from the backend (unix box) it is executing fine and decrypting the file successfully. I'm not sure what is the miss here. Could you anyone please help me fix this issue.