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