:WRITE_PROCESS fails with: no agent specified
search cancel

:WRITE_PROCESS fails with: no agent specified

book

Article ID: 190783

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Job fails with FAULT_POST_PROCESSING - error in post processing.

Error:U00020553 Runtime error in object 'JOBNAME' line '00041': no agent specified

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Cause

Configuration. Scripting.

Resolution

The script contained a :WRITE_PROCESS command and the agent specified was evaluated doing a :PREP_PROCESS_AGENTGROUP which contained agent names that did not exist on this Automic system since the agent group object was imported from another system.

:set &agent_hnd# = prep_process_agentgroup(HOSTG.NAME)
:process &agent_hnd#
:  set &agent# = get_process_line(&agent_hnd#,1)
:set &write# = write_process(&c_hnd#,"&file#",&agent#,&login#)