C Shell (csh & -csh) does not work with Java Unix agents
search cancel

C Shell (csh & -csh) does not work with Java Unix agents

book

Article ID: 402748

calendar_today

Updated On: 07-01-2025

Products

CA Automic Workload Automation - Automation Engine Automic SaaS CA Automic One Automation

Issue/Introduction

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 ***************************************************************************

Environment

Release: 21.x, 24.x

Component: Agent Unix. Agent Unix Java 

Cause

DE166172

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:

Component(s): Agent Unix, Agent Unix Java

  • Agent Unix Java: 21.0.14 - Available 
  • Agent Unix 24.4.1 - Available 
  • Agent Unix 24.5.0 (SaaS only) - Available 

Additional Information

Public Description: A problem has been fixed where the C Shell settings were not taken into account by the Java-based Unix-agent