Unix File Copy Actions when using wildcards are reporting inconsistent results

book

Article ID: 84895

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

When using the Unix file copy action with a * (wildcard) in the source file/path prompt the report generated will look similar to this:

PARAM: Source directory/file name = /data/Automic/release/SHP/3.0.0/* 
... 
INFO: /data/Automic/release/SHP/3.0.0/* is checked for being a dir/file and if it exist 
INFO: ISDIR(0) ISFILE(1) EXIST(1) 
... 
File /data/Automic/release/SHP/3.0.0/* doesn't exist 
file-system-tool: INFO: Return code: 1

In the pre-check results the file is found, ISFILE(1) EXISTS(1).  However, when the action is finally executing the copy, it returns "File /data/Automic/release/SHP/3.0.0/* doesn't exist" and exits with a return code of 1.

 

Cause

Cause type:
Defect
Root Cause: Results for file copy actions using wildcards are inconsistent between pre-checks and execution.

Environment

Release: AOMJDE99000-1.1-Automic-Operations Manager-JD Edwards Agent
Component:

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Package Filesystem 1.2.1 - Available

Additional Information

Workaround :
N/A