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




Additional Message Information



Message ID . . . . . . : CPF4326 Severity . . . . . . . : 50

Message type . . . . . : Escape

Date sent . . . . . . : 02/03/23 Time sent . . . . . . :
11:03:49


Message . . . . : Commitment definition *N not valid for open of OP100M8.

Cause . . . . . : Commitment definition *N is not valid for open of
member
OP100M8 file OP100M8 in library DPPDATA for one of the following reasons:

-- Member OP100M8 was opened for commitment control when commitment

definition *N was not active.

-- Uncommitted changes are pending for member OP100M8 for a commitment

definition other than *N.

-- The calling program is using commitment definition *N which has a
scope
of *ACTGRP, while the program specified to open the file using a scope of

*JOB.

Recovery . . . : Do one of the following and try your request again.

-- For the first case, use the STRCMTCTL command to start commitment

definition *N.

-- For the second case, either commit the changes (COMMIT command) or

rollback the changes (ROLLBACK command).

-- For the third case, do one of the following: 1) Scope the open of
the
file to the same activation group as commitment definition *N. If you
are
using either OPNDBF or OPNQRYF to open the file, specify either

OPNSCOPE(*ACTGRP) OR OPNSCOPE(*ACTGRPDFN). If you are using a language

other than CL to open the file, look at the language manual to find the

mechanism for changing the open scope of the file from *JOB to *ACTGRP.
Then
compile the program again. 2) Change both the CMTSCOPE parameter on the

STRCMTCTL command and the ACTPGM parameter on the CRTPGM command so that
the
scope is the same for all steps of the job. Then compile the program
again.
-- For any of the cases, change the program to use COMMIT(*NO), and

compile the program again.

Technical description . . . . . . . . : The commitment definition
identifier
is X'40404040404040404040'.





Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
stefan@xxxxxxxxxx
Sent: Friday, February 3, 2023 11:03 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: CPF4326 error - Commitment definition *n not valid for open of
File_name.

Please provide second level text for cpf4326 when the error occurs.

--
No trees were killed in the sending of this message, but a large number of
electrons were terribly upset.

Stefan Tageson
+46 732 369934
stefan@xxxxxxxxxx

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
dfreinkel@xxxxxxxxxxxxxxxxx
Sent: Friday, February 3, 2023 5:05 PM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: CPF4326 error - Commitment definition *n not valid for open of
File_name.

I have created a problem for myself that I cannot figure out the cause of
CPF4326.




--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.