×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
This is not one of files we have with triggers. This is the boss's code and
neither he nor I saw that there is no exit from the DO loop if there is a
valid write. He added a LEAVE command and all is good.
Jim
On Feb 3, 2010 7:14 AM, <rob@xxxxxxxxx> wrote:
Well, the chances are slim to none that this is the issue but is there a
possibility that you have a trigger program that also writes the record to
another file with a dup key?
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Jim Essinger <dilbernator@xxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Date: 02/02/2010 06:48 PM
Subject: Re: Code is writing to file even when a duplicate record
error is returned
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Alan,
V5R4. We just can't figure why the system is throwing a duplicate key
error, especially w...
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email...
As an Amazon Associate we earn from qualifying purchases.