Just as a test, can you read the file using the following record schema?
record
{final_delim=end, delim=none}
(
RecNum:string[18];
RecLength:string[max=3];
Other:string[max=50];
)
Read sequential variable length file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How strange. Can you please try using Char instead of VarChar for the length?
record
{final_delim=end, delim=none}
(
RecNum:string[18];
RecLength:string[3];
Other:string[max=50];
)
record
{final_delim=end, delim=none}
(
RecNum:string[18];
RecLength:string[3];
Other:string[max=50];
)
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: