ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Job Fails With "Error changing directory"


Article ID: 225438


Updated On:


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


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


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.


Release : 11.3/11.4/11.5/12.0

Component : CA Workload Automation System Agent


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.