Unable to stack commands in prod

Document ID : KB000101390
Last Modified Date : 13/06/2018
Show Technical Document Details
Issue:
Unable to stack commands in job definition. The agent disregards everything that follows the semicolon (;) or pipe symbol (|).
Environment:
All UNIX/Linux OS platforms.
Cause:
It is possible that the agent is of an older release where the stacking of commands is not supported.
Resolution:
There are a few resolutions to this issue.
  • Ensure that the agent is at a supported release (at least 1.3 SP4). If it is not, upgrade the agent and retry the job
  • Precede the command string with sh -c┬áThis instructs the agent to launch a separate shell which would process the command string in its entirety.