on 11-12-2008 11:25 AM
Hi
We have an input as follows:-
US16USAJ05061UC010007042Theel,Jerald G
US16USDN05061UC010007042Theel,Jerald G
US16USB405061UC010007042Theel,Jerald G
US16USAJ05061UC010007042Theel,Jerald G
Based on the field starting from 5th to 8 th character, how can we dynamically name files in the output folder based on an input field?
We are using FCC in sender and receiver.
Thanks in advance
Hi,
Use the blog given by Prateek, it is the best way to do dynamic configuration for file name. You can do a liitle bit of massaging in that UDF as per your requirement of File name like substring the values you want coming into your udf as input.
regards
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Little correction you dont need to write the UDF as the input is coming in a
Source field just pass that sourcefield with the standard substring function with value 5,3
And In you Receiver CC enable the Variable substitution put the value for variable as payload: your field. and write the variable %var1%.xml in place of file name.
Thanks!
Edited by: sudhir tiwari on Nov 12, 2008 12:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.