cancel
Showing results for 
Search instead for 
Did you mean: 

Error in File content conversion in the target

Former Member
0 Kudos

hi

I'm doing a content conversion at target.

my target structure while sending is like:

<MT>

<Header>

<a>

</Header>

<BODY>

<b>

</BODY>

<filename_output>

<filename>

</MT>

however in the target i have to ignore the last 2 fields: <filename_output> and <filename>.

I'm able to do it.

The problem is coming that in the target structure,when we open in Textpad, 2 trailing empty lines are there at the end.

we need to remove these lines.

Any idea how to do it?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alok,

Try with parameters given in this blog:

/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12

If didnot work try: FileName.endSeperator = '0' as given in this thread:

else give .endSeparator as two backspaces (if you have two new lines). The ascii code is '0xBS'. see this code:

http://www.december.com/html/spec/ascii.html

---Satish

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

i guess you have those fields for variable substitution.

my suggestion is to remove those fields and use dynamic configuration so that you wouldnt have issues of those empty lines

/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name