cancel
Showing results for 
Search instead for 
Did you mean: 

File Content Conversion Problme

sridhar_k2
Active Contributor
0 Kudos

Hi All,

I am new to XI. I have a problem in Generating File OutPut.

<b>Data Type</b> is like this.

MainNode 0…n

Attr1 0..1

elemen 1

element 2

Attr2 1..1

FileName 1..1

Data is coming fine. As per the requirement I am eliminating the File Name like this.

In Configuration I am doing like this

<b>File Name Truncate</b>

Attrib2.fieldFixedLengths - 0

Attrib2.fixedLengthTooShortHandling – Cut

But the problem is One Empty line is coming in the place of File Name in the generated file.

Does any one have any idea, how to go ahead with this.

Regards,

Sridhar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Take a look at this blog. Might help your case.

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

Regards,

Vikram

Former Member
0 Kudos

Hi,

The only way to avoid it is to write module program and modify your XML.

CUT creates an empty line.

Regards

Vijaya

sridhar_k2
Active Contributor
0 Kudos

Thank you All, is there any other way to cut the file name without using "Attrib9.fixedLengthTooShortHandling - Cut".

If not, if you could send me any information on how to write module program that would be great.

Regards,

Sridhar

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

note that the blank line will be created when u use the CUT parameter !!! it is not an error