×

Good News Everybody!

A new search engine is coming soon.

As a stop gap measure, we are using Google's custom search engine service.




Is the program using commitment control? If so, you have to journal all of the files that are being updated.

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Glenn Gundermann
Sent: Thursday, January 03, 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'.
--
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-2026 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.