|
Hello sages
a programmer has just approached me with a perplexing OVRDBF issue:
Somewhere in a start of a CL PGM he issued an OVRDBF with FILE(XFILE)
MBR(XMBR)
then some 100 lines down he issued a CPYF with TOFILE(XFILE) TOMBR(YMBR)
and the XMBR MBR was populated!
Turns out that OVRDBF's MBR takes precedence over CPYF's TOMBR.
Searching the web I found that OVRDBF's MBR even takes precedence over
RPG's File specs EXTMBR.
https://www.mcpressonline.com/programming/rpg/dont-mix-override-metaphors
Is that so?
If yes, then this old dog has learned a new very old trick.
What say ya ?
Gad
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
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.