|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] I'm stuck again..... 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 > -----Original Message----- > From: Buck Calabro [SMTP:Buck.Calabro@commsoft.net] > Sent: Thursday, May 16, 2002 6:57 AM > To: midrange-l@midrange.com > Subject: RE: ICF bug > > Tim, > Generally speaking, I have the 'receive' record placed physically first in > the DDS like so: > > A INDARA > A RCVDETACH(35 'RCVD DETACH') > A RCVENDGRP(40 'RCVD ENDGRP') > A**63 DETACH > A R RCVDTA > A RCVREC 80 > A R BOAREC > A DATARC 80 > A R DETACH DETACH > > Then don't try to READ against the record format, instead, read against > the > file. This will allow the timeout to kick in. But I'm not at all certain > that this is your issue. Are you certain that the far side is actually > sending the data at the time you expect it? What is the major/minor when > you do the read? > --buck > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review; use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
As an Amazon Associate we earn from qualifying purchases.
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.