Skip to Content
author's profile photo Former Member
Former Member

Getting the Source File name Info into Target Message

Hi all,

I want to get the Source file name Info into Target message of one of the fields.

i followed Michal BLOG /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

Requirement :

1) I am able to get the Target file name as same as the source file name when i check the ASMA in Sender & Receiver Adapter , with out any UDF...............this thing is OK

2) I took One field extra in the target structure Like "FileName" & I mapped it Like

Constant(" " )--


UDF-----FileName

I Checked the Option ASMA in Both Sender & Receiver Adapters

Here iam getting the Target File name as same as Source file name + Source File name Info in the Target Field " FileName".

I Dont want to get the Target File name as same as Source file name. I want like Out.xml as Target file name.

If i de-select the Option ASMA in Adapters means it is showing " null" value in the target field "FileName".

Please Provide the Solution for this

Regards

Bopanna

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 06:11 AM

    Hi All,

    Iam able to do this by checking the Option ASMA in only sender adapter itself

    Regards

    Bopanna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 06:11 AM

    Solved

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.