1. Details
a. Protocol = fileset-ftp
b. This is an outbound thread that is transferring files to a directory on another server
c. I want to take the value in the PID-3 field and use it to name each file.
2. Problem
a. I cannot get the name that I am assigning to the FILESET.OBFILE to use my variable name unless I explicitly assign it in the code.
3. Example of a failure
a. Here is the code
i. _
b. Here is what is transferred to the directory
i. Notice that only the value in variable $ext is sent.
c. When I echo the value in the $mrn variable I get a value so I know it is not blank.
4. Example of a success using an explicit value of 999999 for the variable $mrn
a. Here is the code
i. _
b. Here is what is transferred to the directory
i. _
5. Any help would be greatly appreciated.