Unable to dynamically assign Host and Dest values within RA FTP agent as "Local File System"
search cancel

Unable to dynamically assign Host and Dest values within RA FTP agent as "Local File System"

book

Article ID: 88016

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
U0052002 Object '' with type 'CONN' does not exist in client XXXX

On the "Ftp" tab of a new FTP Job the default value for "Host A" is "Local File System". This value is selectable from the dropdown list of both "Host A" and "Host B" fields. These fields can contain either "Local File System" or a Connection object for the system which you would like to use the FTP job with.

Expected Behavior:
  • You can populate the "Host A" and/or "Host B" fields with a variable to allow dynamic population of the field
  • If you are using a variable and would like to populate either field with "Local File System", you would use the below Script in the Pre-Process tab to update the fields
! If you intend to populate HostA with "Local File System" dynamically, you will need to update "targetHostSource" to "" and "prompt_0_fromConnection" to "Local File System".
 
Example
: IF &VARIABLENAME# == "Local File System"
: PUT_ATT targetHostSource = "" 
: PUT_ATT prompt_0_fromConnection = "&VARIABLENAME#"

! If you intend to populate HostB with "Local File System" dynamically, you will need to update "targetHostDest" to "" and "prompt_0_toConnection" to "Local File System".

Example
: IF &VARIABLENAME# == "Local File System"
: PUT_ATT targetHostDest = "" 
: PUT_ATT prompt_0_toConnection = "&VARIABLENAME#"

Observed Behavior:
  • If you are using a variable and attempt to populate the variable with "Local File System" using the method above, the Job will produce the following error:
U0052002 Object '' with type 'CONN' does not exist in client XXXX

Environment

OS Version: N/A

Cause

Cause type:
Defect
Root Cause: N/A

Resolution

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

Fix Status: Released

Fix Version(s):
Component(s): AE Server and Initialdata

Automation Engine 11.2.0 - Available

Additional Information

Workaround :
Create an FTP job with "Local File System" as the populated value for both host and destination connections in the ftp tab. Then change the value using script when it is necessary to use a specific CONN for a different system.