|
When the program is compiled over a file with LVLCHK(*YES) specified,
the program incorporates a copy of the Record Format Level ID for
each record format in the file. Then, when the file is opened, a
setting in the UFCB (User File Control Block) controls whether the
data management open routine checks to verify that the record format
level IDs in the program match those in the current file to be
opened... if not, the data management open routine sends CPF4131 as
an *ESCAPE message to the caller (your program), generating an
exception. If you issue OVRDBF ... LVLCHK(*NO) prior to opening the
file, or the program was compiled for a file with LVLCHK(*NO)
specified, then this check is not performed, so you will not get this
exception issued by the data management open routine.
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.