on 09-09-2009 3:22 PM
Hello,
I know that it is possible to determine file names dynamically using dynamic attributes.
However can I combine a dynamic attribute and fixed option in the communication channel?
Example:
I want to use a field of the message to be used as first part of the filename and then add a timestamp using the timestamp function in file cc.
What is the easiest way to set the dynamic attribute for a filename in message mapping? Do I have to use an UDF that set the dynamic configuration header?
Hi Florian,
I recommend you to read this to know more about it:
´´´´ Dynamic Configuration vs Variable Substitution - The Ultimate Battle for the File Name
/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
regards,
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
I want to use a field of the message to be used as first part of the filename and then add a timestamp using the timestamp function in file cc.
What is the easiest way to set the dynamic attribute for a filename in message mapping?
--> Use Variable substitution !!
Do I have to use an UDF that set the dynamic configuration header?
---> Not required...
Directly go for variable substitution and at receiver file adapter use time stamping.
Regards,
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 build and UDF or active in sender and receiver channel.
Sender
Go to >>Parameters >>Advance>>Adapter Specific Message Atribute> Choose Set Adapter Specific Message and File Name
Receiver
Go to >>Parameters >>Advance>>Adapter Specific Message Atribute> Use Adapter Specific Message and File if Adapter Specific Message Atribute and File Name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you can acheive through the udf .Use your message and concatenate with your Timestamp with in the udf to genarate file Name Dynamically by setting up the advanced adpter setting checked along with file name.
Hope this helps.
Thanks,
Madhu
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 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.