|
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?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.