Re: _Rwrite and _RIOFB_T->dup_key
Alexei Baranov <alexei.baranov-yC4SI/6e/[email protected]> Fri, 13 Dec 2024 16:38:09 +0300
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <[email protected]> |
Chris, bytes_written==0 points to a symptom - unable to write record to file, but I need to know the cause. exception_handler for _C2_MH_NOTIFY CPF5034 explain the reason - duplicate key. Thank you for point to CHGMSG to remove message from the job log -------- Original Message -------- Subject : [C400-L] _Rwrite and _RIOFB_T->dup_key From : Chris Hird chrish-lbwoW8fqX/[email protected] To : "Bare Metal Programming IBM i (AS/400 and iSeries)" <[email protected]> Cc : Date : Friday, December 13, 2024 16:30 Just check fp->bytes_written against what you expected to be written. Then use the CHGMSG API to remove from the job log? Chris Get Outlook for iOS<https://aka.ms/o0ukef> -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/c400-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/c400-l.