how to read a sequential file with out delimiters.
how to read a sequential file with out delimiters.
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 15
- Joined: Sun Feb 22, 2009 3:31 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
That's not a problem. Do you mean field delimiters or record delimiters?
If the sequential file has no record delimiter it contains at most one line, so that's not a problem.
If the data structure lacks field delimiters then either there is only one field or the fields are identified by their length - that is, you have a fixed-width format file, and should use appropriate Format metadata.
If the sequential file has no record delimiter it contains at most one line, so that's not a problem.
If the data structure lacks field delimiters then either there is only one field or the fields are identified by their length - that is, you have a fixed-width format file, and should use appropriate Format metadata.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 15
- Joined: Sun Feb 22, 2009 3:31 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If there are no delimiters, how do you know there are rows and columns?
Do you have any description of the file's alleged format?
Are there separate lines in the file? If so could you post just a few of them?
Do you have any description of the file's alleged format?
Are there separate lines in the file? If so could you post just a few of them?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.