U00020554 Data sequence couldn't be written into a file. Agent 'HOSTG.xxxx' isn't active at the moment.
search cancel

U00020554 Data sequence couldn't be written into a file. Agent 'HOSTG.xxxx' isn't active at the moment.

book

Article ID: 87877

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
U00020554 Data sequence couldn't be written into a file. Agent 'HOSTG.xxxx' isn't active at the moment


A Job or Script fails when WRITE_PROCESS use a HostGroup or AgentGroupĀ 

example:
:SET &RET# = WRITE_PROCESS(&HND#,"C:\temp\export.txt",HOSTG.HOSTS,@AUTOMIC_LOGINS,OVERWRITE)

where HOSTG.HOSTS is a host group.

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Cause

Cause type:
By design
Root Cause: Write_Process does not support AgentGroup/HostGroup

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Fix Version(s):
n/a

Additional Information

Workaround :
Use a Host, or a VARA that holds a list of hosts, then retrieve it using a key (key can be client, client+system_name, etc)In the example below, the client number is the key.:set &client# = &$client# :set &client# = format(&client#) :print client is &client# :SET &HOSTVALUE# = get_var(VARA.HOSTS,&client#) :SET &HND# = PREP_PROCESS_FILENAME("VWASWV11U02_OS_01","C:\automic\v112u\automationengine\bin\*.exe",,,,"COL=DELIMITER","DELIMITER=*\*","[email protected]_LOGINS") :SET &RET# = WRITE_PROCESS(&HND#,"C:\temp\export.txt",&HOSTVALUE#,@AUTOMIC_LOGINS,OVERWRITE)