Hi, Jon:

Why is this idea being presented as only an RPG IV enhancement?
I think it would be far better to provide this capability in the "base" OS, namely, via a mechanism such as the "override" commands, so that you could do something like this:

OVRDBF FILE(MYFILE) PGM(MYLIB/MYPGM)

This would then tell the system to call the named program for all file-related activity for this file (open, read, write, close, etc.). Of course, a suitable parameter list structure would need to be defined for such an "exit" program, but conceptually this should be able to work similar to triggers. This would work in a manner similar to RPG's SPECIAL files, but would work for all opcodes, including EXFMT.

I think this facility should be supported on all of the OVRxxx commands (OVRDBF, OVRDSPF, OVRPRTF, etc.) -- so that it would be possible to "redirect" any existing file to another device (or the web).

This kind of approach would enable such an enhancement to work with any supported language or compiler.

What do you all think?

Thanks,

Mark S. Waterbury

> Jon Paris wrote:
Might I suggest we more this to the RPG400 list where the RPG developers are more likely to see it.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.