Job Fails With "Error changing directory"
search cancel

Job Fails With "Error changing directory"

book

Article ID: 225438

calendar_today

Updated On:

Products

Autosys Workload Automation CA Workload Automation AE - System Agent (AutoSys)

Issue/Introduction

A command job fails with a message that reads "Error changing directory...". 

Environment

Release : 11.3/11.4/11.5/12.0

Component : CA Workload Automation System Agent

Cause

In the agentparm.txt file, the parameter oscomponent.initialworkingdirectory specifies the working directory. This error can occur when a user who does not have a home directory runs a job with oscomponent.initialworkingdirectory set to USER.

Resolution

Edit the agentparm.txt file and set the oscomponent.initialworkingdirectory parameter value to "USER_CONT_NOT_AVAIL". This value allows the agent to continue running the job if the job owner does not have a home directory. Restart the agent after making the change.

NOTE: This parameter value is only available in Agent version 11.3 SP4 and higher.