Questions tagged [fixed-length-file]
22 questions
0
votes
2 answers
C# - Read, Edit & Save FixedLength file
I need to read FixedLenght file, edit some data inside of it and then save that file to some location. This little app which should do all this should be run every 2 hours.
This is the example of the file:
14000 US A111 78900
14000 US A222 …

sosNiLa
- 289
- 6
- 18
0
votes
0 answers
Is there a way to read fixed length files using csv.reader() module in Python 2.x
I have a fixed length file like:
0001ABC,DEF1234
The file definition is:
id[1:4]
name[5:11]
phone[12:15]
I need to load this data into a table. I tried to use CSV module and defined the fixed lengths of each field. It is working fine except for the…

Sourav Gupta
- 227
- 5
- 17
0
votes
0 answers
write multi layout in fixed length flat file using spring batch
The requirement is to fetch the data(pls refer below for sample data in file) from database and create fixed length flat file using Spring Batch. The specification for this file is there will be multiple records with the same alignment like…

Ishaan
- 21
- 1
- 5
0
votes
2 answers
One record on multiple lines, only first with RID
I'm brand new on using BeanIO 2.1 and I'm again facing an issue.
I'm trying to decode a fixed-length file, which has some records spread on several lines, where the 'rid' is only marked on the first of these…

Fabiz
- 43
- 2
- 8
0
votes
1 answer
Multiple length="unbounded" in fixed length file
I'm experiencing a little issue and I'm asking for your help!
Using BeanIO 2.1 and working on a fixed-length file, I'm currently trying to retrieve a record that is structured like this :28C:5n/5n
':28C:' : fix
5 numbers (maximum)
'/' : fix
5…

Fabiz
- 43
- 2
- 8
0
votes
1 answer
Filehelpers: parse fixed length file with different length of lines in
I've to parse a fixed length file containing multiple line but with different length.
Actually each line represent a different kind of object that would be insert in the database.
The file can be like…

fisdelom
- 39
- 3
- 11
-2
votes
1 answer
Possible to write Regex for fixed width file?
I have been receiving fixed width file in which I need to filter out some of the values.
Ex, String contains value mentioned below. I want to separate out 3 fields from it (from 1st to 2nd, 3rd to 7th and 8th to 10th)
Input value --> …

Ankit
- 157
- 1
- 3
- 18