Users on WA Agent R11.5 may see that shell defined in the script is ignored by the agent.
#!/bin/ksh
cat /proc/$$/cmdline
Release : 11.5
Component : CA Workload Automation System Agent
There is a known issue in 11.5 agent which is fixed in the release 12.0/12.1
The workaround is to use the SHELL parameter in the job definition.
For example
shell: /bin/ksh