It appears that the Java Based Unix agents are unable to start the shell if it is C-Shell (csh/ -csh).
The regular C based Unix agents does seem to work in the given scenario
Job settings:
1) UNIX --> Shell --> C-Shell(csh)
2) PROCESS -->
setenv AUTOMIC /opt/automic/utility
echo $AUTOMIC
3) Execute the job
C-based agent job report:
*************************************************************************** /opt/automic/utility ***************************************************************************
Java-Based agent report:
***************************************************************************
/opt/automic/Agents/linux/temp/JAAOLYAG.TXT.sh: line 4: setenv: command not found ***************************************************************************
Release: 21.x, 24.x
Component: Agent Unix. Agent Unix Java
DE166172
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Agent Unix, Agent Unix Java
Public Description: A problem has been fixed where the C Shell settings were not taken into account by the Java-based Unix-agent