× 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.



The CHAIN is probably failing because the write was buffered.

You can either try a FEOD (force end of data) after the WRITE to force the
record to disk or change the file's force-write ratio to something smaller
(like 1).  Either use CHGPF FRCRATIO(1) or OVRDBF  FRCRATIO(1)


Keith




----- Original Message ----- 
From: "donald" <donald@xxxxxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, August 12, 2004 5:12 AM
Subject: chain problem


> Dear all, I have two jobs using the same physical file, one job is used to
send request (write to the physical file) and the other job is for receiving
data queue and then updating the physical file. when i try to chain a key
list to the file sometimes it updates correctly and sometimes it doesn't
even though the keys are correct. I debugged the sending jobs, hold it after
it's sent and write to the physical file, then I also debug the receiving
job, and the receiving job would chain succesfully and update the physical
file correctly. Could anybody please help me with this problem. Thanks
Donald
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.