×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Yes, and it is no more difficult to do that than attempting to do that with
Externally Described Files on the F specs. Plus you get the added bonus of
the file cursor following the handle between modules. You have to do shared
opens and so on for that to happen with F specs.

-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Steve Richter
Sent: Thursday, March 24, 2005 12:04 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: FW: IBM's RPG Strategy (was: Long Procedure Names)

On Thu, 24 Mar 2005 09:54:36 -0800, Tony Carolla <carolla@xxxxxxxxx> wrote:
> 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.

the big advantage for me is that it is modular and procedure friendly.
 I can open a file in a procedure in one module, use it in another
module, then close it in a 3rd. What controls the show are the
parameters passed from one procedure to the next.  Which is what
modular programming is all about.

-Steve
-- 
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.





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-2026 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.