I think that you could get it fast more quickly in C but there aren't any facilities in C that you can't use in MI. I always found that writing IO in MI to be a pain. However, I have a suggestion for you: When you execute the IO that pulls in the 128k block from the file, take the address of the beginning of the block from the IO feedback area and just copy the whole thing directly into the user space - in other words, don't bother to read anything into a buffer, just copy it directly from the VMC buffer. Is there something that will copy more than 32k at a time or are you stuck with CPYBLA? If not, you have to make four operations. Richard Jackson mailto:firstname.lastname@example.org http://www.richardjacksonltd.com Voice: 1 (303) 808-8058 Fax: 1 (303) 663-4325 -|-----Original Message----- -|From: email@example.com [mailto:firstname.lastname@example.org]On -|Behalf Of Leif Svalgaard -|Sent: Saturday, October 07, 2000 2:52 PM -|To: MI400@midrange.com -|Subject: Re: buffering -| -| -|Thanks, Richard. -|As always you come through with good stuff. -| -|Language: why, MI, of course. :-) -| -|> -|> Are you using Dick's new sort APIs? -| -|No, a search for "Dick's new sort API" on IBM's sites -|did not turn up anything. -| -| -| -| -|+--- -|| This is the MI Programmers Mailing List! -|| To submit a new message, send your mail to MI400@midrange.com. -|| To subscribe to this list send email to MI400-SUB@midrange.com. -|| To unsubscribe from this list send email to MI400-UNSUB@midrange.com. -|| Questions should be directed to the list owner/operator: -|email@example.com -|+--- +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.