Got it.

The fopen/fgetc/fputc combination and it works fine now. In addition, it is quick!



----- Original Message -----

From: tegger@xxxxxxxxxxx
To: "rpg400-l" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, January 14, 2016 1:57:37 PM
Subject: Re: RPG prototype for C-language FILE *

I was using two commands. One to copy the IFS-based file to a flat file and then copy it back to a different location.

They were too slow and caused too much lag.

In the process I'm working in, the response has to be quick to capture the data necessary to meet archiving requirements.



----- Original Message -----

From: "John Yeung" <gallium.arsenide@xxxxxxxxx>
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, January 14, 2016 1:41:12 PM
Subject: Re: RPG prototype for C-language FILE *

On Thu, Jan 14, 2016 at 1:34 PM, <tegger@xxxxxxxxxxx> wrote:
The read/write operation was inconsistent. In some passes the PDFs were fine, in others it was screwed up.

I suppose by "read/write operation" you mean the one you wrote which
involves wrapping open() with RPG?

So now there's a third story, which is that sometimes is messes up the
PDFs and sometimes not? Nice.

What I'm REALLY interested in is the commands. You said there were
multiple CL commands, which were "way too slow". Which commands?

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.