Hi Michael,
Have you tried doing the STRCMTCTL using the ACTGRP(*JOB) keyword?
Martin
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Schmidt, Mihael
Sent: 20 May 2010 12:35
To: RPG programming on the IBM i / System i
Subject: 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.
Thanx for any help in advance.
Regards
Mihael Schmidt
Anwendungsentwicklung
Dirk Rossmann GmbH
Iserhägener Str.16
30938 Burgwedel
* +49 (05139) 898 - 4353
Handelsregister-Nr. HRB 120546, Amtsgericht Hannover Ust-Id-Nr. DE 115055186 St.-Nr. 16 / 205 / 65401
Geschäftsführer: Dirk Roßmann, Alice Schardt-Roßmann, Roland Frobel, Klaus Praus
--
This is the RPG programming on the IBM i / System i (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.
--------------------------------------------------------
This message (including any attachments) is only for the use of the person(s) for whom it is intended. It may contain Mattel confidential and/or trade secret information. If you are not the intended recipient, you should not copy, distribute or use this information for any purpose, and you should delete this message and inform the sender immediately.
Mattel UK Limited is incorporated in England and Wales with its registered office at Mattel House, Vanwall Business Park, Vanwall Road, Maidenhead, Berkshire SL6 4UB. Company Registration Number 1471442.
As an Amazon Associate we earn from qualifying purchases.