×
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.
I tried ending the activation group...
<quote>
Then I tried reclaiming the activation group before ending commitment
control. But that results in the error message : CPF1654 Activation group
xxx cannot be deleted.
</quote>
... not ending commitment control: That is my last resort (because I don't know any other way).
Thanx
Mihael
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Birgitta Hauser
Sent: Thursday, May 20, 2010 2:21 PM
To: 'RPG programming on the IBM i / System i'
Subject: AW: How to end commitment control with files open
Can you end the activation group before ending commitment control.
BTW I'd NEVER end commitment control within a job. If you set all commits
correctly you do not have to end commitment control (and restart it for the
next call).
Commitment control will automatically ended as soon as the job ends. If the
job ends normally a final commit is set if it ends abnormally a rollback
will be executed.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von Schmidt, Mihael
Gesendet: Thursday, 20. May 2010 13:35
An: RPG programming on the IBM i / System i
Betreff: How to end commitment control with files open
Hi,
I got some programs which process some data. The controlling program is
running the default activation group and the processing ones are running in
a named activation group. Processing is done under commitment control.
Now if I end commitment control from the controlling program with the
command ENDCMTCTL I get the error message : CPF8355 ENDCMTCTL not allowed.
Pending changes active.
Then I tried reclaiming the activation group before ending commitment
control. But that results in the error message : CPF1654 Activation group
xxx cannot be deleted.
If I look at the commit status on record level there are 3000 commits but
none pending.
What am I doing wrong?
The programs processing the data under CC all return with *INRL = *OFF for
performance reasons.
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.