|
Richard, Create both files with the same format name, then when you override the program with the other you will not get the LVLCHK (unless they are different format designs). If you need both files in the same program then just use RPGIV to rename the record format of one. Thank you, Matt Tyler Mattt@wincofoods.com -----Original Message----- From: Richard B Baird [mailto:rbaird@esourceconsulting.com] Sent: Thursday, September 12, 2002 14:32 To: rpg400-l@midrange.com Subject: LVLCHK(*NO) and record format names i've written an RPG program designed to update or the other of two files. These files look exactly alike, except that they have different file and record format names. When updating the second file, I run an OVRDBF FILE(SLSTRN) TOFILE(SLSTRNX) LVLCHK(*NO). but when I run the program, I get an error when I write to the file. Record format SLSTRN not in member SLSTRNX. I thought LVLCHK(*no) would take care of that and the program would ignore differences in the record format names... What are my options? define both files and change the logic to write/update one or the other? thanks Rick _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.