Skip to Content
0
Former Member
Mar 10, 2009 at 05:49 AM

Issue with File Content Conversion

8 Views

Hi Experts,

I have a flat file to read. I want to read one record per field. each record is 10 char long. Certain records are padded with spaces at end.

The issue is, content conversion routine is unable to capture the trailer spaces.

The Content Conversion Parameters are set as follows:

record.fieldFixedLength = 10

record.fieldContentFormatting = nothing

example of data coming in file

VOL456####

HDR4######

Consider # as spaces/blanks.

I also tried using record.missingLastFields =error. but using this results in raising an error message instead of reading blanks.

Thanks,

Girish