Posted: Fri Feb 04, 2005 6:21 am Post subject: TDS Repeating records HEEEEEEEEELP!
Novice
Joined: 02 Feb 2004 Posts: 23
Hi,
We are using TDS to parse a msg of the following structure -
Control Record \n (space followed by \n)
"field1" "field2"......fieldn" \n (space followed by \n) repeating n times
We are using Data Patterns to define the structure of fields.
We are able to parse the Control structure with one record but get an error on trying to parse a whole set of data records.
The error obtained is "Msg bitstream larger than expected".
The data patterns are -
for the fields - "[^"]*"
for the data record - [^\n]*\n
The Group Terminator for the data record is <CR><LF>.
From the error description, its very clear that the input message being fed is larger than expected by the parser.
From the minimal description you have given about how your input message looks like, what i can guess is that the data record terminator, '\n' in your case, is not being recognised by the parser.
You might need to give a sample input message with exact physical format and also a brief description of how you are trying to handle the data record terminator for further help.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum