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



Glen,
Check this article http://www.itjungle.com/mpo/mpo031303-story02.html
Especially the section "Some Rules for Using Referential Integrity
Constraints"

Robert A. Rogerson

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Glenn Gundermann
Sent: January 3, 2008 9:09 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: CPF4328 Member CACUB3CUP not journaled to journal *N.

Hi everyone,

This is crazy. I've had this error before and I fixed it at the time.
Now I can't remember what I did. I've searched the archives and found
nothing relevant. Same for Google. So I'm hoping someone here can help.

This is in regards to an RPGLE program and I do not have any imbedded SQL.

I have two tables, created using RUNSQLSTM ...etc.
CACUB3CUP - customers
CACUB3EMP - employees of the customers

They are not journalled, nor will they be in the future.

EMP has a foreign key constraint to the parent file CUP, based on the
customer code. Do I have to remove this constraint?

I have an RPGLE program that maintains these two files, hence it opens
them for update. Or at least it tries. I get the following error
message:

CPF4328

Message . . . . : Member CACUB3CUP not journaled to journal *N.

Cause . . . . . : Member CACUB3CUP file CACUB3CUP in library CAGLENN is
not journaled to journal *N in library *N for commitment definition
QDBCMTDFN. The journal specified is used by commitment definition
QDBCMTDFN. If *N is specified for the journal, the file is not journaled.
If the file is a logical file, all based-on physical files may not be
journaled to the same journal as required by commitment control.

Recovery . . . : Ensure the file being opened is journaled. For logical
files, make sure that the based-on physical files are journaled to the
same journal.

Technical description . . . . . . . . : The commitment definition
identifier is X'1001010000000005B505'.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.