The WCC display doesn't seem to show failed jobs in job run

Document ID : KB000044071
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem

The WCC display doesn't seem to show failed jobs in job run

Environment:

Workload Automation AE 11.3.6 SP4

WCC 11.4 SP3

 

 Cause:

The command was specified as c\:\demo\sleep1.exe

The job was failing with the error “CAWA_E_20015 Command/Script not found.Error code: 20007 “

The process was not created since the file was not found. Hence there was no job run for the failed job. 

 

Resolution:

There is a configuration named “oscomponent.cmdprefix.force” in the agentparm.txt. If the parameter is set to true in windows it indicates that the agent submits the command using cmd.exe. The command is prefixed with "cmd /c" to allow built-in commands such as dir and echo to execute properly. 

This is a default entry in the agentparm.txt when you install the agent in AutoSys compatibility mode. 

Additional Information:  

https://docops.ca.com/ca-wla-agents/1134/en/reference/ca-wa-agent-for-unix-linux-windows-or-i5-os-reference-information/ca-wa-agent-for-unix-linux-windows-or-i5-os-agent-parameters