Could not find Command type program
search cancel

Could not find Command type program

book

Article ID: 259506

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

How to fix the following error which is preventing the job to run correctly and yield the expected results?

awexe RUNNING return 0
disk_space=84678684672
Oracle sid set to oraprod 
Could not find Command type program D:\app\Automic\Master\exec\abc.bat 
end of D:\app\Automic\Master\exec\BODY2.BAT status 1 
set was unexpected at this time.

Environment

Release: 9.x

Resolution

There are two ways that customers have resolved this:

Making sure that the correct environment variables are in place will resolve the problem to yield the expected results.

Checking that the program type is set up correctly.  For example, if AWSHELLS is used, this points to the \shells directory and host command SHELLS on windows, but the setup for APPWORX_SHELLS may fit better which has the command path \exec and host command bats.bat.