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
:SET &RET# = WRITE_PROCESS(&HND#,"C:\temp\export.txt",HOSTG.HOSTS,@AUTOMIC_LOGINS,OVERWRITE)
where HOSTG.HOSTS is a host group.
Root Cause: Write_Process does not support AgentGroup/HostGroup
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
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=*\*","UC_LOGIN=@AUTOMIC_LOGINS") :SET &RET# = WRITE_PROCESS(&HND#,"C:\temp\export.txt",&HOSTVALUE#,@AUTOMIC_LOGINS,OVERWRITE)