Problem solve Get help with specific problems with your technologies, process and projects.

Physical files

We have an RPG OPM program that writes a record to a physical file which is under commitment control. There is a trigger on that file that calls an ILE RPG program, which writes a record to a separate physical file. In the OPM program a ROLBK is issued that removes the initial file. Is there a way using commitment control that we can ensure that the file written in the ILE program will be removed as well?

By using commitment control there is no way I can find to do this. The problem is that the OPM program and the ILE program use two different activation groups. This forces each record access under different commitment schemes. I have spoken with other experts, IBM, and very senior people and no one has pulled this off.

As I'm sure you are aware, you can record the writes of the ILE program and if ROLBK is needed, you can remove those records.

Thanks for a great question; it provided me with some good discussion with people I have not talked with in awhile.


This was last published in March 2001

Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.



  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...