|
On Thu, 6 Feb 2003 fkany@averittexpress.com wrote: > > If an RPG III pgm is not recompiled after FILE_A has been recompiled, will > the program bomb when called? The program only does > WRITE operations to FILE_A. There are a number of factors that affect this: 1) Is the file externally described in the programs in question? or are they program-described. Program described files do not get level-check errors, as long as the keys haven't changed. 2) Is the file created with LVLCHK(*YES) on the CRTPF/CRTLF/OVRDBF command? (It is *YES by default) If this is set to LVLCHK(*NO) then the system will not check to see if the record format has been changed. 3) If externally described, and LVLCHK(*YES) did you change anything that would change the record length? or change the length/type/name of any field? or change the keys? If you changed any of these things, then the "record level identifier" will be different, and the program will see that and generate a "level check" error. > > I recompiled a file but forgot to recompile 2 RPG III programs that WRITE > to it. The programs that weren't recompiled still run, but it appears > no records are being WRITTEN to the file. > That's strange. They're not crashing, but just refusing to write the records? Is it possible that they're seeing a different copy of the file? Maybe in a different library?
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.