Skip to Content
0
Apr 24, 2009 at 02:47 PM

File Content Conversion Problem

31 Views

Hello all,

My file straycture is like

H123                                     abcd
I0001    1234         1234                pqrst   qwert      090
I0002    1234         1234                pqrst   qwert      090
H345                                        abcd
I0001    1234         1234                pqrst   qwert      090
I0002    1234         1234                pqrst   qwert      090

While reading the file i check that , for Header (H) line it is not picking the abcd field. I dont understand what is the problem . please help me.

FCC parameters,

FileInput.fieldFixedLengths 1,18,18,18,18,10,40,4,4,2,40

FileInput.endSeparator 'nl'

ignoreRecordsetName true

FileInput.fieldNames ID,code,code1,code2,code3,code4,code5,code6,code7,code8,code9

FileInput.lastFieldsOptional Yes

Edited by: Siddhesh Pathak on Apr 24, 2009 4:48 PM

Edited by: Siddhesh Pathak on Apr 24, 2009 4:48 PM

Edited by: Siddhesh Pathak on Apr 24, 2009 4:49 PM

Edited by: Siddhesh Pathak on Apr 24, 2009 4:49 PM

Edited by: Siddhesh Pathak on Apr 24, 2009 4:49 PM