× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try this in your DDS for variable length
R SEND                       VARLEN(&VLEN)
                             INVITE
  VSEND       1024A
  VLEN           5S  P


-----Original Message-----
From: Hatzenbeler, Tim [mailto:thatzenbeler@clinitech.net]
Sent: Thursday, May 16, 2002 3:00 PM
To: 'midrange-l@midrange.com'
Subject: ICF dynamic read problem was: bug

The bank told me, that if I send all my 80 character detail lines to them,
after they get the trailor record, they will send me back an 80 character
confirmation line back...

But thats not actually true... When I look at the ICF trace the back in
sending me back 1077 bytes....  All the the confimation lines from all my
testing...  So I'm trying to figure out how to read this variable number of
lines...

If my record length in my dds is set to 80, it says my buffer isn't big
enough...  So if I set the buffer to 5000 bytes, the read will time out,
because it didn't get the othe 4000 bytes...

So I'm stuck...  I would like to read 80 characters, and then check, to see
if there is another 80 to recieve, and then read those... and when there are
no more bytes left to read... Quit...

How would I do that?

Thanks, tim


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.