on 03-24-2010 6:33 AM
Hi
I have some doubts regarding this
1) Can we use source file name in Variable Substitution ? And when we use source file name, then do we have to check ASMA always ?
2) If the file name is in the source then will it always appear in the target payload ? When we use file name from the payload, then do we have to check ASMA ?
3) When we use Variable Substitution , do we always have to set the " Disable Security Checks " indicator ?
Radhika
Hi,
1) Can we use source file name in Variable Substitution ? And when we use source file name, then do we have to check ASMA always ?
The varibale substitution is applied on the target payload.
If u want to use the source file name in variable substitution,then,
a.Check ASMA in source CC.
b.Get the file name in a UDF.
c.Put it in some target element.
d.use this element in variable substitution.
Yes u need to check ASMA in sender.
2) If the file name is in the source then will it always appear in the target payload ? When we use file name from the payload, then do we have to check ASMA ?
No, it depends upon mapping u r using. If u map the field containing the source payload directly to target,then yes u will get if not no.
No. If u r using filename from payload(variable substitution), No ASMA is required.
3) When we use Variable Substitution , do we always have to set the " Disable Security Checks " indicator ?
No.
Note: If u want the source file name and target filename same, then, just simply tick the ASMA in both sender and receiver.
If still any doubt, do post,
Babu
Edited by: hlbabu123 on Mar 24, 2010 12:12 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
could you have a look into this blog? Do you really want to use variable substitution? Why not opt for dynamic configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use Dynamic Configuration to get the source file name and while doing variable substitution u can use that filename for the receiver also.
U have to tick ASMA in this case...
For further clarification u can post....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.