|
Interesting. I wonder what the payback for using this instead of F-specs is. I guess, as Bob said, you don't have to know the filename at compile time, until you actually open the file. I can do this with an EXTFILE variable though. Of course, the file that is named by an EXTFILE variable has to match the format of the one used at compile time. But no matter what, unless we are talking about XML, or some other 'internally described' file type, you still have to know what format the data is in at compile time. Is there a performance boost? Can you control how many records are read in each disk I/O request? This would be useful in programs that do alot of I/O, but even for that, an override command is still easier. On Thu, 24 Mar 2005 12:34:03 -0500, Wilt, Charles <CWilt@xxxxxxxxxxxx> wrote: > Take a look at the C runtime library functions > _Rread... > _Rwrite... > > C prototypes are in recio.h > > HTH, > > Charles Wilt > iSeries Systems Administrator / Developer > Mitsubishi Electric Automotive America > ph: 513-573-4343 > fax: 513-398-1121 > > > > -----Original Message----- > > From: rpg400-l-bounces@xxxxxxxxxxxx > > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Tony Carolla > > Sent: Thursday, March 24, 2005 12:31 PM > > To: RPG programming on the AS400 / iSeries > > Subject: Re: FW: IBM's RPG Strategy (was: Long Procedure Names) > > > > > > <snip> > > > I dont use F > > > specs anymore, I use the recio function calls instead. So there are > > > plenty of features that can be left behind. > > </snip> > > > > One can use a 'recio' function rather than declare files? This is > > interesting! I searched the API list, and I don't see any reference > > to 'recio'. Where might I find info on this? > > > > > > -- > > "Enter any 11-digit prime number to continue..." > > -- > > This is the RPG programming on the AS400 / iSeries (RPG400-L) > > mailing list > > To post a message email: RPG400-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > > or email: RPG400-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/rpg400-l. > > > > > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > -- "Enter any 11-digit prime number to continue..."
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.