How to accommodate single byte fields in a fixed length record in FFDictionary

Hi Experts,

I am trying to create a flatfile which is having fixed length records.

I already have the start and end positions/ No. of bytes to be occupied by each field in a record.

There are few fields, which occupy only 1 byte.

So, Field Extrator Type, I used as - Fixed Length, and specified Start and End Positions the same number to accommodate single byte for the field.

However, I am getting an error as " End Value Must be Greater than Start Value".

Then how to accommodate single byte fields in a fixed length records?

Any Suggestion Appreciated.

Regards,
Srinivas

Hi Srinivas,

did you check the FlatFile Schema Developers Guide?

Regards,
Holger

Of course, before posting here I did that.
I referred the document and tried again.

But, I am unable to satisfy this requirement.
Could you please let me know if you have any idea.

Regards,
Srinivas

Attach your expect flat file structure. Let me have a look at it. Giving the sample FF structure will be more helpful to create the FF Dico/Schema.

Hi Srinivas,

According to documentation (below), you begin counting from 0 for the start position and the end position is the first byte that is NOT to be included. Can you recheck your flat file definition as it is easy to get confused with this.

Regards,
Mary

Fixed Position. Counting from zero (0), extracts a fixed number of bytes from a record.
? Start Position. First byte to extract from the record.
? End Position. First byte that is not included in the extraction. If you enter a negative
number (for example, –1), the extractor returns all bytes from the byte specified in
the Start Position to the last byte in the record or composite.
For example:
record = webMethods
Start Position = 1
End Position = 7
Extracted bytes = ebMeth

Hi Srinivas,

As explained by Mary for one character fixed length FF schema start position:N and end position :N+1