on 12-16-2009 7:51 PM
Hi All,
I want to write the receiver file name like test20091216.txt
I tried with Add Timestamp, but it is adding with time also which i dont require.
Here i want to say is iam not using any mapping to use Dynamic file name concept.
Please suggest me on this.
REgards
Hi,
2 options:
1. Use variable substition
2. Use dynamic configuration
regards
sunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its working fine
Thanks Sarvesh for your support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I want to write the receiver file name like test20091216.txt
>
> I tried with Add Timestamp, but it is adding with time also which i dont require.
Hi again,
But don't you think writing a name without timestamp can overwrite an existing file for the same day, so what is harm in adding the timestamp.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sarvesh,
iam not sure about the target FTP Server OS.
i have one thought here, the process is as follows....
ECC will generate a text file to XI Shared path, XI will pick up and deliver it to target FTP server path.
Now this is doing with out any mapping, we can't do Dynamic Config. t=in this case.
So my thought is i can ask ECC while writing the file with file name followed by date. EX: test20091216.txt
so that in XI, can i just use the sender file name to receiver file name???
REgards
I am not very sure but I have red in some thread that if you are not using message mapping then just by creating data type and other required object for java mapping can rename the file. So java mapping can also be one of the solution.
So it seems there are other options available to rename the file.
hmmmm... "More you dig more you find" )
Regads,
Sarvesh
>
> Sarvesh,
>
> iam not sure about the target FTP Server OS.
>
> i have one thought here, the process is as follows....
>
> ECC will generate a text file to XI Shared path, XI will pick up and deliver it to target FTP server path.
>
> Now this is doing with out any mapping, we can't do Dynamic Config. t=in this case.
>
> So my thought is i can ask ECC while writing the file with file name followed by date. EX: test20091216.txt
>
> so that in XI, can i just use the sender file name to receiver file name???
>
> REgards
Yes, if ECC can do this then problem solved. Just use ASMA setting in both sender and receiver adapter to write the same file name at receiver side.
There is ablog written by Michal, just search it..
> I think for this we dont require any Mapping . is it right??]
Yes, it is correct. You don't require any mapping.
> then i can ask ecc side to do that file name generation each time, and i will send the receiver file name as sender file name.
> Ideal solution
Yes that is the best solution for you.
BTW I found the blog, here it is... /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
In this blog an UDF has been used to show the file name in mapping. Since you don't require any mapping therefore don't go for that option. Just look the ASMA settings which will solve the problem...
In Receiver CC you may require to give a file name because it is a mandotary field, so just give some temp name.
Regards,
Sarvesh
> Here i want to say is iam not using any mapping to use Dynamic file name concept.
One solution for this could be writing an adapter module. There could be more options too but I am not sure at this moment..
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
2 options:
1. Use variable substition
2. Use dynamic configuration
regards
sunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.