Error in Windows-Agent: U02001012 Could not create log file ''. Error code '3', error description: '3 - The system cannot find the path specified.
search cancel

Error in Windows-Agent: U02001012 Could not create log file ''. Error code '3', error description: '3 - The system cannot find the path specified.

book

Article ID: 188210

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When executing an 'Event Job' a message is written to the log file indicating an error, where there actually is no error.

The behavior shows up when executing a script like the following

:SET &command# = 'dir'
:SET &hnd# = PREP_PROCESS("WIN_AGENT","WINCMD",,"CMD=&command#","UC_LOGIN=LOGIN_OBJECT")
:PROCESS &hnd#
:  SET &tmp# = GET_PROCESS_LINE(&hnd#)
:  PRINT &tmp#
:ENDPROCESS
:CLOSE_PROCESS &hnd#

The script is executed correctly, but the following error is wrongly written to the agent's log:

U02001012 Could not create log file ''. Error code '3', error description: '3 - The system cannot find the path specified. >FileChannel.cpp#sys::FileChannel::open:247<'.

Environment

Release: 12.2, 12.3

Component: AUTOMATION ENGINE

Sub-Component: Agent Windows

Resolution

The issue will be fixed with the following releases in Agent Windows:

Automation.Engine V12.3.3 - available

Automation.Engine V12.2.6 - available