|
Did you check to see if there was already a record lock on the file before you ran the program? -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On Behalf Of Mark_McCarty@nexnet.navy.mil Sent: Tuesday, July 16, 2002 9:47 AM To: rpg400-l@midrange.com Subject: chain locking We have a pgm that chains to a file w/ type Update. Under rpgIII it ran with no problems, but with rpgIV it throws an error for a locked record. We have added the (N) to the chain, but I'm wondering if there is a difference in the way chains are performed between rpgIII & IV. MarK A McCarty AS/400 Programmer/Developer Navy Exchange Service Command Thought to ponder - "... never kick a cow chip on a hot day!" Will Rogers ***************************defiant************************************ This email and any files transmitted with it are intended solely for the use of the individual or agency to whom they are addressed. If you have received this email in error please notify the Navy Exchange Service Command e-mail administrator. This footnote also confirms that this email message has been scanned for the presence of computer viruses. messaging_support_team@nexnet.navy.mil ********************************************************************** _______________________________________________ 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.